Operating System - HP-UX
1834207 Members
2702 Online
110066 Solutions
New Discussion

errors when I run cmapplyconf

 
SOLVED
Go to solution
Hanry Zhou
Super Advisor

errors when I run cmapplyconf

I am getting the following erros when I fist time run cmapplyconf. My question is following:

1. how do we know if lan1 can talk to itself or not? Since the lan1 is supposed to be standby lan card. there is no IP assigned at this point.

2. Do I need to start up any cluster daemon in order to run cmapplyconf?

3. what is "Error: detected a partition of IP subnet..." mean?

==========================

Warning: Network interface lan1 on node xyz01 couldn't talk to itself.
Error: lan1 on node xyz01 cannot be configured in the cluster
because it does not have an IP address, and it is not a standby lan for any oth
er lan.
Error: Detected a partition of IP subnet 10.1.1.0.
Partition 1
xyz01 lan2
Partition 2
xyz99 lan2
Failed to evaluate network
cmapplyconf : Unable to reconcile configuration file /etc/cmcluster/cmclconf.as
cii with discovered configuration information.
none
6 REPLIES 6
Uday_S_Ankolekar
Honored Contributor

Re: errors when I run cmapplyconf

run cmscancl for a detailed analysis of your network settings.
Did cmchcekconf worked well?

-USA..
Good Luck..
Steven E. Protter
Exalted Contributor

Re: errors when I run cmapplyconf

1. Well you should be able to ping lan1 at the very start, before bringing up the cluster.

There should be further information int he cluster logs in /etc/cmcluster to assist in diagnosis.

This may have to do with network setting in general.

I'd step back, bring down the cluster and see if the network settings in /etc/rc.config.d/ make sense.

With HP-UX you can not have two nic cards on the same network. Linux doesn't seem to care about that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor
Solution

Re: errors when I run cmapplyconf

Make sure that lan1 on both servers are connected to a switch - and in same vlan (if your site does that sort of thing).

As a test - you can manually bring up the interface on both nodes - and see if you can ping.

Actually - you can also just use the linkloop command to go from mac address to mac address.

A lot of network errors stem from missing info in /etc/hosts

ips of all cluster hostsnames, as well as 127.0.0.1

I also have hosts first in nsswitch.conf - then DNS

Rgds..Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Nguyen Anh Tien
Honored Contributor

Re: errors when I run cmapplyconf

Hi Hanry
1,I am getting the following erros when I fist time run cmapplyconf. My question is following:
#cmscancl -n node1 -n node2
2. Do I need to start up any cluster daemon in order to run cmapplyconf?
NO
3. what is "Error: detected a partition of IP subnet..." mean?
Check your required patches.What version of MC-SG do you use?
HP is simple
Mohanasundaram_1
Honored Contributor

Re: errors when I run cmapplyconf

HI Hanry,

If lan1 is your standby LAN, then it should not have any IP onfigured on it. You will get this error
-----------------------------------------
Error: lan1 on node xyz01 cannot be configured in the cluster because it does not have an IP address, and it is not a standby lan for any other lan.
---------------------------------------------

Check with ifconfig lan1

if this shows any IP address on LAN1 or even 0.0.0.0 for the IP portion, then you have to remove it.

use unplumb lan1 and then 0.0.0.0 will go off.
Before giving cmapplyconf, you should check the physical connectivity between the LANs using linkloop. Once you confirm all LAN adapters are accessible from each other, you can then give cmcheckconf and cmapplyconf.

With regards,
MOhan.
Attitude, Not aptitude, determines your altitude
melvyn burnard
Honored Contributor

Re: errors when I run cmapplyconf

1) Use linkloop from other NIC's/nodes to test for connectivity. As this lan is not configured, ping is useless.
This error is usually caused by someform of network hardware issue.

2) No, the cmapplyconf does that for you.

3) It means that there is a basic split, or partition (like a wall) in your link connectivity.

One good test here is to use cmquerycl as a troubleshooting tool.
Run this and see what it reports about your cards.
Another item to remember is that you should apply the latest SG patch to your systems.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!