Video Screencast Help

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

Created: 27 Nov 2012 • Updated: 27 Nov 2012 | 7 comments
Zahid.Haseeb's picture
This issue has been solved. See solution.

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.

Comments 7 CommentsJump to latest comment

Marianne's picture

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.
 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Zahid.Haseeb's picture

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.

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com

mikebounds's picture

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

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
Marianne's picture

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).

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Zahid.Haseeb's picture

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

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com

Zahid.Haseeb's picture

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

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com

mikebounds's picture

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

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below