非同期レプリケーションを使用すると、ソースからターゲット上のそのレプリカにデータを書き込むときに時間の遅延が発生します。レプリケーション遅延が迫っている、またはレプリケーションポイント目標 (RPO) を超えるときに、警告およびエラーアラートを管理者に通知するように設定できます。これらのアラートでは、ネットワークの問題、アプリケーションの問題を確認し、分析を使用してストレージアプライアンスの健全性を検査するよう管理者に求めます。
レプリケーション遅延アラートは、レプリケーションアクションの作成時または編集時に設定できます。
レプリケーション遅延アラートを設定するには、次の手順を実行します。
host_source:shares New_Project replication> action
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 =
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)
すべてのプロパティーの説明については、レプリケーションアクションのプロパティーを参照してください。
host_source:shares New_Project action (uncommitted)> commit
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%