- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to setup HP/UX to support direct routing load ...
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
02-25-2003 10:28 AM
02-25-2003 10:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 11:17 AM
02-25-2003 11:17 AM
Re: How to setup HP/UX to support direct routing load balancing?
It may be possible to have multiple lan interfaces with the same IP and with add in software you get load balancing.
It is possible to purchase a 4 port PCI LAN card from HP and Port Aggregation software and do load balancing that way.
4 Ports 1 IP address, four times the bandwidth.
You'll need a decent fast switch otherwise this might be a bottleneck.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 11:25 AM
02-25-2003 11:25 AM
Re: How to setup HP/UX to support direct routing load balancing?
#ndd -h supported
and see if some of the parameters help you. I think there is one parameter which is related to route and how mahcine responds for outgoing trafic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 11:45 AM
02-25-2003 11:45 AM
Re: How to setup HP/UX to support direct routing load balancing?
#ndd -set ip_forwarding
but no IP packets was forwarded from lo0:1 to the network card for outgoing. I would think anything Windows and Linux can do, HP/UX should be able to do it also, but just do not know if that assumption is true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:28 PM
02-25-2003 01:28 PM
Re: How to setup HP/UX to support direct routing load balancing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:52 PM
02-25-2003 01:52 PM
Re: How to setup HP/UX to support direct routing load balancing?
"Your search for A5093598 produced no results!"
Where to find this document?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 01:22 PM
02-26-2003 01:22 PM
SolutionI'm surprised that a direct routing load balancer (also known as triangle routing, IIRC) would acually modifie the TCP header. I thought that it simply encapsulated the existing TCP segment in an Ethernet frame with the MAC address of the desired back-end server.
Anyhow...
Indeed, if you are on HP-UX 11.X (and perhaps sufficiently patched), it should be possible to assign the VIP to an lo0 alias (lo0:1, lo0:2 etc). You may need to make a rather restrictive netmask on that ifconfig to make sure that the routing code does not think that the remote clients are on that VIP (sub)network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 01:37 PM
02-26-2003 01:37 PM
Re: How to setup HP/UX to support direct routing load balancing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 01:42 PM
02-26-2003 01:42 PM
Re: How to setup HP/UX to support direct routing load balancing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:17 PM
02-26-2003 02:17 PM
Re: How to setup HP/UX to support direct routing load balancing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:31 PM
02-26-2003 02:31 PM
Re: How to setup HP/UX to support direct routing load balancing?
PHNE_19754 1.0 LAN product cumulative patch
PHNE_19754.LAN-RUN 1.0 LAN product commands fileset
PHNE_19754.LAN2-KRN 1.0 LAN product kernel fileset
PHNE_19754.NW-ENG-A-MAN 1.0 LAN product manpage fileset
# PHNE_19826 1.0 Built-in PCI 100BASE-T patch
PHNE_19826.LAN-RUN 1.0 LAN-RUN
PHNE_19826.LAN2-KRN 1.0 LAN2-KRN
# PHNE_19899 1.0 cumulative ARPA Transport patch
Then, the IP addresses are all internal test IP address. the real IP address on the ethernet card is 192.168.12.84. The virtual IP address on lo0:1 is 192.168.12.100, without specify the netmask. We also tried use netmask 255.255.255.255. Both ways do not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:44 PM
02-26-2003 02:44 PM
Re: How to setup HP/UX to support direct routing load balancing?
I tried a quick experiment on my 11.11 system, and adding a 192.168.1.123 lo0:1 alias to my interface at 192.168.1.46, and then manually setting an ARP entry in another system would have pings to the 192.168.1.123 address generate responses.
So, it is known to work on 11.11, and I believe it was supposed to work on 11.0, but you may need to get a bit more up-to-date on patches.
...time passes... I also just tried the same experiment on a pair of 11.0 systems installed off the December 2002 media and that test also worked. Try more up-to-date patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 03:09 PM
02-26-2003 03:09 PM
Re: How to setup HP/UX to support direct routing load balancing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 03:16 PM
02-26-2003 03:16 PM
Re: How to setup HP/UX to support direct routing load balancing?
Now, if the LB were rewriting IP headers, that could change the pseudo-header and so the TCP checksum would have to change, but if the LB were rewriting the IP header, that wouldn't be direct routing and aliases on the loopback interface would not be involved - unless I've missed something.
can you try ping from the "far" side of the load balancer? it might be useful to verify that things at the IP level are/aren't working.
since you've repeated that the TCP header is changed, it might be good to check the TCP stats on the system (netstat -p tcp) to make sure that things like checksum failures and the like aren't being generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 03:50 PM
02-26-2003 03:50 PM
Re: How to setup HP/UX to support direct routing load balancing?
However, to get direct routing work, it needs the reply from the real network address on the server, in my test, that is 192.168.12.84, not the 192.168.12.100 VIP. The reason for this is because the IP forwarding cause the hop number increased, so that the router in front of the local network will not think the VIP is direct connected, so it will continue talk to the LB not the server(s). We will conduct tests to see after those patches installed, would make any difference, I do hope it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 04:45 PM
02-26-2003 04:45 PM
Re: How to setup HP/UX to support direct routing load balancing?
here is how I think things like this are supposed to work :)
the client connects to a VIP. he does this by sending a TCP SYN segment to the VIP. a TCP connection is named by the four-tuple of local/remote IP local/remote port. this means that when a client sends to a VIP, he expects and requires the response to come from that VIP.
the TCP SYN is intercepted by the load balancer. with direct routing, the load balancer remembers the four-tuple, and passes along the SYN to one of the back-end servers - he does not alter the TCP or IP header since he will not see the reply (it is routed directly to the client). all he does is slap a fresh ethernet header onto the TCP SYN segment.
the SYN segment is received by the back-end server, and he processes it like it had some to him directly - sending a SYN|ACK with the VIP as the source IP address (since using his own source IP would not match what the client is expecting).
now, if direct routing were _not_ being used, the load balancer would indeed modify the destination IP address and then forward the TCP SYN segment. this works only when the back-end server is configured to use the load balancer as the router to reach the client - when the back-end server sendds the SYN|ACK with his "real" IP address, the load balancer re-writes the source IP address to match what the client is expecting. (and in this case, there is no VIP configured onto the back-end server since he never needs to see that address)
at least that is how I understand load balancers to work.
so, your saying that when using a VIP and direct routing requires the reply to come from the _real_ IP address of the server it makes me wonder if either you or I are confised as to how things are supposed to work :) there is no way I can see a TCP connection could be established successfully if the client sent to the VIP and the server replied from his real address. most non-TCP applications, if they care, expect replies to come from the IP address to which the request was sent (aka the VIP).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 09:13 AM
02-27-2003 09:13 AM
Re: How to setup HP/UX to support direct routing load balancing?
Secondly, I think we are seeing things from different angle, so we talk about different things. What you said is obsolutely correct. What I kept talking is that the direct routing need to modify the MAC address of the data frame to be able to re-route the data packet to the real server, and that MAC address can route packets to the real server can not be discovered by other equipment on the network.
It is great to have someone knowledgeable to help out on this! Thanks again!