cancel
Showing results for 
Search instead for 
Did you mean: 

Any command from command prompt of SF for windows which tells SRL usage

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

Environment

OS = windows 2003 R@ SP2 (32bit)

SF = SFHA 5.1 SP2 R1         (32bit)

 

Query

I want to run a command from command line which can tells us the SRL status/Usage.

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

This means the SRL usage is 0 - if rlink was behind then it would say SRL has X bytes outstanding and give percentage - you can test this by downing network.  

Note also, that vxrlink status will also show you if rlink is using DCM (if SRL overflows, or in autosync, or after running a takeover)

To watch rlink catching up, then a good command to run is:
vxrlink -i 5 status 

so you can see how much the SRL or DCM is draining every 5 seconds.

Mike

View solution in original post

7 REPLIES 7

Marianne
Level 6
Partner    VIP    Accredited Certified

Have you had a look at 'vxrlink status' ?

It also shows SRL status.

Extract from VVR Admin Guide:

Syntax for vxrlink status command

 

vxrlink [-g <diskgroup>] [-r <rvg>] [-i <interval>] \[-t <timestamp>] [-T] status <rlink>
 
Example:
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 Kbytes) of the
Replicator Log.
4/6/2005 11:38:31 AM
RLINK has 101 outstanding writes, occupying less than 1%
(6371 Kbytes) 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.
4/6/2005 11:38:54 AM
RLINK is up to date.
 

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

I am only able to see below after the command .    #vxrlink -g DG status RLINKname

 

26-Nov-12 12:04:00

RLINK is up to date.

mikebounds
Level 6
Partner Accredited

This means the SRL usage is 0 - if rlink was behind then it would say SRL has X bytes outstanding and give percentage - you can test this by downing network.  

Note also, that vxrlink status will also show you if rlink is using DCM (if SRL overflows, or in autosync, or after running a takeover)

To watch rlink catching up, then a good command to run is:
vxrlink -i 5 status 

so you can see how much the SRL or DCM is draining every 5 seconds.

Mike

Marianne
Level 6
Partner    VIP    Accredited Certified

Good idea to keep small cmd window open so that the command (with -i <sec>) can keep on running.
(Similar to 'ping -t'  that we use to keep on pinging another machine.) 

As you can see the sample output in the manual (with -i <sec> also gives 2 cycles of :
RLINK is up to date.
and then shows 
outstanding writes in the next cycle  (meaning some activity occurred at this point in time).

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

Thanks both for kind words. Marking Solution +thumb :)

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

But unfortunately that command should be run on Primary Node unlike Linux we can run the repstatus command on any Site Active Node

mikebounds
Level 6
Partner Accredited

The fact that "vradmin repstatus" is not available in Windows is a pain and I don't know why this is the case.

Mike