ACFS 복제 모니터

ACFS 복제 모니터 방법을 알아봅니다.

다음 명령을 사용하여 ACFS 복제를 모니터합니다.

/sbin/acfsutil repl info -c -v /mnt/acfs_gg

primary database와 standby database 모두에서 명령을 사용할 수 있습니다.

예를 들어, ACFS가 마운트된 기본 클러스터에서 명령을 실행하면 다음과 같은 출력이 생성됩니다. 기본 클러스터에 대해 기본 상태가 실행 중이고 백그라운드 리소스가 활성인지 확인합니다.

[grid@oggclt1-node1 ~]$ /sbin/acfsutil repl info -c -v /mnt/acfs_gg
Site: Primary
Primary hostname: prim.oggclt.ggoraclevcn.com
Primary path: /mnt/acfs_gg
Primary status: Running
Background Resources: Active

Standby connect string: grid@stby.oggclt.ggoraclevcn.com
Standby path: /mnt/acfs_gg
Replication interval: 0 days, 0 hours, 0 minutes, 0 seconds
Sending primary as of: Wed Mar 06 17:12:34 2024
Status: Sending incremental differences
Lag Time: 00:00:34 (Constant mode)
Retries made: 0
Last send started at: Wed Mar 06 17:12:35 2024
Last send completed at: In progress
Next send starts at: On send completion
Replicated tags:
Data transfer compression: On
ssh strict host key checking: On
Debug log level: 3
Replication ID: 0x966f1b11

다음 예에서는 ACFS가 마운트된 대기 클러스터에서 실행되는 명령을 보여줍니다.

[grid@oggclt2-node1 ~]$ /sbin/acfsutil repl info -c -v /mnt/acfs_gg
Site: Standby
Primary hostname: prim.oggclt.ggoraclevcn.com
Primary path: /mnt/acfs_gg

Standby connect string: grid@stby.oggclt.ggoraclevcn.com
Standby path: /mnt/acfs_gg
Replication interval: 0 days, 0 hours, 0 minutes, 0 seconds
Last sync time with primary: Wed Mar 06 17:17:18 2024
Receiving primary as of: Wed Mar 06 17:17:18 2024
Status: Receive Completed
Last receive started at: Wed Mar 06 17:17:19 2024
Last receive completed at: Wed Mar 06 17:17:25 2024
Elapsed time for last receive: 0 days, 0 hours, 0 minutes, 6 seconds
Data transfer compression: On
ssh strict host key checking: On
Debug log level: 3
Replication ID: 0x966f1b11