비동기 복제를 사용하면 소스에서 대상의 복제본으로 데이터를 기록할 때 시간 지연이 발생합니다. 복제 지연에 근접했거나 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%