What are the recommended settings for migrations to complete quickly?

Hi,

I am going to bring my cluster down for maintenance and during that time it will not be receiving any prod traffic. During that maintenance I want to get migrations to complete as soon as possible with the highest possible priority (since there will be no other traffic). I’ve noticed that even when the cluster is not used for anything else migrations don’t utilize 100% of the resources – what are the recommended settings for having migrations complete as soon as possible. I’m aware of the general levers described here - http://www.aerospike.com/docs/operations/tune/migration/ but it discusses only the live prod situation.

I am thinking something like this (for a 8 core box):

asmonitor -e 'asinfo -v "set-config:context=service;migrate-threads=8"'
asmonitor -e 'asinfo -v "set-config:context=service;migrate-xmit-priority=0"'
asmonitor -e 'asinfo -v "set-config:context=service;migrate-read-priority=0"'
asmonitor -e 'asinfo -v "set-config:context=service;migrate-xmit-hwm=150"'
asmonitor -e 'asinfo -v "set-config:context=service;migrate-xmit-lwm=100"'

Thanks!

That sounds like a reasonable configuration to achieve your intentions.

Can you describe the maintenance you are planning during?

Just bouncing the full cluster after it was not able to re-sync back so wanted to give it a chance to finish migrations before switching traffic back to it.

Thanks!

Ah just read your other post. Given the situation, try a rolling restart of the cluster.

Take one node down and bring it back up

wait for asinfo -v STATUS to return OK

Repeat on the next node.