Operating System - HP-UX
1758597 Members
2381 Online
108872 Solutions
New Discussion юеВ

cluster configuration file!!

 
SOLVED
Go to solution
astra
Frequent Advisor

cluster configuration file!!

Hello All,

i would like to know that how serviceguard "cmquerycl" command identifies the Network interfaces and other HW devices on the server and create a cluster configuration. The reason for asking this question is that we have two servers with the same hardware and software version but the "cmquerycl" command generates different cluster configuration file.

For example: -

On one setup

# Warning: There are no standby network interfaces for lan0,lan3
# Warning: There are no standby network interfaces for lan1,lan2.

Another setup: -

# Warning: There are no standby network interfaces for lan0.
# Warning: There are no standby network interfaces for lan1.
# Warning: There are no standby network interfaces for lan2.

Please clarify ??

Regards,
Amit
13 REPLIES 13
sujit kumar singh
Honored Contributor

Re: cluster configuration file!!

Hi Amit,


the cmquerycl command checks by using lot many commands with remsh and Superuser authority on both the nodes to gather and have a look of configuration and is intellligent enough in suggesting after analysis according to the best possible High availability config(Obviusoly on the basis of the Hardware limitation)

if you have identical server then check out that you have the Hearbeat Bridged network and that also the LAN Bridged Network in your LAN properly configured.

Then the cmquerycl shall auomatically give you the best possible Standy LAN Configs.


please check using lanascan and netstat and linkloop if possible both sam/smh that.

seems that on setup LAN setup needs o be checked by the Hardware LAN Specialists.

It simply means that lan3 on second setup physically has been connected to the network switches and all in such a way that it might have a standby LAN I/f on second setup but not on the forrst system.


yuse linkloop to check the Physical connectivity in the pair of the Standby LANS.
regards
sujit
sujit kumar singh
Honored Contributor

Re: cluster configuration file!!

Hi


If there is sucess in creation of the Cluster ASCII File please post the contents of that file as well as the screen messages that you get there when you invoke the cmquerycl command.


regards
sujit
Ganesan R
Honored Contributor

Re: cluster configuration file!!

Hi,

cmquerycl command will query the specified nodes to get the network information and LVM informations.

It uses linkloop to find the bridged network and based on that it will decide the standby interfaces and create the ascii file. There you can define which interface/ip you want to use for stationary and heartbeat ip's.

Basically standby interfaces should be connected to same bridged network(assume same switch)
Best wishes,

Ganesh.
astra
Frequent Advisor

Re: cluster configuration file!!

Hello Sujit,

There is not any problem in file generation, rather i wanted to know that why on some setup it writes in file like "lan0" only
and on some setup it writes like "lan0,lan3". Why there is warning on separate lines for each interfaces, whereas on some setup, in the same line for lan0,lan3 and lan1,lan2.

Whats the sequence of interface information generation??

Regards,
Amit
Ganesan R
Honored Contributor
Solution

Re: cluster configuration file!!

Hi,

>>>i wanted to know that why on some setup it writes in file like "lan0" only
and on some setup it writes like "lan0,lan3".<<<

Take the first one..

# Warning: There are no standby network interfaces for lan0,lan3
# Warning: There are no standby network interfaces for lan1,lan2.

Here lan0 and lan3(or lan1 and lan2) might be in same subnet and do not have standby ethernet cards. Means there is no ethernet card connected to that subnet without ip configured.


Another setup: -

# Warning: There are no standby network interfaces for lan0.
# Warning: There are no standby network interfaces for lan1.
# Warning: There are no standby network interfaces for lan2.

Here lan0, lan1, lan2 might be in different networks and do not have standby cards on the network.



Best wishes,

Ganesh.
astra
Frequent Advisor

Re: cluster configuration file!!

Hello Ganesan,

I find the following in netconf file: -

The subnets of all the network inetrfaces are different. Please see the following: -

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="11.130.247.1"
SUBNET_MASK[0]="255.255.255.224"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

INTERFACE_NAME[1]=lan2
IP_ADDRESS[1]=172.27.10.2
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

INTERFACE_NAME[2]=lan1
IP_ADDRESS[2]=192.168.0.1
SUBNET_MASK[2]=255.255.255.0
BROADCAST_ADDRESS[2]=""
INTERFACE_STATE[2]=up
DHCP_ENABLE[2]=0

INTERFACE_NAME[3]=lan3
IP_ADDRESS[3]=192.168.10.69
SUBNET_MASK[3]=255.255.255.240
BROADCAST_ADDRESS[3]=""
INTERFACE_STATE[3]=up
DHCP_ENABLE[3]=0

If it is true then why it is coming like

# Warning: There are no standby network interfaces for lan0,lan3 <===
# Warning: There are no standby network interfaces for lan1,lan2 <===

and not like

# Warning: There are no standby network interfaces for lan0
# Warning: There are no standby network interfaces for lan1
# Warning: There are no standby network interfaces for lan2
# Warning: There are no standby network interfaces for lan3

Please clarify?

Regards,
Amit


Ganesan R
Honored Contributor

Re: cluster configuration file!!

Hi Amit,

Well. From netconf, lan1,lan2 in one network and lan0,lan3 are in different subnets.

How about Service Guard version? Are they same on "one setup" and "Another setup".

It may possible that, we get this kind of if versions are different. I don't say the reports are incorrect. But the way it reports could be different on versions.

What we actually need to look at is, the report which it provide is correct or not.
Like, Do we have standby for lan0,lan3 and lan1,lan2 ?or don't we?

Same way, Don't we have standby for lan0,lan1,lan2 on second setup?
Best wishes,

Ganesh.
astra
Frequent Advisor

Re: cluster configuration file!!

Hello Ganesan,

Thanks for your reply.

Could you please elaborate how did you identified that the pair of Lans (lan0,lan3) and (lan1 ,lan2) are in the same subnet.??

Thanks in advance.

Regards,
Amit
sujit kumar singh
Honored Contributor

Re: cluster configuration file!!

Hello Amit,

might be not in connectiion to the latest query of yours, but i shall tell you to diagnose the errors as they are coming on.
More than the IP address assigned to the LAN I/fs what shall be of more importance shall be like How are the LAN CArds wired to whicg switsches in whicH networks.
if you can post for both the nodes:
ioscan -fnClan
netstat -in
netstat -rn
lanscan
for both the ndoes along with the scereen O/p when you run the cmquerycl and the corresponding /etc/cmcluster/ then it shall be more clearer.
and also as need to have a clear picture How the LAN CAbles are going to Which Switches and in what networks.

regards
sujit