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

Steps

  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.)
    Example
    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 non-dedicated RoCE capable ports (on board the controllers, on RoCE capable PCIe cards, or a combination of both) for networking use, by completing the following substeps.
    Otherwise, you are done with this procedure.
    Note: If your HA pair is using the x1148A RoCE capable PCIe cards, the physical card port label names and how ONTAP displays the port names are different: the PCIe card ports are labeled as "1" and "2", which correspond to "a" and "b" in ONTAP output. For example, ONTAP output for the ports of the x1148A card in controller slot 5 display as "e5a" and "e5b".
    1. 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.7 or later
      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 that you are reconfiguring.

      2. Repeat the above step to reconfigure the ports on the second controller module.
      3. Go to substep 8.b 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 that you are reconfiguring.

      2. Reboot the controller module so that 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 so that the port changes take effect, by repeating the second step.
      5. Go to substep 8.b to verify all port changes.
    2. Verify that the non-dedicated RoCE capable ports of both controller modules are in the disabled state (are available for networking use): storage port show
      You can enter the command on either controller module.
      Example
      The following output shows the state of all RoCE capable ports on an AFF A320 HA pair: e0b, e0c, e0e, and e0f. The non-dedicated RoCE capable ports, e0b and e0e, are in the disabled state.
      cluster1::> storage port show
      
                                    Speed                            VLAN Is
      Node               Port Type  (Gb/s) State           Status      ID Dedicated?
      ------------------ ---- ----- ------ --------------- --------- ---- ----------
      node1
                         e0b  ENET     100 disabled        offline    30   false
                         e0c  ENET     100 enabled         online     30   true
                         e0e  ENET     100 disabled        offline    30   false
                         e0f  ENET     100 enabled         online     30   true
      node2
                         e0b  ENET     100 disabled        offline    30   false
                         e0c  ENET     100 enabled         online     30   true
                         e0e  ENET     100 disabled        offline    30   false
                         e0f  ENET     100 enabled         online     30   true