重新定位HA对中ONTAP本地层的所有权
您可以更改HA对中节点之间本地层的所有权、而无需中断本地层中的服务。
|  | 在ONTAP 9.7之前的版本中、System Manager会使用术语_AGREL_来描述_local ti层_。无论您的ONTAP版本如何、ONTAP命令行界面都使用术语_AGREL_。要了解有关本地层的更多信息,请参见"磁盘和本地层"。 | 
HA 对中的两个节点都以物理方式连接到彼此的磁盘或阵列 LUN 。每个磁盘或阵列 LUN 均归其中一个节点所有。
发生接管时、本地层中所有磁盘或阵列LUN的所有权会暂时从一个节点更改为另一个节点。但是、本地层重新定位操作也可以永久更改所有权(例如、如果为负载平衡而执行了此操作)。所有权更改无需执行任何数据复制过程,也无需物理移动磁盘或阵列 LUN 。
- 
由于在本地层重新定位操作期间会以编程方式验证卷计数限制、因此无需手动检查此限制。 如果卷数超过支持的限制、则本地层重新定位操作将失败、并显示相关的错误消息。 
- 
在源节点或目标节点上正在执行系统级操作时、不应启动本地层重新定位;同样、也不应在本地层重新定位期间启动这些操作。 这些操作可以包括以下内容: - 
接管 
- 
交还 
- 
关闭 
- 
另一个本地层重新定位操作 
- 
磁盘所有权更改 
- 
本地层或卷配置操作 
- 
存储控制器更换 
- 
ONTAP 升级 
- 
ONTAP 还原 
 
- 
- 
如果您使用的是MetroCluster 配置、则在执行灾难恢复操作(switchover、healing _或_switchback)期间、不应启动本地层重新定位。 
- 
如果您拥有MetroCluster 配置并在已切换的本地层上启动本地层重新定位、则此操作可能会失败、因为它超出了DR配对节点的卷限制计数。 
- 
您不应在已损坏或正在进行维护的本地层上启动本地层重新定位。 
- 
在启动本地层重新定位之前、您应保存源节点和目标节点上的所有核心转储。 
- 
查看节点上的本地层、确认要移动哪些本地层、并确保它们处于联机状态且状况良好: storage aggregate show -node source-node以下命令显示了集群中四个节点上的六个本地层。所有本地层均已联机。Node1 和 Node3 形成一个 HA 对, Node2 和 Node4 形成一个 HA 对。 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.
- 
发出命令以启动本地层重新定位: storage aggregate relocation start -aggregate-list aggregate-1, aggregate-2… -node source-node -destination destination-node以下命令会将本地层aggr_1和aggr_2从node1移动到node3。Node3 是 Node1 的 HA 配对节点。只能在HA对中移动本地层。 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> 
- 
使用命令监控本地层重新定位的进度 storage aggregate relocation show:storage aggregate relocation show -node source-node以下命令显示了要移至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>重新定位完成后、此命令的输出将显示每个本地层的重新定位状态为`Done`。 
 PDF
PDF