04-30-2024 05:39 AM
Hello,
What is a cli command meaning a programmatic way to check that disk/data replication between primary/secondary and DR nodes is up-to-date and synchronized, so it is safe to failover to DR?
Thanks in advance.
04-30-2024 06:05 AM
Hello rkarch,
To check the status of replication between primary and secondary you would use vxrlink.
# vxrlink -g <dgname> -i 1 status <rlink>
Example:
# vxrlink -g datadg -i1 status rlk_192.168.60.101_datadg-rvg
Tue 30 Apr 2024 06:03:17 AM PDT
VxVM VVR vxrlink INFO V-5-1-4467 Rlink rlk_192.168.60.101_datadg-rvg is up to date
VxVM VVR vxrlink INFO V-5-1-4467 Rlink rlk_192.168.60.101_datadg-rvg is up to date
04-30-2024 07:50 PM
besides the vxrlink command mentioned, you may also use vradmin commands, like
vradmin printrvg
vradmin repstatus
please refer to vramin command manpage for the details of the command syntax