跳转到主内容

SVM DR 重新同步或更新失败,无法初始化内部数据库

Views:
53
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
dp
Last Updated:

Color_Def.png

仅在指定的内容块内添加文本。单击此处 查看有关创建解决循环内容的更多信息。

适用于

  • ONTAP 9
  • SnapMirror
  • SVM DR

问题

  • 重新同步或更新 SVM DR 关系失败:

Failed to initialize internal database. Reason: Failed to get information for volume. Reason: entry doesn't exist. Check whether the 'vserver-dr-protection' attribute matches for volumes at the source and the destination vserver.
Execute "snapmirror show -destination-vserver <> -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors.

注: 配置更改或手动更新源卷上的vserver-dr-protection属性可能会导致此错误

解决方案

Please contact NetApp Technical Support or log into the NetApp Support Site to create a case. Reference this article for assistance with the solution. 

  • The solution requires Diagnostic-level recovery. 
  • The use of Diagnostic commands and recovery steps is potentially disruptive and should only be used with guidance from NetApp Support. 

 

追加信息

不适用

内部参考

WARNING: For L1 engineers: These steps should be performed only after consulting an L2 engineer.

  • 找出不匹配 vserver-dr-protection 属性的步骤,以及清除目标上的 smdb 表条目的步骤:
  1. 识别 vserver:

Destination::> set diag

Destination::*> vserver show -vserver svm1 -fields uuid
vserver uuid
------- ------------------------------------
svm1    191c8d4e-2796-11e6-a6ff-00a0989d0f08

  1. 标识 smdb 表中的 protection-type 属性:

Destination::> set diag

Destination::*> debug smdb table vserverdr_volume_replication_config_rdb show -vserver-uuid 191c8d4e-2796-11e6-a6ff-00a0989d0f08
vserver-uuid                         destination-vserver-uuid             volume-msid protection-type dr-type
------------------------------------ ------------------------------------ ----------- --------------- --------
191c8d4e-2796-11e6-a6ff-00a0989d0f08 faf46d09-44de-11e6-a723-00a0989d0e86 2157486836 unprotected     async-dr

  1. 识别vserver-dr-protection属性和卷msid

注意:命令在源上执行

Source::> volume show -vserver svm1 -volume vol1 -fields vserver-dr-protection,msid
vserver volume msid       vserver-dr-protection
------- ------ ---------- ---------------------
svm1    vol1  2157486836 protected

  1. 保护类型不匹配,请从 smbd 表中删除该条目:

Destination::> set diag

Destination::*> debug smdb table vserverdr_volume_replication_config_rdb delete -vserver-uuid 191c8d4e-2796-11e6-a6ff-00a0989d0f08 -destination-vserver-uuid faf46d09-44de-11e6-a723-00a0989d0e86 -volume-msid 2157486836

  1. 重新运行 SVM DR 操作

注意:对于 SMV-DR Flexgroup snapmirror 复制,请检查 Flexgroup 的每个组成级别上的保护类型,如果保护类型不匹配,则从 smdb 表中删除每个组成卷的条目。

更多信息可在 CONTAP-33130 中找到  

(有关更多历史记录,请参见原始 EPS 1133971 和 BUG 1140994

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.