Hot-removing a drive shelf

You can hot-remove an NS224 drive shelf that has had the aggregates removed from the drives, in an HA pair that is up and serving data (I/O is in progress).

Before you begin

About this task

Procedure

  1. Properly ground yourself.
  2. Verify that the drives in the shelf you are removing have no aggregates (are spares) and that ownership is removed:
    1. Enter the following command to list all of the drives in the shelf that you are removing: storage disk show -shelf shelf_number
      You can enter the command on either controller module.
    2. Check the output to verify that there are no aggregates on the drives.
      Drives with no aggregates have a dash in the Container Name column.
    3. Check the output to verify that ownership is removed from the drives.
      Drives with no ownership have a dash in the Owner column.
      Note: If you have failed drives, they display broken in the Container Type column. (Failed drives do not have ownership.)
    The following output shows drives on the shelf being removed, shelf 2, are in a correct state for removing the shelf. The aggregates are removed on all of the drives; therefore, a dash appears in the Container Name column for each drive. Ownership is also removed on all of the drives; therefore, a dash appears in the Owner column for each drive.
    cluster1::> storage disk show -shelf 2
    
               Usable           Disk     Container   Container
    Disk         Size Shelf Bay Type     Type        Name       Owner
    -------- -------- ----- --- ------   ----------- ---------- ---------
    ...
    2.2.4           -     2   4 SSD-NVM  spare                -         -
    2.2.5           -     2   5 SSD-NVM  spare                -         -
    2.2.6           -     2   6 SSD-NVM  broken               -         -
    2.2.7           -     2   7 SSD-NVM  spare                -         -
    ...
  3. Physically locate the shelf you are removing.
  4. Disconnect the cabling from the shelf you are removing:
    1. Disconnect the power cord from the power supply by opening the power cord retainer, and then unplug the power cord from the power supply.
      Power supplies do not have a power switch.
    2. Disconnect the storage cabling (from the shelf to the controllers).
  5. Physically remove the shelf from the rack or cabinet.
    Attention: A fully loaded NS224 shelf can weigh up to 66.78 lbs (30.29 kg) and requires two people to lift or use of a hydraulic lift. Avoid removing shelf components (from the front or rear of the shelf) to reduce the shelf weight, because shelf weight will become unbalanced.
    Note: If your system was shipped in a cabinet, you must first unscrew the two Phillips screws securing the shelf to the rear uprights. The screws are located on the inside shelf walls of the bottom NSM module. You should remove both NSM modules to access the screws.
  6. If you are removing more than one shelf, repeat steps 2 through 5.
    Otherwise, go to the next step.
  7. If you disabled automatic drive assignment when you removed ownership from the drives, reenable it: storage disk option modify -autoassign on
    You run the command on both controller modules.
  8. You have the option of reconfiguring the non-dedicated RoCE capable ports for networking use, by completing the following substeps.
    Otherwise, you are done with this procedure.
    1. Verify the names of the non-dedicated ports, currently configured for storage use.storage port show
      You can enter the command on either controller module.
      Note: The non-dedicated ports configured for storage use are displayed in the output as follows:

      If your HA pair is running ONTAP 9.8 or later, the non-dedicated ports display storage in the Mode column.

      If your HA pair is running ONTAP 9.7 or 9.6, the non-dedicated ports, which display false in the Is Dedicated? column, also display enabled in the State column.
    2. Complete the set of steps applicable to the version of ONTAP your HA pair is running:
      If your HA pair is running... Then...
      ONTAP 9.8 or later
      1. Reconfigure the non-dedicated ports for networking use, on the first controller module: storage port modify -node node name -port port name -mode network

        You must run this command for each port you are reconfiguring.

      2. Repeat the above step to reconfigure the ports on the second controller module.
      3. Go to substep 8.c to verify all port changes.
      ONTAP 9.7
      1. Reconfigure the non-dedicated ports for networking use, on the first controller module: storage port disable -node node name -port port name

        You must run this command for each port you are reconfiguring.

      2. Repeat the above step to reconfigure the ports on the second controller module.
      3. Go to substep 8.c to verify all port changes.
      A version of ONTAP 9.6
      1. Reconfigure the RoCE capable ports for networking use, on the first controller module: storage port disable -node node name -port port name

        You must run this command for each port you are reconfiguring.

      2. Reboot the controller module to make the port changes take effect:
        system node reboot -node node name -reason reason for the reboot
        Note: The reboot must complete before you proceed to the next step. The reboot can take up to 15 minutes.
      3. Reconfigure the ports on the second controller module, by repeating the first step.
      4. Reboot the second controller to make the port changes take effect, by repeating the second step.
      5. Go to substep 8.c to verify all port changes.
    3. Verify that the non-dedicated ports of both controller modules are reconfigured for networking use: storage port show
      You can enter the command on either controller module.

      If your HA pair is running ONTAP 9.8 or later, the non-dedicated ports display network in the Mode column.

      If your HA pair is running ONTAP 9.7 or 9.6, the non-dedicated ports, which display false in the Is Dedicated? column, also display disabled in the State column.