Forum Discussion

mrioux's avatar
mrioux
Level 2
16 years ago

VCS SRDF Agent having issue with overwrite OnlineTimeout parameter

Hi,

For your information, we experimented problem with the SRDF Agent under VCS 5.0. Our SRDF group having more then 150 devices and the default value for OnlineTimeout need to be increase base on the formula described in the documentation. We figure that the correct value for OnlineTimeout need to be adjusted to 600 seconds. Basicaly the SRDF agent 1.0 can't use the OnlineTimeout overwrite parameter value  when performing

hares –override SRDF_myressourcename OnlineTimeout
hares –modify SRDF_myressourcename OnlineTimeout 600

A VCS Agents pack Q3 upgrade will be available soon and this issue will be fixed.


The problem can be found in the agent source code:

/opt/VRTSvcs/bin/SRDF/SRDFAgent.pm

@onlinetimeout = split('\n', `$vcs_home/bin/hatype -value SRDF OnlineTimeout`);
$self->{'onlinetimeout'} = $onlinetimeout[0];


  • A simple work-a-round to this is to just set OnlineTimeout at type level, rather than resource level.  This will mean any other SRDF resources which do not NEED a large timeout will have a timeout longer than necesary, but this doesn't really matter.  Normally the downside of setting online timeout to large is that if the resource is not going to come online, you are delaying trying another node, but since SRDF commands are run on array, not VCS node, there is little point trying another node, unless VCS node can't reach gateway device on original node.

    Agree, code needs fixing.

    Mike