監控 ACFS 複製
瞭解如何監督 ACFS 複製。
使用下列命令監督 ACFS 複製:
/sbin/acfsutil repl info -c -v /mnt/acfs_gg
您可以在主要資料庫和待命資料庫上使用此命令。
例如,在掛載 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