Skip to main content

Verifying and setting the HA state on the controller modules and chassis

For systems that use the HA state value, the value must be consistent in all components in the HA pair. You can use the Maintenance mode ha-config command to verify and, if necessary, set the HA state.

About this task

The ha-config command only applies to the local controller module and, in the case of a dual-chassis HA pair, the local chassis. To ensure consistent HA state information throughout the system, you must also run these commands on the partner controller module and chassis, if necessary.
Note
When you boot a node for the first time, the HA state value for both controller and chassis is default.

The HA state is recorded in the hardware PROM in the chassis and in the controller module. It must be consistent across all components of the system, as shown in the following table:

If the system or systems are in a...The HA state is recorded on these components...The HA state on the components must be...
A single-chassis HA pair
  • The chassis

  • Controller module A

  • Controller module B

ha
Each single-chassis HA pair in a MetroCluster configuration
  • The chassis

  • Controller module A

  • Controller module B

mcc

Use the following steps to verify the HA state is appropriate and, if not, to change it:

  1. Reboot or halt the current controller module and use either of the following two options to boot into Maintenance mode:
    1. If you rebooted the controller, press Ctrl-C when prompted to display the boot menu and then select the option for Maintenance mode boot.
    2. If you halted the controller, enter the following command from the LOADER prompt:boot_ontap maint
      Note
      This option boots directly into Maintenance mode; you do not need to press Ctrl-C.
  2. After the system boots into Maintenance mode, enter the following command to display the HA state of the local controller module and chassis: ha-config show
    The HA state should be ha for all components if the system is in an HA pair.
  3. If necessary, enter the following command to set the HA state of the controller: ha-config modify controller ha-state
  4. If necessary, enter the following command to set the HA state of the chassis: ha-config modify chassis ha-state
  5. Exit Maintenance mode by entering the following command: halt
  6. Boot the system by entering the following command at the boot loader prompt: boot_ontap
  7. If necessary, repeat the preceding steps on the partner controller module.