You can change the ownership of an aggregate only between the nodes within an HA pair.
Procedure
-
View the aggregates on the node to confirm which aggregates to move and ensure they are online and in good condition:storage aggregate show -node source-node
The following command shows six aggregates on the four nodes in the cluster. All aggregates are online. Node1 and Node3 form an
HA pair and Node2 and Node4 form an
HA pair.
cluster::> storage aggregate show
Aggregate Size Available Used% State #Vols Nodes RAID Status
--------- -------- --------- ----- ------- ------ ------ -----------
aggr_0 239.0GB 11.13GB 95% online 1 node1 raid_dp,
normal
aggr_1 239.0GB 11.13GB 95% online 1 node1 raid_dp,
normal
aggr_2 239.0GB 11.13GB 95% online 1 node2 raid_dp,
normal
aggr_3 239.0GB 11.13GB 95% online 1 node2 raid_dp,
normal
aggr_4 239.0GB 238.9GB 0% online 5 node3 raid_dp,
normal
aggr_5 239.0GB 239.0GB 0% online 4 node4 raid_dp,
normal
6 entries were displayed.
- Issue the command to start the aggregate relocation:storage aggregate relocation start -aggregate-list aggregate-1, aggregate-2... -node source-node -destination destination-node
The following command moves the aggregates aggr_1 and aggr_2 from Node1 to Node3. Node3 is Node1's HA partner. The aggregates can be moved only within the
HA pair.
cluster::> storage aggregate relocation start -aggregate-list aggr_1, aggr_2 -node node1 -destination node3
Run the storage aggregate relocation show command to check relocation status.
node1::storage aggregate>
- Monitor the progress of the aggregate relocation with the storage aggregate relocation show command:storage aggregate relocation show -node source-node
The following command shows the progress of the aggregates that are being moved to Node3:
cluster::> storage aggregate relocation show -node node1
Source Aggregate Destination Relocation Status
------ ----------- ------------- ------------------------
node1
aggr_1 node3 In progress, module: wafl
aggr_2 node3 Not attempted yet
2 entries were displayed.
node1::storage aggregate>
When the relocation is complete, the output of this command shows each aggregate with a relocation status of Done.