Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: HA node check

by coec (Chaplain)
on Dec 12, 2001 at 19:48 UTC ( [id://131264]=note: print w/replies, xml ) Need Help??


in reply to Re: HA node check
in thread HA node check

Thats the whole point :) The netstat -i on node1 will return something like
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs + Coll en0 1500 link#2 0.4.ac.3e.65.22 169651762 0 150335201 + 0 0 en0 1500 172.22.6 node1 169651762 0 150335201 + 0 0 en2 1500 link#3 0.4.ac.3e.15.54 1387003 0 1389752 +0 0 en2 1500 172.22.7 node1hb 1387003 0 1389752 0 + 0 en1 9000 link#4 0.4.ac.7c.95.ec 232558546 0 76198992 + 0 0 en1 9000 172.22.5 node1r 232558546 0 76198992 0 + 0 <loop back interfaces snipped>
and a netstat -i on node2 will return something like
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs + Coll en0 1500 link#2 0.4.ac.3e.65.4a 36127938 0 37211569 +0 0 en0 1500 172.22.6 node2 36127938 0 37211569 +0 0 en2 1500 link#3 0.4.ac.3e.65.c6 1412752 0 1364210 +0 0 en2 1500 172.22.7 node2hb 1412752 0 1364210 0 + 0 en1 9000 link#4 0.4.ac.7c.97.2f 76199094 0 232558588 +11 0 en1 9000 172.22.5 node2r 76199094 0 232558588 11 + 0 <loop back interfaces snipped>
Where node? is the primary interface, node?hb is the heartbeat link and node?r is the redundant link that node2 will use to pretend to be node1 in the event of node1 failing, in which case interface en1 will no longer have a name of node2r but node1. Sooo, if node1 is up the test will fail on node2 (which is what we want) but if node1 is dead the test will succeed which, again, is what we want. I hope that makes more sense now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://131264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-03-29 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found