跳转到主内容

如何查看您的 SnapMirror 计划

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

适用于

  • ONTAP 9
  • SnapMirror

说明

此知识库文章介绍了如何查看和理解 SnapMirror 计划。

操作步骤

  • SnapMirror 调度使用 cron 类型的作业调度。
  • 查看当前时间表
    • 使用 snapmirror show -fields schedule 命令:
    • 这将显示分配了哪些 cron-job 计划。
    • 示例中的关系有每天、每 30 分钟、每小时和无时间表,如 - 所示。

NetappDR::> snapmirror show -fields schedule
source-path    destination-path  schedule
-------------- ----------------- --------
Alpha_SVM:VolA Bravo_SVM:VolA    daily
Alpha_SVM:VolB Bravo_SVM:VolB    Every30Min
Alpha_SVM:VolC Bravo_SVM:VolC    hourly
Prod:           Prod_DR:         -

  • 要查看 cron-jobs

使用job schedule cron show命令:

NetappDR::> job schedule cron show
Cluster     Name     Description
------------- ----------- -----------------------------------------------------
NetappDR
        5min     @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55
        8hour     @2:15,10:15,18:15
        Every30Min  @:30
        daily     @0:10
        hourly    @:05
        monthly    1@0:20
        weekly    Sun@0:15
7 entries were displayed.

  • 查看特定作业 

    • 使用job schedule cron show -name <jobname> -instance命令:

      NetappDR::> job schedule cron show -name hourly -instance

          Cluster: NetappDR
             Name: hourly
            Month: -
      Day of Week: -
              Day: -
             Hour: -
           Minute: 5
      Description: @:05

    • 上面示例中的作业在每小时的第 5 分钟运行。 

 

 

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.