Displaying the RLINK status

Use the vxrlink status command to display the replication status of the Secondary, represented by the specified RLINK. This command can be run only on the Primary. During normal replication, if the Secondary is not up-to-date, the command displays the number of outstanding writes, and the percentage of the Replicator Log used by this RLINK. The command also displays the status of the autosynchronization process when it is in progress.

Use the -i <interval> option to display the replication status at the specified time intervals.

The -t <timestamp> option specifies the number of lines after which the current date and time is displayed.

Use the -T option to display the units of time by which the Secondary lags if it is not up-to-date.

When failback logging is enabled this command can be used on the new Primary and the original Primary. If the vxrlink status command is used on the new Primary, the command displays the status of the RLINK corresponding to the original Primary.

After takeover, if the vxrlink status command is used on the original Primary (acting Secondary) then the command appropriately displays the status of the Replicator Log or DCM replay being performed to the new Primary.

Syntax for vxrlink status command

vxrlink [-g <diskgroup>] [-r <rvg>] [-i <interval>] 
\[-t    <timestamp>] [-T] status <rlink>

Example

vxrlink -g vvrdg -r rvg -i 5 status rlink_sec_host

Note:

Interval must be specified in seconds. If the interval (-i option) value is not specified, then the statistics are displayed only once.

vxrlink -i1 -t 10 -T status rlink_sec_host

The output resembles:

4/6/2005 11:38:21 AM
RLINK is up to date. RLINK is up to date.
RLINK has 47 outstanding writes, occupying less than 1% (2994 KB)
of the Replicator Log.
RLINK rlink_sec_host is behind by 0 hrs 0 mins 0 secs with respect
to Primary.
RLINK has 56 outstanding writes, occupying less than 1% (3591 KB)
of the Replicator Log.
RLINK rlink_sec_host is behind by 0 hrs 0 mins 0 secs with respect
to Primary.
RLINK has 102 outstanding writes, occupying less than 1% (6371 KB)
of the Replicator Log.
RLINK rlink_sec_host is behind by 0 hrs 0 mins 0 secs with respect
to Primary.
4/6/2005 11:38:31 AM
RLINK has 101 outstanding writes, occupying less than 1% (6371 KB)
of the Replicator Log.
RLINK rlink_sec_host is behind by 0 hrs 0 mins 0 secs with respect
to Primary.   :   :   :   :   :   :   :
RLINK has 40 outstanding writes, occupying less than 1% (2600 KB)
of the Replicator Log.
RLINK rlink_sec_host is behind by 0 hrs 0 mins 15 secs with respect
to Primary.
RLINK is up to date. RLINK is up to date. RLINK is up to date.
4/6/2005 11:38:54 AM
RLINK is up to date.

More Information

Performing disaster recovery operation