16.4.3 ovstart and ovstop commands used on NNMi management servers configured for application failover
When you use the ovstop and ovstart commands on NNMi management servers configured for application failover, NNMi actually runs the commands listed below. These commands terminate immediately without waiting for completion of the NNMi startup or termination.
-
ovstop: nnmcluster -disable -shutdown
- Reference note
-
-
When you run the ovstop command, NNMi does not fail over to the standby server. The ovstop command is designed to support temporary stoppage for maintenance. To manually initiate a failover, use the -failover option with the ovstop command. For details, see the ovstop Reference Page.
-
Note that when you run the ovstop command, automatic failover becomes disabled because the -disable option of nnmcluster is specified. To check whether failover is enabled, run nnmcluster -display to check the Automatic failover column. To enable failover, run nnmcluster -enable.
-
The following options to the ovstop command apply to NNMi management servers configured in an application failover cluster:
-
ovstop -failover: This command stops the local daemon-mode cluster process and forces a failover to the standby NNMi management server. If the failover mode was previously disabled, it is re-enabled. This command is equivalent to nnmcluster -enable -shutdown
-
ovstop -nofailover: This command disables the failover mode and then stops the local daemon-mode cluster process. No failover occurs. This command is equivalent to nnmcluster -disable -shutdown
-
ovstop -cluster: This command stops both the active and standby servers, removing them both from the cluster. This command is equivalent to nnmcluster -halt
- Important note
-
If the NNMi management server is running a UNIX operating system and a termination script is run when the OS is shut down, the ovstop command will be executed automatically. This will result in the application failover being disabled. To control application failover during maintenance periods, use the nnmcluster -acquire and nnmcluster -relinquish commands before executing the OS shutdown command to set the active and standby servers the way you want them. For details, see the nnmcluster Reference Page.