HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Networking. Failover an IP address.
Operating System - HP-UX
1834196
Members
2482
Online
110065
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-25-2006 07:07 AM
10-25-2006 07:07 AM
Networking question failing over another servers ip. Verify my procedure please? Just wanted to bounce it off some of the hpux guru's
I have two hpux 11.11 servers.
I am failing over an application from one server to another server. I need to temporarily reuse its IP. Plus several external systems connect to the application and expect connections to come from the old IP. I plan to use ifconfig and route cmd.
primary server IP = 15.43.9.164 Need to reuse this ip.
failover server main IP=15.43.10.20. Has 2 nic cards one is unused.
# First assign 15.43.9.164 to the 2nd unused nic card. The primary server is down and disconnected from the network.
Root> ifconfig lan2 inet 15.43.9.164 netmask 255.255.255.0
# Now set the static routes for the two external systems to force all network traffic to them use lan2 even if one of them is directly connected to the primary IP address.
Root> route add host 15.43.10.35 15.43.9.1 1
Root> route add host 15.43.13.11 15.43.9.1 1
Will this do the trick? Now the failover server is reusing the old ip and all traffice to the external systems looks like it is still coming from the old ip.
Thanx for info.
I have two hpux 11.11 servers.
I am failing over an application from one server to another server. I need to temporarily reuse its IP. Plus several external systems connect to the application and expect connections to come from the old IP. I plan to use ifconfig and route cmd.
primary server IP = 15.43.9.164 Need to reuse this ip.
failover server main IP=15.43.10.20. Has 2 nic cards one is unused.
# First assign 15.43.9.164 to the 2nd unused nic card. The primary server is down and disconnected from the network.
Root> ifconfig lan2 inet 15.43.9.164 netmask 255.255.255.0
# Now set the static routes for the two external systems to force all network traffic to them use lan2 even if one of them is directly connected to the primary IP address.
Root> route add host 15.43.10.35 15.43.9.1 1
Root> route add host 15.43.13.11 15.43.9.1 1
Will this do the trick? Now the failover server is reusing the old ip and all traffice to the external systems looks like it is still coming from the old ip.
Thanx for info.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 07:56 PM
10-25-2006 07:56 PM
Solution
Command syntax looks good.
The netmask seems to suggest that the primary server and the failover server might be on separate IP network segments.
The important question is, where does the cable connected to lan2 go? If it's connected to the same network segment as the primary server, that's good.
If it's connected to the same segment as your failover server's main interface, not so good: the incoming packets would not find your lan2 interface unless the upstream router(s) were configured to direct the traffic to your failed-over IP in a special way.
You might want to let the people who manage your network router(s) verify your plan. They should know the network topology, which is absolutely necessary to know for verifying plans like this.
If your network has firewalls, notify the firewall administrators too: depending on firewall configuration, there might be some adjustments they need to do.
The netmask seems to suggest that the primary server and the failover server might be on separate IP network segments.
The important question is, where does the cable connected to lan2 go? If it's connected to the same network segment as the primary server, that's good.
If it's connected to the same segment as your failover server's main interface, not so good: the incoming packets would not find your lan2 interface unless the upstream router(s) were configured to direct the traffic to your failed-over IP in a special way.
You might want to let the people who manage your network router(s) verify your plan. They should know the network topology, which is absolutely necessary to know for verifying plans like this.
If your network has firewalls, notify the firewall administrators too: depending on firewall configuration, there might be some adjustments they need to do.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:10 AM
10-26-2006 02:10 AM
Re: Networking. Failover an IP address.
Thanx for the response matti. I did this once 6 years ago but I lost my notes. Since both servers are in production I cannot afford a mistake.
Yes lan2 is connected to the same subnet as the primary server. I am assuming ifconfig sends a gratuitous ARP when I setup lan2. Anyway thanx for the response. I think I will close this one out.
Yes lan2 is connected to the same subnet as the primary server. I am assuming ifconfig sends a gratuitous ARP when I setup lan2. Anyway thanx for the response. I think I will close this one out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 05:24 AM
10-26-2006 05:24 AM
Re: Networking. Failover an IP address.
See above comments.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP