Dropping companion mode

To drop companion mode, issue:

sp_companion companion_name, "drop"

Dropping companion mode is irreversible; to reestablish failover, you must reconfigure the Adaptive Server companion servers. However, the nodes upon which the Adaptive Servers are running are still monitored by the high availability system.

If you drop companion mode while the monitor script is running, the script continues to monitor the server. If you plan to shut down the server and do not want the node to fail over, kill the monitor process by issuing:

/usr/sbin/cmhaltsrv service_name

Alternatively, you can halt the package, reactivate the volume group, and then restart the companion only.

If you do not kill the monitor process and it detects that the companion has stopped responding, it triggers a failover to the secondary node. It restarts the primary companion on the secondary node, depending on your settings for BASIC_FAILOVER.