8.14.3. Performing Maintenance on an Entire Dataservice

To perform maintenance on all of the machines within a replicator
service, a rolling sequence of maintenance must be performed carefully
on each machine in a structured way. In brief, the sequence is as
follows

Perform maintenance on each of the current slaves

Switch the master to one of the already maintained slaves

Perform maintenance on the old master (now in slave state)

Switch the old master back to be the master again

A more detailed sequence of steps, including the status of each
datasource in the dataservice, and the commands to be performed, is
shown in the table below. The table assumes a three-node dataservice
(one master, two slaves), but the same principles can be applied to any
master/slave dataservice: