When performing database or operating system maintenance, datasources
should be temporarily disabled by placing them into the
OFFLINE state. For maintenance
operations on a master, the current master should be switched, the
required maintenance steps performed, and then the master switched back.
Detailed steps are provided below for different scenarios.