Skip to main content
ONTAP MetroCluster

Restore the HBA configuration and set the HA state of the MetroCluster IP controller and chassis

Contributors netapp-aoife

Configure the HBA cards in the controller module and verify and set the HA state of the controller and chassis.

Restore the HBA configuration

Depending on the presence and configuration of HBA cards in the controller module, you need to configure them correctly for your site.

Steps
  1. In Maintenance mode, configure the settings for any HBAs in the system:

    1. Check the current settings of the ports: ucadmin show

    2. Update the port settings as needed.

    If you have this type of HBA and desired mode…​

    Use this command…​

    CNA FC

    ucadmin modify -m fc -t initiator <adapter-name>

    CNA Ethernet

    ucadmin modify -mode cna <adapter-name>

    FC target

    fcadmin config -t target <adapter-name>

    FC initiator

    fcadmin config -t initiator <adapter-name>

  2. Exit Maintenance mode:

    halt

    After you run the command, wait until the node stops at the LOADER prompt.

  3. Boot the node back into Maintenance mode to apply the configuration changes:

    boot_ontap maint

  4. Verify the changes:

    If you have this type of HBA…​

    Use this command…​

    CNA

    ucadmin show

    FC

    fcadmin show

Set the HA state on the new controllers and chassis

You must verify the HA state of the controllers and chassis, and, if necessary, update the state to match your system configuration.

Steps
  1. In Maintenance mode, display the HA state of the controller module and chassis:

    ha-config show

    The HA state for all components should be mccip.

  2. If the displayed system state of the controller or chassis isn't correct, set the HA state:

    ha-config modify controller mccip

    ha-config modify chassis mccip

  3. Verify and modify the Ethernet ports connected to NS224 shelves or storage switches.

    1. Verify the Ethernet ports connected to NS224 shelves or storage switches:

      storage port show

    2. Set all Ethernet ports connected to Ethernet shelves or storage switches, including shared switches for storage and cluster, to storage mode:

      storage port modify -p <port> -m storage

      Example:

      *> storage port modify -p e5b -m storage
      Changing NVMe-oF port e5b to storage mode
      Note This must be set on all affected ports for a successful upgrade.

      Disks from the shelves attached to the Ethernet ports are reported in the sysconfig -v output.

      Refer to the Hardware Universe for information on the storage ports for the system you are upgrading to.

    3. Verify that storage mode is set and confirm that the ports are in the online state:

      storage port show

  4. Halt the node: halt

    The node should stop at the LOADER> prompt.

  5. On each node, check the system date, time, and time zone: show date

  6. If necessary, set the date in UTC or GMT: set date <mm/dd/yyyy>

  7. Check the time by using the following command at the boot environment prompt: show time

  8. If necessary, set the time in UTC or GMT: set time <hh:mm:ss>

  9. Save the settings: saveenv

  10. Gather environment variables: printenv