Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

使用SM-BC升级和还原ONTAP

贡献者

从ONTAP 9.8开始、支持SnapMirror业务连续性(SM-BC)。升级和还原ONTAP集群会影响SM-BC关系、具体取决于要升级或还原到的ONTAP版本。

使用SM-BC升级ONTAP

要使用SM-BC、源集群和目标集群上的所有节点都必须运行ONTAP 9.8或更高版本。

在升级具有活动SM-BC关系的ONTAP时、您应使用 自动化无中断升级(ANDU)。使用ANDU可确保SM-BC关系在升级过程中保持同步且运行状况良好。

没有为ONTAP升级准备SM-BC部署的配置步骤。但是、建议您在升级前后检查:

  • SM-BC关系处于同步状态。

  • 事件日志中没有与SnapMirror相关的错误。

  • 调解器在两个集群中均处于联机状态且运行状况良好。

  • 所有主机均可正确查看所有路径以保护LUN。

备注 在将集群从ONTAP 9.8或9.9.1升级到ONTAP 9.10.1及更高版本时、ONTAP会创建新的 一致性组 无论是源集群还是目标集群、都可以使用System Manager配置SM-BC关系。
备注 snapmirror quiescesnampirror resume SM-BC不支持命令。

从ONTAP 9.10.1还原到ONTAP 9.9.1

要将关系从 9.10.1 还原到 9.9.1 ,必须先删除 SM-BC 关系,然后再删除 9.10.1 一致性组实例。无法删除具有活动SM-BC关系的一致性组。在 9.9.1 或更早版本中升级到 9.10.1 且先前与另一个智能容器或企业应用程序关联的任何 FlexVol 卷将在还原时不再关联。删除一致性组不会删除成分卷或卷粒度快照。请参见 "删除一致性组" 有关ONTAP 9.10.1及更高版本中此任务的详细信息、请参见。

从ONTAP 9.8还原到ONTAP 9.7

备注 混合 ONTAP 9.7 和 ONTAP 9.8 集群不支持 SM-BC 。

从 ONTAP 9.8 还原到 ONTAP 9.7 时,必须注意以下事项:

  • 如果集群托管SM-BC目标、则在中断并删除此关系之前、不允许还原到ONTAP 9.7。

  • 如果集群托管SM-BC源、则在释放此关系之前、不允许还原到ONTAP 9.7。

  • 还原到 ONTAP 9.7 之前,必须删除用户创建的所有自定义 SM-BC SnapMirror 策略。

要满足这些要求、请参见 "删除 SM-BC 配置"

步骤
  1. 从 SM-BC 关系中的一个集群执行还原检查:

    cluster::*> system node revert-to -version 9.7 -check-only

    示例

    cluster::*> system node revert-to -version 9.7 -check-only
    Error: command failed: The revert check phase failed. The following issues must be resolved before revert can be completed. Bring the data LIFs down on running vservers. Command to list the running vservers: vserver show -admin-state running Command to list the data LIFs that are up: network interface show -role data -status-admin up Command to bring all data LIFs down: network interface modify {-role data} -status-admin down
    Disable snapshot policies.
        Command to list snapshot policies: "snapshot policy show".
        Command to disable snapshot policies: "snapshot policy modify -vserver
       * -enabled false"
    
       Break off the initialized online data-protection (DP) volumes and delete
       Uninitialized online data-protection (DP) volumes present on the local
       node.
        Command to list all online data-protection volumes on the local node:
       volume show -type DP -state online -node <local-node-name>
        Before breaking off the initialized online data-protection volumes,
       quiesce and abort transfers on associated SnapMirror relationships and
       wait for the Relationship Status to be Quiesced.
        Command to quiesce a SnapMirror relationship: snapmirror quiesce
        Command to abort transfers on a SnapMirror relationship: snapmirror
       abort
        Command to see if the Relationship Status of a SnapMirror relationship
       is Quiesced: snapmirror show
        Command to break off a data-protection volume: snapmirror break
        Command to break off a data-protection volume which is the destination
       of a SnapMirror relationship with a policy of type "vault": snapmirror
       break -delete-snapshots
        Uninitialized data-protection volumes are reported by the "snapmirror
       break" command when applied on a DP volume.
        Command to delete volume: volume delete
    
       Delete current version snapshots in advanced privilege level.
        Command to list snapshots: "snapshot show -fs-version 9.8"
        Command to delete snapshots: "snapshot prepare-for-revert -node
       <nodename>"
    
       Delete all user-created policies of the type active-strict-sync-mirror
       and active-sync-mirror.
       The command to see all active-strict-sync-mirror and active-sync-mirror
       type policies is:
        snapmirror policy show -type
       active-strict-sync-mirror,active-sync-mirror
       The command to delete a policy is :
        snapmirror policy delete -vserver <SVM-name> -policy <policy-name>

有关还原集群的信息,请参见 "还原 ONTAP"