Operating System - HP-UX
1752587 Members
5192 Online
108788 Solutions
New Discussion юеВ

Re: A question about heart beating lancard in Serviceguard

 
Wang,MinJie
Super Advisor

A question about heart beating lancard in Serviceguard

Hi all
I have a cluster and I want to test how heart_beat lancard work
The following is the configuration of the both lancard:
system A:192.1.1.1
system B:192.1.1.2
And I run a pkg on system A and I "ifconfig lancard down" to disable the heartbeat lancard on system A
but there is no response
Technically SystemA should restart and system B will take over the pkg
What's wrong?
5 REPLIES 5
sajeer_2
Regular Advisor

Re: A question about heart beating lancard in Serviceguard

Have you configured all the interfaces to carry Heart Beat?.In that case when you disable primary HB card,the serviceguard might be using the other active interfaces to carry HB.
check the how many interfaces are configured with HEARTBEAT_IP in cluster ASCII file.

sajeer
RAC_1
Honored Contributor

Re: A question about heart beating lancard in Serviceguard

Is package switching enabled? do you have heartbeat timeout set correctly? Does show any error messages/information in syslog.log?
There is no substitute to HARDWORK
freddy_21
Respected Contributor

Re: A question about heart beating lancard in Serviceguard

you must check about ur cluster ascii file.
soem time configuration using redudant for heart beat
example ascii file :

NODE_NAME db
NETWORK_INTERFACE lan0
HEARTBEAT_IP 192.168.4.24
NETWORK_INTERFACE lan4
NETWORK_INTERFACE lan3
HEARTBEAT_IP 16.178.0.2
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d2

it's means you have redundancy heartbeat. if your heartbeat lan problem, your cluster will use primary lan for heartbeat. So your package will not failed over. you can try to unplug primary lan and heart beat lan. your package will be failed over.

thanks
freddy

melvyn burnard
Honored Contributor

Re: A question about heart beating lancard in Serviceguard

Using the ifconfig down command is NOT a valid test for Serviceguard, as the link is still up and traffic is still seen on the LAN, you need to physically remove the cable, or turn off the switch port that it is connected to for a valid test
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Michael Steele_2
Honored Contributor

Re: A question about heart beating lancard in Serviceguard

Right to not using ifconfig for testing heartbeat failover. Just pull the lan cable. Use 'cmscancl' to get more information about what's failing. Also note that the heartbeat is MAC address dependent and not IP address. Are you using a null modem cable / direct connection or going through a switch?
Support Fatherhood - Stop Family Law