Suspending companion mode

If you must shut down the primary companion for maintenance but do not want to fail over to the secondary companion, you must temporarily suspend companion mode. When the companion mode is suspended, synchronization between companions does not occur, and the primary companion cannot fail over to the secondary companion. However, suspended mode is useful for performing such maintenance tasks as changing configuration parameters.

  1. To move to suspended mode, issue:

    sp_companion <primary_server_name>, suspend
    
  2. Kill the monitoring process so it does not trigger a fail over when the companion server goes down. As “root”, enter:

    ps -ef|grep "RUNHA_<servername>.sh monitor" 
    kill -9 <pid>
    
  3. Shut down the primary companion.

After killing the monitoring process, you can bring the companion server down as many times as necessary and it does not fail over.