Skip to main content

advfailover command

This command displays and configures the advanced failover settings for the CMM.

Note
  • If a Lenovo Flex System chassis is set up for redundant CMM operation and both CMMs experience an unrecoverable failure, the chassis will attempt to switch control between the CMMs indefinitely. If this condition occurs, replace one CMM to return the chassis to operation or replace both CMMs to return the chassis to redundant operation. Depending on how each CMM failed, you might need to configure the replacement CMM or restore its configuration from a backup, if one is available. A failure of both CMMs might be an indication of other problems with the Lenovo Flex System chassis; make sure that the chassis is operating properly before replacing either CMM. See Troubleshooting chassis for information about diagnosing problems with a Lenovo Flex System chassis.
  • For more information about CMM redundancy, see ../com.lenovo.acc.cmm.doc/redundancy_prep_cmm.html.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or advfailover command errors for a list of error messages that are specific to the advfailover command.

Table 1. advfailover command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Display CMM advanced failover settingsDisplays the advanced failover settings for the CMM. Possible return values are:
  • off - disable network interface for the standby CMM
  • swap - enable the standby CMM network interface and swap IP addresses between the two CMMs during failover
  • noswap - enable the standby CMM network interface and do not swap IP addresses between the two CMMs during failover
Note
When advanced failover is set to off, a CMM failover can be forced using the reset -f command (see reset command for information).
advfailover
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Disable network interface for standby CMMDisables the network interface for the standby CMM, preventing failover.
Note
When advanced failover is set to off, a CMM failover can be forced using the reset -f command (see reset command for information).
advfailover -ip off
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Enable network interface and allow IP address swap during failoverEnables the network interface for the standby CMM and allows the IP addresses to swap between the two CMMs during failover.
Note
  • The -ip swap command option can not be run if only one CMM is installed in the chassis.
  • If you enable IP address swapping during failover with both CMMs set to the same static IP address, you must disable DHCP (see ifconfig command for information).
advfailover -ip swap
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Enable network interface and prevent IP address swap during failoverEnables the network interface for the standby CMM and prevents the IP addresses from swapping between the two CMMs during failover.
Note
The -ip noswap command option can not be run if only one CMM is installed in the chassis.
advfailover -ip noswap
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.

Example:

To disable the network interface for the standby CMM, while the primary CMM in bay 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
advfailover -ip off
To display the CMM advanced failover setting, while the primary CMM in bay 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
advfailover

The following example shows the information that is returned from these two commands:

system:mm[1]> advfailover -ip off
OK
system:mm[1]> advfailover
-ip off
system:mm[1]>