跳转到主内容

NetApp_Insight_2020.png 

WAFL_Check 和 WAFLRon 如何与集群模式 Data ONTAP 8 中的 SnapMirror 目标卷交互?

Views:
6
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

适用于

  • 集群模式 Data ONTAP 8.2
  • 集群模式 Data ONTAP 8.1
  • 集群模式 Data ONTAP 8

解答

WAFL_Check 或 WAFLIRON 是否可以在包含 SnapMirror 目标卷的聚合上运行?

有关 WAFL_Check 和 Wafliron 的详细信息,请参见以下知识库文章。

注:从 Data ONTAP 8.1 开始、 WAFL_Check 已从启动菜单中删除、不再是受支持的操作。将改用 wafliron 和 wafliron 可选的提交。

负载共享 SnapMirror 目标卷

WAFL_Check 和 Wafliron 将跳过负载共享 SnapMirror 目标卷。Wafliron 对负载共享 SnapMirror 目标卷的尝试示例:

在诊断模式下运行命令

Node1::>set diag

Node1::*>storage aggregate wafliron start -aggregate ls_aggr_1

WARNING: Aggregate ls_aggr_1 contains 1 Load Sharing SnapMirror destination volume(s). If you want to fix inconsistencies on a Load Sharing SnapMirror destination volume, please delete, recreate and resynchronize from the source. Wafliron will skip Load Sharing SnapMirror destination volume(s). Do you still want to continue? {y|n}:

WAFL_Check 针对负载共享镜像目标的尝试示例(将记录到 EMS 日志文件中):

Skipping Clustered replica volume @vserver (mirror type drm)

数据保护 SnapMirror 目标卷

默认情况下, WAFL_Check 将检查数据保护 SnapMirror 目标卷。Wafliron 将要求在-include-mirrors启动数据保护 SnapMirror 目标卷之前使用选项“”设置为“ true ”。

Wafliron 在未将选项 "-include-mirrors" 设置为 "true" 的情况下试图攻击数据保护 SnapMirror 目标卷的示例:

Node1::*>storage aggregate wafliron start -aggregate dr_aggr_1

WARNING: Aggregate dr_aggr_1 contains 1 Data Protection SnapMirror destination volume(s). You have chosen to skip wafliron on Data Protection SnapMirror destination volume(s). If you want to fix inconsistencies on a Data Protection SnapMirror destination volume, you must use the option '-includemirrors' set to 'true'. Do you still want to continue? {y|n}:

wafliron 尝试使用选项 '-include-mirrors' set to 'true' 来保护 SnapMirror 目标卷的示例。

Node1::*>storage aggregate wafliron start -aggregate dr_aggr_1 -include-mirrors true

WARNING: Aggregate dr_aggr_1 contains 1 Data Protection SnapMirror destination volume(s). You have chosen wafliron to fix inconsistencies by breaking the mirror relationship(s) on the Data Protection SnapMirror destination volume(s). Do you still want to continue? {y|n}: y Initiated wafliron-start on aggregate dr_aggr_1.

数据保护 SnapMirror 目标卷 - VLDB 和 WAFL 重新同步和 SnapMirror 关系重新同步

请注意,在处理完数据保护 SnapMirror 目标卷后、 SnapMirror 关系将处于“删除”状态、 VLDB 和 WAFL 将会出现与目标 SnapMirror 卷有关的不一致信息。

将运行 vReport show 、 vReport fix 和 SnapMirror resync 以继续使用 SnapMirror 关系。

以下是步骤:

Node1::>set diag

Node1::*>debug vreport show -instance

Object type: volume

Object: vserver: dst_vol1

List of attributes: Node Name: Node1

Volume DSID: 1048 MSID:2147484688

UUID: 29ad55c0-5c31-11de-9d1b-123475882448

Aggregate Name: dr_aggr_1

Aggregate UUID: 9k2dc7b0-5c49-11de-acb0-00a5882448f

Vserver UUID: 237328fa-1998-11de-8219-12345882448

AccessType: READ_WRITE

StorageType: REGULAR

StripeType: FLEX_VOL

Reason for difference: Present both in VLDB and WAFL with differences

Duplicate Object Values:

Attributes With Differing Values: Volume Access Type

Values In WAFL: READ_WRITE

Values In VLDB: DP_READ_ONLY

Node1::*>debug vreport fix -type volume -object vserver:dst_vol1

Node1::*>set admin

Node1::>snapmirror resync -destination-path cluster_name://vserver/dst_vol1

现在,目标聚合将保持 WAFL 一致、 SnapMirror 关系将重新同步并再次正常工作

其他信息

附加信息 _text