- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Secondary IP for lan0 in a Service Guard cluster
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
12-21-2005 06:19 AM
12-21-2005 06:19 AM
How can I add redundancy to the lan0 of everyone of my cluster nodes, that are already cinfugured and running?
I pluged the lan cord to a lan3 in each node and then changed the tag STATIONRY_IP in the /etc/cmcluster/cluster.config file, check conf and cmapplyconf.
BEFORE
NODE_NAME gemota1
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.100.191.25
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.1
NETWORK_INTERFACE lan5
STATIONARY_IP 192.1.2.1
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
# 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 lan5.
NODE_NAME gemota2
NETWORK_INTERFACE lan0
HEARTBEAT_IP 10.100.191.26
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.2
NETWORK_INTERFACE lan2
STATIONARY_IP 192.1.2.2
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
AFTER
NODE_NAME gemota1
NETWORK_INTERFACE lan0
STATIONARY_IP 10.100.191.25
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.1
NETWORK_INTERFACE lan5
STATIONARY_IP 192.1.2.1
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
# 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 lan5.
NODE_NAME gemota2
NETWORK_INTERFACE lan0
STATIONARY_IP 10.100.191.26
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.2
NETWORK_INTERFACE lan2
STATIONARY_IP 192.1.2.2
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
I made a lan failover test, but it did not work.
I had read that I don't need to assign an IP for the new lan3 , but I am not sure if I need to activate it in every node?
Any idea?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 06:23 AM
12-21-2005 06:23 AM
Re: Secondary IP for lan0 in a Service Guard cluster
Once you have plugged a cable on lan3 to your switch port, you need to run cmquerycl once again to get the new ascii conf file.
also make sure the cable on lan3 is going to the same vlan as lan0 if you have vlan configured.
hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 06:30 AM
12-21-2005 06:30 AM
SolutionYou define a failover NIC by following a NETWORK_INTERFACE / STATIONARY_IP with a NETWORK_INTERFACE *without* an IP assignment.
For example
NETWORK_INTERFACE lan0
STAIONARY_IP 111.222.111.222
NETWORK_INTERFACE lan5
NETWORK_INTERFACE lan2
STATIONARY_IP 222.111.222.111
In this case lan5 would be the failover for lan0 & would assert the 111.222.111.222 IP in the event that lan0 lost connection for any reason.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 06:43 AM
12-21-2005 06:43 AM
Re: Secondary IP for lan0 in a Service Guard cluster
You simply test by pulling the lan0 cable & check that netstat -in now shows the IP on lan3.
After you reattach the cable to lan0 the system will wait about 30 seconds to bring the IP back to lan0 - the primary NIC. It waits so that IF there's an intermittent network problem causing that port to go up & down rapidly the IP won't be "ping-ponging" between the two NICs.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:12 AM
12-21-2005 07:12 AM
Re: Secondary IP for lan0 in a Service Guard cluster
Check out this document as well: UMCSGKBRC00009727
http://www1.itrc.hp.com/service/cki/search.do?category=c0&prevQueryString=&mode=id&searchString=UMCSGKBRC00009727&searchCrit=allwords&docType=EngineerNotes&dateRange=all&search.x=24&search.y=6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:20 AM
12-21-2005 07:20 AM
Re: Secondary IP for lan0 in a Service Guard cluster
I just did what you suggested,and everything worked fine, the lan failover test was OK.
Thank a lot to you and the team as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 07:23 AM
12-21-2005 07:23 AM
Re: Secondary IP for lan0 in a Service Guard cluster
more /etc/cmcluster/cluster.config
NODE_NAME gemota1
NETWORK_INTERFACE lan0
STATIONARY_IP 10.100.191.25
NETWORK_INTERFACE lan2
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.1
NETWORK_INTERFACE lan5
STATIONARY_IP 192.1.2.1
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
NODE_NAME gemota2
NETWORK_INTERFACE lan0
STATIONARY_IP 10.100.191.26
NETWORK_INTERFACE lan3
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.1.1.2
NETWORK_INTERFACE lan2
STATIONARY_IP 192.1.2.2
FIRST_CLUSTER_LOCK_PV /dev/dsk/c12t0d1
And the cmviewcl -v :
CLUSTER STATUS
clusterota up
NODE STATUS STATE
gemota1 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/3/1/0/4/0 lan1
PRIMARY up 0/4/1/0/4/0 lan5
STANDBY up 0/3/1/0/4/1 lan3
NODE STATUS STATE
gemota2 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
STANDBY up 0/3/1/0/6/0 lan3
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/3/1/0/4/0 lan1
PRIMARY up 0/3/1/0/4/1 lan2