Assigning disk pools in a stretch MetroCluster configuration
After completing the cabling of a stretch MetroCluster configuration, you must assign the attached disk shelves to the appropriate disk pools.
For the purpose of this procedure, Node A and Node B constitute a stretch MetroCluster configuration having one stack of four disk shelves at each site. Each shelf stack is cabled in multipath HA using quad-port fibre channel adapter in slot 2 of each node. The following table shows the pool assignments for the disk shelves in the example used in this section:
Disk shelf... | At site... | Belongs to... | And is assigned to that node's... |
---|---|---|---|
Disk shelf 1 | Site A | Node A | Pool 0 |
Disk shelf 2 | |||
Disk shelf 3 | Node B | Pool 1 | |
Disk shelf 4 | |||
Disk shelf 5 | Site B | Node B | Pool 0 |
Disk shelf 6 | |||
Disk shelf 7 | Node A | Pool 1 | |
Disk shelf 8 |
Note: Pool 0 always contains the disks that are local to (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.
- Boot Node A into Maintenance mode.
- Assign the local disks to Node A pool 0 by entering the following command at the console:disk assign -shelf 2a.shelf1 -p 0disk assign -shelf 2a.shelf2 -p 0This indicates that the disks in disk shelf 1 and disk shelf 2 attached to port 2a are assigned to pool 0 of Node A. Note: The -shelf option allows you to specify a particular shelf connected to a channel for assigning all disks present in that particular shelf.
- Assign the remote disks to Node A pool 1 by entering the following command at the console:disk assign -shelf 2b.shelf7 -p 1 disk assign -shelf 2b.shelf8 -p 1This indicates that all the disks in disk shelf 7 and disk shelf 8 attached to port 2b are assigned to pool 1 of Node A.
- Boot Node B into Maintenance mode.
- Assign the local disks to Node B pool 0 by entering the following command at the console:disk assign -shelf 2a.shelf5 -p 0disk assign -shelf 2a.shelf6 -p 0This indicates that all the disks in disk shelf 5 and disk shelf 6 attached to port 2a are assigned to pool 0 of Node B
- Assign the remote disks to Node B pool 1 by entering the following command at the console:disk assign -shelf 2b.shelf3 -p 1disk assign -shelf 2b.shelf4 -p 1This indicates that all the disks in disk shelf 3 and disk shelf 4 attached to port 2b are assigned to pool 1 of Node B.
Proceed to verify the disk paths on the system.