监视 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