- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Serviceguard - cmgetconf and cmquerycl giving ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2009 11:22 AM
12-01-2009 11:22 AM
Serviceguard - cmgetconf and cmquerycl giving diffrent information.
My understanding was cmquerycl will probe and check all the hardware and configuration setup and it will create an updated file with latest information.
But in cmquerycl gives a diffrent data old data.
In cmgetconf its giving the currect conf.
#cmgetconf -v -c sm-loadbalance /home/vijayaru/cluster.ascii
omckscl2:/etc/cmcluster# cat /home/vijayaru/cluster.ascii |grep -v ^# |grep -v ^$ |more
CLUSTER_NAME sm-loadbalance
FIRST_CLUSTER_LOCK_VG /dev/vg01
NODE_NAME omckscl1
NETWORK_INTERFACE lan2
HEARTBEAT_IP 99.232.0.35
NETWORK_INTERFACE lan3
HEARTBEAT_IP 99.232.1.35
NETWORK_INTERFACE lan0
STATIONARY_IP 138.35.236.35
NETWORK_INTERFACE lan6
FIRST_CLUSTER_LOCK_PV /dev/dsk/c4t0d0
NODE_NAME omckscl2
NETWORK_INTERFACE lan2
HEARTBEAT_IP 99.232.0.36
NETWORK_INTERFACE lan3
HEARTBEAT_IP 99.232.1.36
NETWORK_INTERFACE lan0
STATIONARY_IP 138.35.236.36
NETWORK_INTERFACE lan6
FIRST_CLUSTER_LOCK_PV /dev/dsk/c4t0d0
HEARTBEAT_INTERVAL 1000000
NODE_TIMEOUT 8000000
AUTO_START_TIMEOUT 600000000
NETWORK_POLLING_INTERVAL 2000000
NETWORK_FAILURE_DETECTION INOUT
MAX_CONFIGURED_PACKAGES 150
VOLUME_GROUP /dev/vg01
Standard input: END
When I tried cmquerycl I got this,
#cmquerycl -C Newconf -n omckscl1 -n omckscl2
omckscl2:/etc/cmcluster# cat Newconf |grep -v ^# |grep -v ^$
CLUSTER_NAME cluster1
FIRST_CLUSTER_LOCK_VG
NODE_NAME omckscl1
NETWORK_INTERFACE lan0
HEARTBEAT_IP 138.35.236.35
NETWORK_INTERFACE lan6
NETWORK_INTERFACE lan2
STATIONARY_IP 99.232.0.35
NETWORK_INTERFACE lan1
NETWORK_INTERFACE lan3
STATIONARY_IP 99.232.1.35
NETWORK_INTERFACE lan7
STATIONARY_IP 99.232.14.35
FIRST_CLUSTER_LOCK_PV
NODE_NAME omckscl2
NETWORK_INTERFACE lan0
HEARTBEAT_IP 138.35.236.36
NETWORK_INTERFACE lan6
NETWORK_INTERFACE lan2
STATIONARY_IP 99.232.0.36
NETWORK_INTERFACE lan1
NETWORK_INTERFACE lan3
STATIONARY_IP 99.232.1.36
NETWORK_INTERFACE lan7
STATIONARY_IP 99.232.14.36
FIRST_CLUSTER_LOCK_PV
HEARTBEAT_INTERVAL 1000000
NODE_TIMEOUT 2000000
AUTO_START_TIMEOUT 600000000
NETWORK_POLLING_INTERVAL 2000000
NETWORK_FAILURE_DETECTION INOUT
MAX_CONFIGURED_PACKAGES 150
Any one know why cmquerycl gives wrong old data??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2009 11:50 AM
12-01-2009 11:50 AM
Re: Serviceguard - cmgetconf and cmquerycl giving diffrent information.
The two commands are reporting on different cluster configurations. One is cluster1 the other is sm-loadbalance.
I can only conclude that one or the other is using an outdated configuration file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2009 01:08 PM
12-01-2009 01:08 PM
Re: Serviceguard - cmgetconf and cmquerycl giving diffrent information.
your both configurations are showing different clusters. but if you want to have an updated conf for the cluster, you can use cmgetconf for that. it will read the cluster binary file to fetch out the information.
whereas cmquerycl search for the nodes specified for the cluster and LVM information.
Here are the difference between two:-
cmquerycl searches all specified nodes for cluster configuration and Logical Volume Manager (LVM) information. Cluster configuration information includes network information such as LAN interface, IP addresses, bridged networks and possible heartbeat networks. LVM information includes volume group (VG) interconnection and file system mount point information.
cmgetconf obtains either the cluster configuration, not including the package configuration, or the specified package's configuration information, and writes to either the output_filename file, or to stdout. This command can be run whether the cluster is up or down. If neither cluster_name nor package_name is specified, cmgetconf will obtain the local cluster's configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2009 09:49 PM
12-01-2009 09:49 PM
Re: Serviceguard - cmgetconf and cmquerycl giving diffrent information.
So cmquerycl gives wrong out pout here. So we can not depend on its out put for any change in the cluster.
Even the HB IP cmquerycl shows is also wrong.
So we need to take the cmgetconf output only rite?
is its always better to use cmgetconf for the cluster correct conf??
Currently the cluster having two HB IPs, and the server is having one free Lan card.
Applications needs a NIC with bonding for redundancy. But there is only one NIC free (say lanX) in the server. However, there are two NIC are use for HB IPs in the cluster.
I want to remove the second HB IP card from the cluster and create a bonding (APA) with that card and the other free card (lanX) in the server for card redundancy.
Then add lan900:1 as second HB IP card in the cluster. And Use 900:2 for application.
Out of these two HB IP I believe one is cross cable connection between the two servers and other is connected through Switch.
How can confirm this?
Which NIC is recomended to be removed from cluster for bonding? Swich connected NIC or cross cabled NIC?
Is it possible?
Could any one provide the procedure for this?
Thanks,
Arun Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2009 06:53 AM
12-02-2009 06:53 AM
Re: Serviceguard - cmgetconf and cmquerycl giving diffrent information.
1. yes, always use cmgetconf for the correct cluster configuration.
2. Cross cabled Lan is for dedicated HBs and Lan from switch are providing you the external network access. your application needs the external connectivity, so better use the LAN from switch for your APA.
you can proceed as have a lan900 from apa and use it in the cluster conf and make lan900:1 for your application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2009 08:20 AM
12-02-2009 08:20 AM
Re: Serviceguard - cmgetconf and cmquerycl giving diffrent information.
Is it possible to use the APA NIC for cluster HB IP?
After a server reboot, while the cluster is getting started, it will look for the APA NIC lan900. By the time the whether the APA will be activated and ready for the usage?
Thanks,
Arun Vijay