Go to main content

Oracle® ZFS Storage Appliance 管理ガイド、Release OS8.8.x

印刷ビューの終了

更新: 2021 年 8 月
 
 

レプリケーション遅延および RPO のモニタリング (CLI)

非同期レプリケーションを使用すると、ソースからターゲット上のそのレプリカにデータを書き込むときに時間の遅延が発生します。レプリケーション遅延が迫っている、またはレプリケーションポイント目標 (RPO) を超えるときに、警告およびエラーアラートを管理者に通知するように設定できます。これらのアラートでは、ネットワークの問題、アプリケーションの問題を確認し、分析を使用してストレージアプライアンスの健全性を検査するよう管理者に求めます。

レプリケーション遅延アラートは、レプリケーションアクションの作成時または編集時に設定できます。

レプリケーション遅延アラートを設定するには、次の手順を実行します。

  1. プロジェクトまたはシェアに移動し、action と入力します。
    host_source:shares New_Project replication> action
  2. get と入力してプロパティーを表示します。
    host_source:shares New_Project action (uncommitted)> get
                     origin_pkg_id =
                            target = replication-target
                              pool = demo_pool
                           enabled = true
                        continuous = false
                     include_snaps = true
       retain_user_snaps_on_target = false
                             dedup = false
      include_clone_origin_as_data = false
                     max_bandwidth = unlimited
                        bytes_sent = 0
                    estimated_size = 0
               estimated_time_left = 00:00:00
                average_throughput = 0B/s
                           use_ssl = true
                       compression = on
                       export_path =
                             state = idle
                 state_description = Idle (no update in progress)
                    export_pending = false
                           offline = false
                       next_update = Sync now
                       replica_lag = P1H30M
            replica_data_timestamp = Wed Feb 20 2019 12:12:05 GMT+0000 (UTC)
                         last_sync = Wed Feb 20 2019 22:32:59 GMT+0000 (UTC)
                          last_try = Wed Feb 20 2019 22:32:59 GMT+0000 (UTC)
                       last_result = success
          recovery_point_objective =
         replica_lag_warning_alert =
           replica_lag_error_alert =
    
  3. 次の例に示すように、このアクションの RPO およびレプリカ遅延プロパティーを設定します。
    host_source:shares New_Project action (uncommitted)> set recovery_point_objective=50min
                             recovery_point_objective = 50 minutes (uncommitted)
    host_source:shares New_Project action (uncommitted)> set replica_lag_warning_alert=50
                                 replica_lag_warning = 50% (uncommitted)
    host_source:shares New_Project action (uncommitted)> set replica_lag_error_alert=180
                         replica_lag_error = 180% (uncommitted)

    すべてのプロパティーの説明については、レプリケーションアクションのプロパティーを参照してください。

  4. このアクションの変更を確定します。
    host_source:shares New_Project action (uncommitted)> commit
  5. アクションの現在のプロパティーを表示するには、ls と入力します。出力の RPO およびレプリカ遅延の部分は、次の例のようになります。
    host_source:shares New_Project action (uncommitted)> ls
    .
    .
                       replica_lag = P1H30M
            replica_data_timestamp = Wed Feb 20 2019 12:12:05 GMT+0000 (UTC)
                         last_sync = Wed Feb 20 2019 22:32:59 GMT+0000 (UTC)
                          last_try = Wed Feb 20 2019 22:32:59 GMT+0000 (UTC)
                       last_result = success
          recovery_point_objective = 50 minutes
         replica_lag_warning_alert = 50%
           replica_lag_error_alert = 180%
  6. アラートアクションの追加 (CLI)の説明に従ってアラートアクションを設定します。

関連トピック