05-21-2013 05:14 PM
[root@system1]# /opt/VRTSvcs/bin/hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A system1 RUNNING 0
A system2 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService system1 Y N ONLINE
B ClusterService system2 Y N OFFLINE
B appsGroup system1 N N PARTIAL
B appsGroup system2 N N OFFLINE
B vxfen system1 Y N OFFLINE
B vxfen system2 Y N OFFLINE
-- RESOURCES NOT PROBED
-- Group Type Resource System
E appsGroup IP SysIP system1
E appsGroup IP SysIP system2
E appsGroup Mount mntGroup system1
E appsGroup Mount mntGroup system2
E appsGroup NIC SysNIC system1
E appsGroup NIC SysNIC system2
cant get my SysIP online because the resource has not been probed how do you probe the appsgroups in bold
thanks
mig31
Solved! Go to Solution.
05-21-2013 07:35 PM
Hi, MiG
NIC resource not probed, need check if device name is right in your configuration.
ifconfig -a check if nic device is there and plumbed.
for IP resource, check if ip is online, by check ifconfig -a, netstat -in.
for mount resource, check df -k output, mount -v output, if file system has mounted.
Or you can paste output of:
1. hares -display
2.ifconfig -a
3.df -k
4. netstat -in
For help you check.
05-21-2013 07:35 PM
Hi, MiG
NIC resource not probed, need check if device name is right in your configuration.
ifconfig -a check if nic device is there and plumbed.
for IP resource, check if ip is online, by check ifconfig -a, netstat -in.
for mount resource, check df -k output, mount -v output, if file system has mounted.
Or you can paste output of:
1. hares -display
2.ifconfig -a
3.df -k
4. netstat -in
For help you check.
05-21-2013 07:48 PM
Hi mig31,
To probe the resource SysIP:
hares -probe SysIP -sys system1
hares -probe SysIP -sys system2
But sometimes resource cannot be probed if the resource is not enabled or the file types.cf is corrupted.
So pls try to enable resource before probe:
hagrp -enableresources appsGroup
If it's still cannot do probe, check the file /etc/VRTSvcs/conf/config/types.cf and copy a good one from another server which is function properly.
05-21-2013 10:36 PM
hey Starfly thats the output of the commands you had listed, Stinsong checked on the /etc/VRTSvcs/conf/config/types.cf copied the updated one but still didnt probe the resources
[root@system1:~]# /opt/VRTSvcs/bin/hagrp -enableresources appsGroup
[root@system1:~]# /opt/VRTSvcs/bin/hares -probe SysIP -sys system1
[root@system1:~]# /opt/VRTSvcs/bin/hares -probe mntGroup -sys system1
[root@system1:~]# /opt/VRTSvcs/bin/hares -probe SysNIC -sys system1
[root@system1:~]# /opt/VRTSvcs/bin/hares -probe SysNIC -sys system1
[root@system1:~]# /opt/VRTSvcs/bin/hares -online SysIP -sys system1
VCS WARNING V-16-1-10283 Resource has not been probed on system system1
[root@system1:~]# /opt/VTRSvcs/bin/hares -display
appsDG TriggersEnabled global
appsDG UmountVolumes global 0
appsDG tempUseFence global SCSI3
appsDG MonitorTimeStats system1 Avg 0 TS
appsDG MonitorTimeStats system2 Avg 0 TS
#
coordpoint Group global vxfen
coordpoint Type global CoordPoint
coordpoint AutoStart global 1
coordpoint Critical global 1
coordpoint Enabled global 1
coordpoint LastOnline global system1
coordpoint MonitorOnly global 0
coordpoint ResourceOwner global
coordpoint TriggerEvent global 0
coordpoint ArgListValues system1 FaultTolerance 1 1
coordpoint ArgListValues system2 FaultTolerance 1 1
coordpoint ConfidenceLevel system1 100
coordpoint ConfidenceLevel system2 100
coordpoint ConfidenceMsg system1
coordpoint ConfidenceMsg system2
coordpoint Flags system1
coordpoint Flags system2
coordpoint IState system1 not waiting
coordpoint IState system2 not waiting
coordpoint MonitorMethod system1 Traditional
coordpoint MonitorMethod system2 Traditional
coordpoint Probed system1 1
coordpoint Probed system2 1
coordpoint Start system1 0
coordpoint Start system2 0
coordpoint State system1 ONLINE
coordpoint State system2 ONLINE
coordpoint ComputeStats global 0
coordpoint ContainerInfo global Type Name Enabled
coordpoint FaultTolerance global 1
coordpoint ResContainerInfo global Type Name Enabled
coordpoint ResourceRecipients global
coordpoint TriggerPath global
coordpoint TriggerResRestart global 0
coordpoint TriggerResStateChange global 0
coordpoint TriggersEnabled global
coordpoint MonitorTimeStats system1 Avg 0 TS
coordpoint MonitorTimeStats system2 Avg 0 TS
coordpoint ResourceInfo system1 State Valid Msg TS Wed May 22 05:23:40 2013
coordpoint ResourceInfo system2 State Valid Msg TS Wed May 22 05:22:06 2013
#
csgnic Group global ClusterService
csgnic Type global NIC
csgnic AutoStart global 1
csgnic Critical global 1
csgnic Enabled global 1
csgnic LastOnline global system1
csgnic MonitorOnly global 0
csgnic ResourceOwner global
csgnic TriggerEvent global 0
csgnic ArgListValues system1 Device 1 bond0 PingOptimize 1 1 Mii 1 1 NetworkHosts 0
csgnic ArgListValues system2 Device 1 bond0 PingOptimize 1 1 Mii 1 1 NetworkHosts 0
csgnic ConfidenceLevel system1 100
csgnic ConfidenceLevel system2 100
csgnic ConfidenceMsg system1
csgnic ConfidenceMsg system2
csgnic Flags system1
csgnic Flags system2
csgnic IState system1 not waiting
csgnic IState system2 not waiting
csgnic MonitorMethod system1 Traditional
csgnic MonitorMethod system2 Traditional
csgnic Probed system1 1
csgnic Probed system2 1
csgnic Start system1 0
csgnic Start system2 0
csgnic State system1 ONLINE
csgnic State system2 ONLINE
csgnic ComputeStats global 0
csgnic ContainerInfo global Type Name Enabled
csgnic Device global bond0
csgnic Mii global 1
csgnic NetworkHosts global
csgnic PingOptimize global 1
csgnic ResContainerInfo global Type Name Enabled
csgnic ResourceInfo global State Valid Msg TS
csgnic ResourceRecipients global
csgnic TriggerPath global
csgnic TriggerResRestart global 0
csgnic TriggerResStateChange global 0
csgnic TriggersEnabled global
csgnic MonitorTimeStats system1 Avg 0 TS
csgnic MonitorTimeStats system2 Avg 0 TS
#
mntGroup Group global appsGroup
mntGroup Type global Mount
mntGroup AutoStart global 1
mntGroup Critical global 1
mntGroup Enabled global 1
mntGroup LastOnline global
mntGroup MonitorOnly global 0
mntGroup ResourceOwner global
mntGroup TriggerEvent global 0
mntGroup ArgListValues system1 MountPoint 1 /mntpoint BlockDevice 1 /dev/vx/dsk/appsdg/Volname FSType 1 vxfs MountOpt 1 "" FsckOpt 1 "" SnapUmount 10 CkptUmount 1 1 OptCheck 1 0 CreateMntPt 1 0 MntPtPermission 1 "" MntPtOwner 1 "" MntPtGroup 1 "" AccessPermissionChk 1 0 RecursiveMnt 1 0 VxFSMountLock 1 0
mntGroup ArgListValues system2 MountPoint 1 /mntpoint BlockDevice 1 /dev/vx/dsk/appsdg/Volname FSType 1 vxfs MountOpt 1 "" FsckOpt 1 "" SnapUmount 10 CkptUmount 1 1 OptCheck 1 0 CreateMntPt 1 0 MntPtPermission 1 "" MntPtOwner 1 "" MntPtGroup 1 "" AccessPermissionChk 1 0 RecursiveMnt 1 0 VxFSMountLock 1 0
mntGroup ConfidenceLevel system1 0
mntGroup ConfidenceLevel system2 0
mntGroup ConfidenceMsg system1
mntGroup ConfidenceMsg system2
mntGroup Flags system1 |STATE UNKNOWN|
mntGroup Flags system2 |STATE UNKNOWN|
mntGroup IState system1 not waiting
mntGroup IState system2 not waiting
mntGroup MonitorMethod system1 Traditional
mntGroup MonitorMethod system2 Traditional
mntGroup Probed system1 0
mntGroup Probed system2 0
mntGroup Start system1 0
mntGroup Start system2 0
mntGroup State system1 OFFLINE|STATE UNKNOWN
mntGroup State system2 OFFLINE|STATE UNKNOWN
mntGroup AccessPermissionChk global 0
mntGroup BlockDevice global /dev/vx/dsk/appsdg/Volname
mntGroup CkptUmount global 1
mntGroup ComputeStats global 0
mntGroup ContainerInfo global Type Name Enabled
mntGroup CreateMntPt global 0
mntGroup FSType global vxfs
mntGroup FsckOpt global
mntGroup MntPtGroup global
mntGroup MntPtOwner global
mntGroup MntPtPermission global
mntGroup MountOpt global
mntGroup MountPoint global /mntpoint
mntGroup OptCheck global 0
mntGroup RecursiveMnt global 0
mntGroup ResContainerInfo global Type Name Enabled
mntGroup ResourceInfo global State Valid Msg TS
mntGroup ResourceRecipients global
mntGroup ReuseMntPt global 0
mntGroup SnapUmount global 0
mntGroup TriggerPath global
mntGroup TriggerResRestart global 0
mntGroup TriggerResStateChange global 0
mntGroup TriggersEnabled global
mntGroup VxFSMountLock global 0
mntGroup MonitorTimeStats system1 Avg 0 TS
mntGroup MonitorTimeStats system2 Avg 0 TS
#
webip Group global ClusterService
webip Type global IP
webip AutoStart global 1
webip Critical global 1
webip Enabled global 1
webip LastOnline global system1
webip MonitorOnly global 0
webip ResourceOwner global
webip TriggerEvent global 0
webip ArgListValues system1 Device 1 bond0 Address 1 10.152.179.8 NetMask 1 255.255.255.0 PrefixLen 11000 Options 1 "" IPOptions 1 "" IPRouteOptions 1""
webip ArgListValues system2 Device 1 bond0 Address 1 10.152.179.8 NetMask 1 255.255.255.0 PrefixLen 11000 Options 1 "" IPOptions 1 "" IPRouteOptions 1""
webip ConfidenceLevel system1 100
webip ConfidenceLevel system2 0
webip ConfidenceMsg system1
webip ConfidenceMsg system2
webip Flags system1
webip Flags system2
webip IState system1 not waiting
webip IState system2 not waiting
webip MonitorMethod system1 Traditional
webip MonitorMethod system2 Traditional
webip Probed system1 1
webip Probed system2 1
webip Start system1 1
webip Start system2 0
webip State system1 ONLINE
webip State system2 OFFLINE
webip Address global 10.152.179.8
webip ComputeStats global 0
webip ContainerInfo global Type Name Enabled
webip Device global bond0
webip IPOptions global
webip IPRouteOptions global
webip NetMask global 255.255.255.0
webip Options global
webip PrefixLen global 1000
webip ResContainerInfo global Type Name Enabled
webip ResourceInfo global State Valid Msg TS
webip ResourceRecipients global
webip TriggerPath global
webip TriggerResRestart global 0
webip TriggerResStateChange global 0
webip TriggersEnabled global
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
bond0 1500 0 298176 0 0 0 187095 0 0 0 BMmRU
bond0:0 1500 0 - no statistics available - BMmRU
eth0 1500 0 180966 0 0 0 187095 0 0 0 BMsRU
eth1 1500 0 117210 0 0 0 0 0 0 0 BMsRU
eth2 1500 0 51859 0 0 0 85 0 0 0 BMRU
eth5 1500 0 309969 0 0 0 322662 0 0 0 BMRU
eth7 1500 0 309948 0 0 0 322562 0 0 0 BMRU
lo 16436 0 121071 0 0 0 121071 0 0 0 LRU
05-21-2013 11:50 PM
as per the latest output, only mntGroup is not probed. the state is shown as 'UNKNOWN' . please check the configuration for this resource. also look at the agent's log.
mntGroup Flags system1 |STATE UNKNOWN|
mntGroup Flags system2 |STATE UNKNOWN|
mntGroup Probed system1 0
mntGroup Probed system2 0
mntGroup State system1 OFFLINE|STATE UNKNOWN
mntGroup State system2 OFFLINE|STATE UNKNOWN
05-22-2013 12:05 AM
Hi mig31,
Could you paste the configure file of VCS: /etc/VRTSvcs/conf/config/main.cf for our reference ?
05-22-2013 12:53 AM
The reason the Mount resource is not probed is probably because attribute FsckOpt is not set and this is a mandatory attribute so you should set this:
hares -modify mntGroup FsckOpt "%-y"
This will set FsckOpt to "-y" - the "%" is just so "-" doesn't get interpreted as a meaning a flag to "hares" command.
Mike
05-22-2013 03:46 AM
Mike is correct regarding the Mount resource - set the required attribute as instructed then see if it will probe.
Regarding the IP and NIC resources - half of the resource config details are missing from the previous output you provided. Please provide the relevant details:
# hares -display SysIP SysNIC
05-22-2013 03:52 AM
Thanks mike the the Hares -modify mntGroup Fsckopt worked well the mount is online.
Stinsong thats the VRTSvcs/conf/config/main.cf
[root@system1:38262_02]# cat /etc/VRTSvcs/conf/config/main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "Db2udbTypes.cf"
include "OracleTypes.cf"
include "SybaseTypes.cf"
cluster vzid_hsf (
UserNames = { admin = HMNfMHmJNiNNlVNhMK }
ClusterAddress = "10.152.179.8"
Administrators = { admin }
UseFence = SCSI3
)
system system1 (
)
system system2 (
)
group ClusterService (
SystemList = { system1 = 0, system2 = 1 }
AutoStartList = { system1, system2 }
OnlineRetryLimit = 3
OnlineRetryInterval = 120
)
IP webip (
Device = bond0
Address = "10.152.179.8"
NetMask = "255.255.255.0"
)
NIC csgnic (
Device = bond0
)
webip requires csgnic
// resource dependency tree
//
// group ClusterService
// {
// IP webip
// {
// NIC csgnic
// }
// }
group appsGroup (
SystemList = { system1 = 1, system2 = 2 }
)
DiskGroup appsDG (
DiskGroup = appsdg
StartVolumes = 0
)
IP SysIP (
Device = "bond0:0"
Address = "10.152.179.8"
)
Mount mntGroup (
MountPoint = "/mntpoint"
BlockDevice = "/dev/vx/dsk/appsdg/Volname"
FSType = vxfs
)
NIC SysNIC (
)
Volume VolGroup (
DiskGroup = appsdg
Volume = volname
)
SysIP requires SysNIC
// resource dependency tree
//
// group appsGroup
// {
// IP SysIP
// {
// NIC SysNIC
// }
// Volume VolGroup
// DiskGroup appsDG
// Mount mntGroup
// }
group vxfen (
SystemList = { system1 = 0, system2 = 1 }
AutoFailOver = 0
Parallel = 1
)
CoordPoint coordpoint (
FaultTolerance = 1
)
// resource dependency tree
//
// group vxfen
// {
// CoordPoint coordpoint
//
-- SYSTEM STATE
-- System State Frozen
A system1 RUNNING 0
A system2 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService system1 Y N ONLINE
B ClusterService system2 Y N OFFLINE
B appsGroup system1 N N PARTIAL
B appsGroup system2 N N OFFLINE
B vxfen system1 Y N OFFLINE
B vxfen system2 Y N OFFLINE
-- RESOURCES NOT PROBED
-- Group Type Resource System
E appsGroup IP SysIP system1
E appsGroup IP SysIP system2
E appsGroup NIC SysNIC system1
E appsGroup NIC SysNIC system2
-- RESOURCES ONLINING
-- Group Type Resource System IState
the appGroup in system 1 and 2 are not probed
thanks mig31
05-22-2013 04:07 AM
Hey g_lee thats the output
[root@system1:38262_02]# /opt/VRTSvcs/bin/hares -display SysIP
#Resource Attribute System Value
SysIP Group global appsGroup
SysIP Type global IP
SysIP AutoStart global 1
SysIP Critical global 1
SysIP Enabled global 1
SysIP LastOnline global
SysIP MonitorOnly global 0
SysIP ResourceOwner global
SysIP TriggerEvent global 0
SysIP ArgListValues system1 Device 1 bond0:0Address 1 10.152.179.8 NetMask 1 "" PrefixLen 1 1000 Options 1 "" IPOptions 1 "" IPRouteOptions 1""
SysIP ArgListValues system2 Device 1 bond0:0Address 1 10.152.179.8 NetMask 1 "" PrefixLen 1 1000 Options 1 "" IPOptions 1 "" IPRouteOptions 1""
SysIP ConfidenceLevel system1 0
SysIP ConfidenceLevel system2 0
SysIP ConfidenceMsg system1
SysIP ConfidenceMsg system2
SysIP Flags system1 |STATE UNKNOWN|
SysIP Flags system2 |STATE UNKNOWN|
SysIP IState system1 not waiting
SysIP IState system2 not waiting
SysIP MonitorMethod system1 Traditional
SysIP MonitorMethod system2 Traditional
SysIP Probed system1 0
SysIP Probed system2 0
SysIP Start system1 0
SysIP Start system2 0
SysIP State system1 OFFLINE|STATE UNKNOWN
SysIP State system2 OFFLINE|STATE UNKNOWN
SysIP Address global 10.152.179.8
SysIP ComputeStats global 0
SysIP ContainerInfo global Type Name Enabled
SysIP Device global bond0:0
SysIP IPOptions global
SysIP IPRouteOptions global
SysIP NetMask global
SysIP Options global
SysIP PrefixLen global 1000
SysIP ResContainerInfo global Type Name Enabled
SysIP ResourceInfo global State Valid Msg TS
SysIP ResourceRecipients global
SysIP TriggerPath global
SysIP TriggerResRestart global 0
SysIP TriggerResStateChange global 0
SysIP TriggersEnabled global
SysIP MonitorTimeStats system1 Avg 0 TS
SysIP MonitorTimeStats system2 Avg 0 TS
[root@system1:38262_02]# /opt/VRTSvcs/bin/hares -display SysNIC
#Resource Attribute System Value
SysNIC Group global appsGroup
SysNIC Type global NIC
SysNIC AutoStart global 1
SysNIC Critical global 1
SysNIC Enabled global 1
SysNIC LastOnline global system1
SysNIC MonitorOnly global 0
SysNIC ResourceOwner global
SysNIC TriggerEvent global 0
SysNIC ArgListValues system1 Device 1 "" PingOptimize 1 1 Mii 1 1 NetworkHosts 0
SysNIC ArgListValues system2 Device 1 "" PingOptimize 1 1 Mii 1 1 NetworkHosts 0
SysNIC ConfidenceLevel system1 0
SysNIC ConfidenceLevel system2 0
SysNIC ConfidenceMsg system1
SysNIC ConfidenceMsg system2
SysNIC Flags system1 |STATE UNKNOWN|
SysNIC Flags system2 |STATE UNKNOWN|
SysNIC IState system1 not waiting
SysNIC IState system2 not waiting
SysNIC MonitorMethod system1 Traditional
SysNIC MonitorMethod system2 Traditional
SysNIC Probed system1 0
SysNIC Probed system2 0
SysNIC Start system1 0
SysNIC Start system2 0
SysNIC State system1 ONLINE|STATE UNKNOWN
SysNIC State system2 ONLINE|STATE UNKNOWN
SysNIC ComputeStats global 0
SysNIC ContainerInfo global Type Name Enabled
SysNIC Device global
SysNIC Mii global 1
SysNIC NetworkHosts global
SysNIC PingOptimize global 1
SysNIC ResContainerInfo global Type Name Enabled
SysNIC ResourceInfo global State Valid Msg TS
SysNIC ResourceRecipients global
SysNIC TriggerPath global
SysNIC TriggerResRestart global 0
SysNIC TriggerResStateChange global 0
SysNIC TriggersEnabled global
SysNIC MonitorTimeStats system1 Avg 0 TS
SysNIC MonitorTimeStats system2 Avg 0 TS
Thanks mig31
05-22-2013 05:09 AM
You have not populated mandatory fields so the issue with NIC and IP is the same as the mount - you should read the bundled agents guide to see what attributes are mandantory:
IP - Required attributes:
05-22-2013 07:19 AM
Agree with what Mike has said above, with one exception:
you have set PrefixLen for SysIP to 1000
SysIP PrefixLen global 1000
This is not a valid value. Per bundled agents guide (eg: https://sort.symantec.com/public/documents/sfha/6.0.1/solaris/productguides/html/vcs_bundled_agents/ch03s02s05.htm )
PrefixLen
This is the prefix for the IPv6 address represented as the CIDR value.
When you use the IPv6 protocol, you must configure values for this attribute and the corresponding NIC agent's Device and Protocol attributes.
Type-dimension: integer-scalar
Range: 1 - 128
Example: 64
Suggest setting the attributes Mike has pointed out above, if you still have issues then check the Bundled Agents guide to ensure you haven't missed anything else.
05-22-2013 09:39 PM
Hi MIG31,
From the main.cf could clearly find out the reason why SysIP and SysNIC not probed, which does like why the mnt resource not probe. There is no netmask for IP and no device for NIC.
And since you use bond0 for SysIP too as WebIP, configure a proxy resource of SysNIC is proper way.
So change the configuration to this :
IP SysIP (
Device = "bond0"
Address = "10.152.179.8"
NetMask = "255.255.255.0"
)
Proxy SysNIC (
TargetResName = csgnic
)
SysIP requires SysNIC
You don't need to configure bond0:0 in the main.cf, system will configure it as bond0:0 automatically.
05-23-2013 02:38 AM
RESOURCES NOT PROBED can be mean:
Note if the wrong attributes are specified, the probe is quite often successful - in that it reports offline as oppose to unknown (NOT PROBED) and so if you had specified a Device for your NIC and it was wrong, then I THINK VCS would have reported it as offline as oppose to NOT PROBED.
The issue in this case appears to be 2 as mandatory attributes were not specified.
Mike
05-23-2013 08:22 AM
Hi Mike, Stinsong, g_lee thanks for your support I was swamped yesterday, i could not respond to your replies I am sorry
Mig31
05-23-2013 08:25 AM
Thanks, Mike sorry for not responding to your reply it really helped me
Thanks,
MIG31
05-23-2013 08:27 AM
g_lee thanks for support sorry i was swamped yesterday i couldnt reply on your comments
Thanks
MIG31