Question

We are running on Azure VM wherein you can not expand the attached disk while the VM is running. So we need to stop the VM first before doing anything on the disk size/performance.

We just have 1 slave server for this replication.

I've read some procedures online in doing this, please confirm if this is appropriate.

On Slave Server

STOP SLAVE;

On Master Server

sudo service mysql stop

Once stopped, update the VM settings (expand disk). Then start the VM.

On Slave Server

START SLAVE;
Was it helpful?

Solution

You don't need to stop the slave. It will continue once the master restarts. It tries every 60 second or so to connect.

Only stopping the master service/vm is needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top