cancel
Showing results for 
Search instead for 
Did you mean: 

Verifying that primary and dr clusters replication is synced

rkarch
Level 0

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.

2 REPLIES 2

EdwardC
Level 3
Employee

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


frankgfan
Moderator
Moderator
   VIP   

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