Sometimes, we need to replace a slave node with new hardware. For example, the slave node is not stable, more storage space or more powerful CPUs are desired, and so on. In this recipe, we will outline the steps to replace a slave node.
We assume that replacement hardware is ready for use. And for illustration purposes, we suppose
slave2 needs to be replaced in this book.
Perform the following steps to replace a slave node: