Table of ContentsView in Frames

Assigning disk ownership shelf by shelf

If the MetroCluster nodes do not have the disks correctly assigned, you must assign disks to each of the nodes in the MetroCluster configuration to create a configuration in which each node has the same number of disks in its local and remote disk pools. Each node can have a different number of disks or shelves.

Before you begin

The storage controllers must be in Maintenance mode.

About this task

This task is only required if disks were not correctly assigned when received from the factory.

You can explicitly assign disks on the attached disk shelves to the appropriate pool with the disk assign command. Using wildcards in the command enables you to assign all the disks on a disk shelf with one command.

Note: Pool 0 always contains the disks that are found at the same site as the storage system that owns them.

Pool 1 always contains the disks that are remote to the storage system that owns them.

Steps

  1. If you have not done so, boot each system into Maintenance mode.
  2. Assign the disk shelves to the nodes located at the first site (site A):
    Disk shelves at the same site as the node are assigned to pool 0 and disk shelves located at the partner site are assigned to pool 1.

    You should assign an equal number of shelves to each pool.

    1. On the first node, systematically assign the local disk shelves to pool 0 and the remote disk shelves to pool 1: disk assign -shelf local-switch-name:shelf-name.port -p pool
      Example
      If storage controller Controller_A_1 has four shelves, you issue the following commands:
      *> disk assign -shelf FC_switch_A_1:1-4.shelf1 -p 0
      *> disk assign -shelf FC_switch_A_1:1-4.shelf2 -p 0
      
      *> disk assign -shelf FC_switch_B_1:1-4.shelf1 -p 1
      *> disk assign -shelf FC_switch_B_1:1-4.shelf2 -p 1
    2. Repeat the process for the second node at the local site, systematically assigning the local disk shelves to pool 0 and the remote disk shelves to pool 1: disk assign -shelf local-switch-name:shelf-name.port -p pool
      Example
      If storage controller Controller_A_1 has four shelves, you issue the following commands:
      *> disk assign -shelf FC_switch_A_1:1-4.shelf3 -p 0
      *> disk assign -shelf FC_switch_B_1:1-4.shelf4 -p 1
      
      *> disk assign -shelf FC_switch_A_1:1-4.shelf3 -p 0
      *> disk assign -shelf FC_switch_B_1:1-4.shelf4 -p 1
  3. Assign the disk shelves to the nodes located at the second site (site B):
    Disk shelves at the same site as the node are assigned to pool 0 and disk shelves located at the partner site are assigned to pool 1.

    You should assign an equal number of shelves to each pool.

    1. On the first node at the remote site, systematically assign its local disk shelves to pool 0 and its remote disk shelves to pool 1: disk assign -shelf local-switch-nameshelf-name -p pool
      Example
      If storage controller Controller_B_1 has four shelves, you issue the following commands:
      *> disk assign -shelf FC_switch_B_1:1-5.shelf1 -p 0
      *> disk assign -shelf FC_switch_B_1:1-5.shelf2 -p 0
      
      *> disk assign -shelf FC_switch_A_1:1-5.shelf1 -p 1
      *> disk assign -shelf FC_switch_A_1:1-5.shelf2 -p 1
    2. Repeat the process for the second node at the remote site, systematically assigning its local disk shelves to pool 0 and its remote disk shelves to pool 1: disk assign -shelf shelf-name -p pool
      Example
      If storage controller Controller_B_2 has four shelves, you issue the following commands:
      *> disk assign -shelf FC_switch_B_1:1-5.shelf3 -p 0
      *> disk assign -shelf FC_switch_B_1:1-5.shelf4 -p 0
      
      *> disk assign -shelf FC_switch_A_1:1-5.shelf3 -p 1
      *> disk assign -shelf FC_switch_A_1:1-5.shelf4 -p 1
  4. Confirm the shelf assignments: storage show shelf
  5. Exit Maintenance mode:halt
  6. Display the boot menu: boot_ontap menu
  7. On each node, select option 4 to initialize all disks.