Forum Discussion

rkarch's avatar
rkarch
Level 0
3 months ago

Verifying that primary and dr clusters replication is synced

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

  • 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

  • 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