The SRDF agent log will show the following after SRDF agent debugging has been enabled:
2018/01/11 15:50:06 VCS DBG_1 SRDF:SRDF_1:online:Attribute ConfValidate not found in the argument list.
2018/01/11 15:50:07 VCS DBG_AGDEBUG script (/opt/VRTSvcs/bin/SRDF/online) exited with status (0)
To enable SRDF agent debugging:
# haconf -makerw
# hatype –modify SRDF LogDbg DBG_1 DBG_2 DBG_3 DBG_4 DBG_5 DBG_AGINFO DBG_AGDEBUG DBG_AGTRACE
# haconf -dump -makero
To disable SRDF agent debug (After the issue has reoccurred):
# haconf -makerw
# hatype –modify SRDF LogDbg -delete DBG_1 DBG_2 DBG_3 DBG_4 DBG_5 DBG_AGINFO DBG_AGDEBUG DBG_AGTRACE
# haconf -dump -makero
The /etc/VRTSvcs/conf/config/SRDFTypes.cf file doesn't contain the 'ConfValidate' attribute in the 'ArgList.' This is the reason why the resource online operation was failing:
# cat /etc/VRTSvcs/conf/config/SRDFTypes.cftype SRDF (
static keylist RegList = { ComputeDRSLA }
static int ActionTimeout = 180
static keylist SupportedActions = { update, ld2pd, PreSwitch, StartRPOComputation, StopRPOComputation, ReportRPOData, StartWriter, GetCurrentRPO, dev_scan }
static int MonitorInterval = 300
static int OfflineMonitorInterval = 0
static int OpenTimeout = 180
static int RestartLimit = 1
static str ArgList[] = { SymHome, GrpName, DevFOTime, AutoTakeover, SplitTakeover, Mode, IsCompositeGroup, SwapRoles, DetailedMonitoring, SymapiServers, ComputeDRSLA, LinkMonitor, AdvancedOpts }
str SymHome = "/usr/symcli"
str GrpName
int DevFOTime = 2
boolean AutoTakeover
boolean SplitTakeover
str Mode
boolean IsCompositeGroup
int SwapRoles = 1
int DetailedMonitoring = 0
str SymapiServers[]
int ComputeDRSLA
temp boolean Tagging = 0
temp str VCSResLock
temp int Counter = 0
temp str PrevState = "normal"
int LinkMonitor = 0
int ConfValidate = 0
str AdvancedOpts{} = { ExtendMonitor = null }
)
You can work around this issue by running the following command to add the "ConfValidate" field:
# /etc/VRTSvcs/conf/sample_srdf/addSRDFType.sh
Infoscale has also released latest SRDF agent version which contains the fix for this issue:
https://downloads.infoscale.com/tools/high-availability-agents
"'ConfValidate not found" is returned when the SRDF agent attempts to go online.