- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Package switch due to lan0 timeout.. How to preven...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 10:42 AM
08-19-2003 10:42 AM
I'm running a two node cluster with 1 package on each node. (Active/Active). Last weekend our network guys rebooted a piece of network equipment causing the primary MC/SG LAN (lan0) to timeout. When the lan0 timeout occurred the package on node number 1 moved to node number 2. Question... How can I prevent package failovers if a primary lan times out? I'm thinking the package switch should not have happened because both nodes in the cluster are on the SAME subnet AND have a dedicated X/O cable for heartbeat. I realize I don't have any standby cards configured but if the heartbeat X/O lan never timed out why did the package switch occur? Is this normal behavior?
Excerpt from syslog:
Aug 17 04:40:57 eawwdc02 cmcld: lan0 failed
Aug 17 04:40:57 eawwdc02 cmcld: Subnet 10.2.225.0 down
Aug 17 04:40:57 eawwdc02 cmcld: Subnet 10.2.225.0 in package oracmts_pkg1 is down.
Aug 17 04:40:57 eawwdc02 cmcld: Executing '/etc/cmcluster/oracmts_pkg1/oracmts_pkg1.cntl stop' for package oracmts_pkg1, as service PKG*37634.
Aug 17 04:40:58 eawwdc02 su: + tty?? root-jdeoil
Aug 17 04:40:58 eawwdc02 su: + tty?? root-jdecorn
Aug 17 04:40:59 eawwdc02 su: + tty?? root-jdecin
Aug 17 04:41:00 eawwdc02 su: + tty?? root-cmts
Aug 17 04:41:03 eawwdc02 su: + tty?? root-jdeflm
Aug 17 04:41:03 eawwdc02 su: + tty?? root-copstran
Aug 17 04:41:04 eawwdc02 su: + tty?? root-cmtsgxs
Aug 17 04:41:05 eawwdc02 su: + tty?? root-tibeai
Aug 17 04:41:11 eawwdc02 su: + tty?? root-jdecorn
Aug 17 04:41:05 eawwdc02 su: + tty?? root-cmtsgxs
Aug 17 04:41:12 eawwdc02 su: + tty?? root-oracle
Aug 17 04:42:03 eawwdc02 cmcld: lan0 recovered
Aug 17 04:42:03 eawwdc02 cmcld: Subnet 10.2.225.0 up
Excerpt from the ascii file:
NODE_NAME eawwdc01
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.2.225.25
NETWORK_INTERFACE lan1
HEARTBEAT_IP 10.2.215.14
NETWORK_INTERFACE lan4
HEARTBEAT_IP 1.1.1.1
FIRST_CLUSTER_LOCK_PV /dev/dsk/c7t12d0
# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE /dev/tty0p0
# 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 lan4.
NODE_NAME eawwdc02
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.2.225.56
NETWORK_INTERFACE lan1
HEARTBEAT_IP 10.2.215.15
NETWORK_INTERFACE lan4
HEARTBEAT_IP 1.1.1.2
FIRST_CLUSTER_LOCK_PV /dev/dsk/c7t12d0
# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE /dev/tty0p0
# 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 lan4.
Thanks,
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 10:49 AM
08-19-2003 10:49 AM
Re: Package switch due to lan0 timeout.. How to prevent?
How to prevent it?, set up standby lans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 10:55 AM
08-19-2003 10:55 AM
Re: Package switch due to lan0 timeout.. How to prevent?
Service Guard is doing it's job! It defeats whole purpose of having SG if you want to prevent this!
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 12:34 PM
08-19-2003 12:34 PM
Re: Package switch due to lan0 timeout.. How to prevent?
He actually just wants to monitor the serial heartbeat for failovers.
When we ran service guard years ago there was a way to that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 04:12 PM
08-19-2003 04:12 PM
Re: Package switch due to lan0 timeout.. How to prevent?
Check your configuration for the NODE_TIMEOUT value.
A node timeout value that is higher then the default (of 2 seconds) usually around 8 to 10 seconds will help prevent some of the problems (i.e. SG will wait longer before timing out).
A subnet failure will generally cause a switchover however.
I will give you the link for the document about setting up serial heartbeats which might help you in a situation where all of your lans are down.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062950444
I'm away from my desk right now (at home) so I'll have to double check this scenario in the morning.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 11:09 PM
08-19-2003 11:09 PM
Re: Package switch due to lan0 timeout.. How to prevent?
Also, having a serial heartbeat will do nothing for you in the event this happens again, and in fact with the configuration you show is actually NOT recommended.
Again, either set up a standby lan, or turn off the switching by disabling the package with cmmodpkg -d package_name
This means that you would NOT get an automatic failover in he event of a REAL failure, such as a node crashing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 04:52 AM
08-20-2003 04:52 AM
Re: Package switch due to lan0 timeout.. How to prevent?
Since the network will still be down when he Service Guard fails what's the point?
Why not use a serial heartbeat? This way it will failover if the other machine dies.
I will agree that the beter installation would have two completly seperate sub-nets. But since that's not what he has I think the serial heartbeat is better in his case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 04:56 AM
08-20-2003 04:56 AM
SolutionUntil you get a second sub-net and core you will always have single piont of failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:07 AM
08-20-2003 05:07 AM
Re: Package switch due to lan0 timeout.. How to prevent?
To prevent serviceguard from detecting a SUBNET outage, thereby forcing a package failover, comment out your SUBNET entry in the package configuration file, and cmapplyconf the package config file while the package is down.
$ cmhaltpkg
$ cmapplyconf -f -P
$ cmviewconf | more (to verify no "package subnet" entry is listed for that package.
From this time on, ServiceGuard will not associate a network failure with the package, so it will leave the package running.
-Stephen Doud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 10:23 AM
08-20-2003 10:23 AM
Re: Package switch due to lan0 timeout.. How to prevent?
Thanks,
Tom