VERITAS Volume Replicator (VVR) - /usr/sbin/vrstat is not printing statistics

book

Article ID: 100018586

calendar_today

Updated On:

Resolution

The above issue can occur since the migrate operation results in RDS (Replicated Data Set) information getting updated on both primary and secondary side vradmind. After multiple migrate operations, stale handle to older RDS is used by vrstat to retrieve statistics resulting in the failure.
 
Restart the vradmind process to reinitialise the vrstat and vradmind associations:
 
# pkill vradmin; sleep 5; /usr/sbin/vradmind
 
If restarting vradmind does not resolve the issue, then please contact Veritas Technical Support for further assistance as code changes have been made to ensure correct and updated RDS handle is used by vrstat to retrieve statistics 
 
 
 
 

 

Issue/Introduction

VERITAS Volume Replicator (VVR) - /usr/sbin/vrstat is not printing statistics
It has been observed that after two migrate operations, the vrstat command does not output any statistics.
The /var/vx/vras/log/vradmind_log_A can be checked for recent 'vradmin migrate' operations:
For example:
2008-04-01 22:40:54 sunserver1 VxVM VVR Notice V-5-20-6505 CmdMgr TAG_D Attempting to execute command : "/usr/sbin/vradmin -g msg4dg -s migrate msg4rvg", locale = C
2008-04-01 22:40:54 sunserver1 VxVM VVR Debug V-5-20-7118 RVG TAG_F cmdname is : migrate

and the pstack of vrstat can also be checked to see if its stack is similar to the following:

12225: vrstat
ff145574 pollsys (ffbff728, 1, ffbff7b8, 0)
ff0e6ad4 pselect (ffbff728, ff1723d0, ffbff878, 40, ffbff7b8, 0) + 1c8
ff0e6e4c select (5, ffbff978, ffbff8f8, ffbff878, ffbff838, ffbff901) + a0
0004a354 __1cJIpmHandleGevents6FpnFDList_p223i_v_ (2710, ffbff978, ec4f8, fd290, 0, ffbffa78) + bd8
000365a0 main (fd448, ee870, 1, ee858, fbc48, 2007) + 408
00031518 _start (0, 0, 0, 0, 0, 0) + b8

Additional Information

ETrack: 1291519