Skip to main content
Install and maintain

Hot-remove a shelf - NS224 shelves

Contributors

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
  • Your HA pair cannot be in a takeover state.

  • You must have removed all aggregates from the drives (the drives must be spares) in the shelf you are removing.

    Note If you attempt this procedure with aggregates on the shelf you are removing, you could fail the system with a multidisk panic.

    You can use the storage aggregate offline -aggregate aggregate_name command and then the storage aggregate delete -aggregate aggregate_name command.

  • If your system shipped in a system cabinet, you need a Phillips screwdriver to remove the screws securing the shelf to the cabinet rear uprights.

About this task
  • If you are hot-removing more than one shelf, you remove one shelf at a time.

  • Best practice: The best practice is to remove drive ownership after you remove the aggregates from the drives in the shelf you are removing.

    Removing ownership information from a spare drive allows the drive to be properly integrated into another node (as needed).

    The procedure for removing ownership from drives can be found in the disks and aggregates content:

Note The procedure requires you to disable automatic drive assignment. You reenable automatic drive assignment at the end of this procedure (after you have hot-removed the shelf).
  • If needed, you can turn on the shelf's location (blue) LEDs to aid in physically locating the affected shelf: storage shelf location-led modify -shelf-name shelf_name -led-status on

    If you do not know the shelf_name of the affected shelf, run the storage shelf show command.

    A shelf has three location LEDs: one on the operator display panel and one on each NSM module. Location LEDs remain illuminated for 30 minutes. You can turn them off by entering the same command, but using the off option.

  • After disconnecting a shelf from non-dedicated RoCE capable ports (on board the controllers, on RoCE capable PCIe cards, a combination of both, or on I/O modules), you have the option of reconfiguring these ports for networking use.

    Note If your HA pair is running a version of ONTAP 9.6, you need to reboot the controllers one at a time. If your HA pair is running ONTAP 9.7 or later, you do not need to reboot the controllers, unless one or both controllers are in maintenance mode. This procedure assumes that neither controller is in maintenance mode.
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.)

      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 cords from the power supplies by opening the power cord retainer if they are AC power supplies, or unscrewing the two thumb screws if they are DC power supplies, and then unplug the power cords from the power supplies.

      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.

    Note 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 8c 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 8c 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 (a).

      4. Reboot the second controller to make the port changes take effect, by repeating the second step (b).

      5. Go to substep 8c 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.