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