The following errors imply there are problems with accessing the SYMCLI (SYMAPI) servers:
Sample /var/VRTSvcs/log/SRDF_A.log
2023/11/29 17:33:44 VCS DBG_3 SRDF:test_srdf:monitor:run_cmd: Issuing cmd: [/opt/VRTSvcs/bin/hasys -nodeid]
2023/11/29 17:33:44 VCS DBG_3 SRDF:test_srdf:monitor:run_cmd: Issuing cmd: [/opt/VRTSvcs/bin/hares -state test_srdf ]
2023/11/29 17:33:44 VCS DBG_2 SRDF:test_srdf:monitor:FindMode:Resource is not online in any of the cluster. Cannot compute RPO.
2023/11/29 17:33:44 VCS DBG_2 SRDF:test_srdf:monitor:MainLoop: Could not find the mode. Not doing anything in this iteration.
2023/11/29 17:33:44 VCS DBG_4 SRDF:test_srdf:monitor:[monitor]: ExtendMonitor set to null or is not defined. Nothing to perform
2023/11/29 17:33:45 VCS DBG_AGDEBUG script (/opt/VRTSvcs/bin/SRDF/monitor) exited with status (100)
When SRDF devices are in a "SPLIT" state, the "SplitTakeover = 1" attribute must be defined in the /etc/VRTSvcs/conf/config/main.cf file for the SRDF related resource to go online.
Sample SRDF resource entry in the main.cf
SRDF srdflin (
GrpName = LINUXSRDF
)
The above SRDF resource is missing the "SplitTakeover = 1" attribute.
Define the "SplitTakeover = 1" attribute for the VCS SRDF agent resource in the /etc/VRTSvcs/conf/config/main.cf file as follows:
Example
group srdf_SG (
SystemList = { node1 = 0, node2 = 1 }
ClusterList = { clust1 = 0, clust2 = 1 }
Authority = 1
AutoStartList = { node1, node2 }
)
DiskGroup srdf_sg (
DiskGroup = LINUXSRDF
ClearClone = 1
DGOptions = "-o usereplicatedev=only"
ScanDisks = 1
)
Mount data (
MountPoint = "/data"
BlockDevice = "/dev/vx/dsk/LINUXSRDF/data"
FSType = vxfs
FsckOpt = "-n"
)
SRDF srdflin (
GrpName = LINUXSRDF
SplitTakeover = 1
)
data requires srdf_dg
srdf_dg requires srdflin