1834464 Members
2936 Online
110067 Solutions
New Discussion

lan failure simulation

 
christian_2
Frequent Advisor

lan failure simulation

Hi guys,

I'm doing lan link tests and I got an unexpect result. When I disconected all cables from one
machine, the other, that has all cables conected rebooted and the one that has no cables got the lock and still active. the
command cmviewcl show that lan interfaces wasnt
down.

Have someone pass throught this problem ?
Now, I'm just using core-io lan, HP-UX 11 and
MCSG 11.07

thanks in advace!
Christian Chambarelli Melo
12 REPLIES 12
BFA6
Respected Contributor

Re: lan failure simulation

Hi,

Have you checked syslog.log for error messages from cmcld ?

Hilary
Paula J Frazer-Campbell
Honored Contributor

Re: lan failure simulation

Christian

I do not run service guard but it looks like a heartbeat setting or a patch related to heartbeat.

Paula
If you can spell SysAdmin then you is one - anon
BFA6
Respected Contributor

Re: lan failure simulation

Christian,

Another thought.
If node A is running package & has cluster lock disk, and you pull lan cables from A (both data & heartbeat), both machines will think the other has died & race for the cluster lock disk. A already has it, B won't get the lock disk, so will TOC.

Hilary
David Navarro
Respected Contributor

Re: lan failure simulation

Hi, this sounds like a patch problem. Be sure you have installed last patches for SG and LAN, etc..

David.
David Navarro
Respected Contributor

Re: lan failure simulation

Hi, again, I have read Hilary answer,and I agree with their opinion. If you disconnect all cables, communications betwen nodes are lossed, then cluster must be reformed, then first machine that get cluster lock. will form the new cluster.

A good test, can be disconnect just one network cable, look if traffic and addresses are conmuted to the other one. Then disconnect this other, I think package will be transferred to alternate node in this situation.

David.
Bill McNAMARA_1
Honored Contributor

Re: lan failure simulation

thats normal.. service guard check this..

rather than ifconfig lan down
use lanadmin to reset the lan.
That should simulate it.

Or pull cable or wet the card!
I prefer lanadmin!

Later,
Bill
It works for me (tm)
melvyn burnard
Honored Contributor

Re: lan failure simulation

What you are seeing is normal behaviour, based on the fact that you have Multiple Points of failure.
As previously said, if the node that stayed up already had access to the cluster lock disc, because ALL communiactions were lost, that node managed to grab the cluster lock diosc BEFORE the other node, and hence stayed up, forcing the other node to TOC.

You should definitely check you ar patched to the lates possible level, bearing in mind that SG patches are NOT included in the Patch Bundle CD's!
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sanjay_6
Honored Contributor

Re: lan failure simulation

Hi,

Take a look at this thread from the SG FAQ, which tries to explain the scenario you are having,

http://docs.hp.com/hpux/onlinedocs/ha/haFAQindex2.html#All%20Networks%20fail,%20which%20node%20wins?

Here is the FAQ,

http://docs.hp.com/hpux/onlinedocs/ha/haFAQindex2.html

Hope this helps.

Regds
christian_2
Frequent Advisor

Re: lan failure simulation

thank you guys, but this
is not an correct behave.
there was a GOOD node on
cluster and this should
be up, get the lock and
take the ownership of
all packages running on node
that has all cables disconected. this one, that
have cables disconect should not get the lock because his
networks were down. if someone
have tested this on both nodes, please notify me

thanks again
Christian Chambarelli Melo

Re: lan failure simulation

No this *is* good behaviour when you consider what ServiceGuard is designed to do:

- Protect against single points of failure
- Under no circumstances corrupt your data

What you have simulated is a situation with multiple points of failure, consider what could be going on in this scenario:

Both nodes cannot talk to each other except via cluster lock - what is very clearly a network failure on one machine to you does not necessarily appear to be from the other machine - consider that from the point of view of the other machine it can still see the network but doesn't know what state the other node is - it could be that the multiple point of failures is networking equipment between the two nodes - now both nodes still have active networks (and presumably some clients can connect to each) but they can't talk to each other. If the nodes behaved as you have suggested they should then they would BOTH beleive they are the good node, and both try to run your package - not good for the integrity of your data.

This is an immutable rule of ServiceGuard in a two node cluster - when either node doesn't know what the other is doing, it's cluster lock time, and it won't always be the genuinely good node that wins.

HTH

Duncan


I am an HPE Employee
Accept or Kudo
christian_2
Frequent Advisor

Re: lan failure simulation

thanks duncan, but
I still belive that is not
correct. If the node has
all networks down, it should
not stay running and the
other that has all cables ok
call the TOC. Imagine this
situation in a production
environmet. An node, that
is all right with it, call
the TOC unexpect. I agree
with this situation if BOTH
have at least one network up.
I will open an case in HP call
center. Thank you all
Christian Chambarelli Melo
melvyn burnard
Honored Contributor

Re: lan failure simulation

You are incorrect, in that this is normal SG behaviour. The fact is you are talking about having MULTIPLE points of failure, not a Single one.

If you wish to try to prevent this, then you could consider setting up a serial heartbeat link, as this is designed to do exactly what you are looking for, i.e. ensure the node with the good network connections stays up.
There are some not good things about having a serial heartbeat as well.
The bottom line is that you are pullling ALL network connections, and if your network redundancy design is such that this could happen, I would redesign the networking area.

Opening a call with HP should give you the same answer.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!