- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Load Balancing Network Traffic
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
Discussions
Discussions
Forums
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
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
тАО05-01-2001 05:15 AM
тАО05-01-2001 05:15 AM
I have two 100BT NICs running on a HP-UX 10.20 server. Currently I have each of these NICs attached to the same switch and subnet, each having a separate IP address (same mask as well).
This is a database server where connections are made via socket transfer to one of the NICs. I've been looking for a way to load balance the network traffic to this server and I've come across APA (needs 11.0?) and ndd (comes with 11.0, not on 10.20?), but haven't found anything on 10.20 that supports this type of scenario.
I would like for traffic to be received on one of the NICs and traffic to be sent out via the other NIC. Is this possible with HP-UX 10.20? I've looked into nettune and it seems to lack all the features of ndd, which limit my options greatly.
We're moving to 11.0 within the next 6 months, but I'd like to improve the network traffic before then :) Any ideas? Thanks.
- Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 05:34 AM
тАО05-01-2001 05:34 AM
Re: Load Balancing Network Traffic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 09:12 AM
тАО05-01-2001 09:12 AM
Re: Load Balancing Network Traffic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 10:25 AM
тАО05-01-2001 10:25 AM
Re: Load Balancing Network Traffic
I realize that there is no APA solution for HP-UX 10.20, nor is ndd available. So what options do I have to balance the network traffic over these two NICs?
What did other SAs out there do with two 100BT NICs in their 10.20 servers in the past to overcome this obstacle?
The only options I have come up with is to configure the database (Sybase) to listen on both NICs and split up the client traffic via configuring half for one IP and the other half for the other IP. This of course would take some serious effort and I would like to do it from the OS side if possible.
I feel like I'm not taking advantage of the hardware that was in place when I came to this company and would like to utilize what they have to the fullest.
Should I setup the second NIC on a different subnet and use static routes to balance the outbound traffic? or is there *ANY* other solution for this scenario? Thanks.
- Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 11:22 AM
тАО05-01-2001 11:22 AM
Re: Load Balancing Network Traffic
DNS entries e.g dbserverA and dbserverB. Currently all of your clients are connecting to dbserverA. Here's my hare-brained scheme worthy of Bugs Bunny. If your clients are using DHCP then you could and probably do have
multiple DHCP servers which of course dish out
IP addresses on a first-come/first-served basis.
If a client gets his address from DHCP server 1
then he gets a DNS server which maps dbserverA to one address and if he gets his address from DHCP server 2 then he gets a DNS server which resolves dbserverA to another IP address namely that of dbserverB.
I admit that this is unusual but you then do all of the work on the servers. When you upgrade to 11.x then all you have to do is make the changes in the DNS servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 12:26 PM
тАО05-01-2001 12:26 PM
Re: Load Balancing Network Traffic
I see what you are saying and it is a little abnormal, but I worry about a few things that might pop up with that sceneario.
1. If the DNS servers have the same hostname 'dbserver' for DNS1 (primary), and DNS2 (secondary) then I worry about creating ARP errors on the network with the same hostname referring back to two different MAC addresess.
2. The client configuration is a big issue here, because they have configured the clients using IP addresses (which is another issue all together) so the name change would only effect a small number of the clients that access 'dbserver'.
Right now I have it configured so the hostname maps only to the single NIC/IP Addr and the other one has no english name associated with it rendering it somewhat useless. It's a tough question and I've yet to find someone who has a solid answer on what my options are. Your thoughts are appericated. Looks like I need to upgrade to 11.0 sooner than I thought :) Thanks.
- Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 08:02 PM
тАО05-01-2001 08:02 PM
Re: Load Balancing Network Traffic
Not sure if this would work for you. It requires some work, but it's just a thought:
1. Configure 2 subdomains on your DNS server, say domain1.company.com and domain2.company.com .
2. On about half of your clients, use "domain1.company.com" to configure domain name and DNS search order. Use "domain2.company.com" for the other half. (Update DNS database accordingly.)
3. Assign host.domain1.company.com to the first NIC and host.domain2.company.com to the second NIC in DNS database.
4. Now, if the application's configuration accepts "host" entry (rather than host's ip-address) on the clients, you can configure
all clients with the same "host" entry. (This may work with Netscape Mail; not sure if it does with database clients.)
NOTE: Assuming the clients on domain1 and NIC1 are on one subnet, the clients on domain2 and NIC2 are on another subnet, this solution (if it works at all) may offload your routers as well.
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 09:13 AM
тАО05-02-2001 09:13 AM
Re: Load Balancing Network Traffic
so, you setup your DNS to point the "hostname" at the IP address of the interface on which you want inbound traffic, and then you manipulate the routing table (see netstat and route manpages) to make sure that the default route and the subnet route(s) point at the interface you want to use for outbound traffic.
now, i'd have to question why you would want to do that. about the only place where it _might_ make a difference in throughput would be with old HP-PB 100BT cards, when each card was on a _separate_ HP-PB bus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 09:48 AM
тАО05-02-2001 09:48 AM
Re: Load Balancing Network Traffic
I see your point, but answer this for me. If there is no APA solution for HP-UX 10.20, nor the advanced capabilities of ndd, then why would a customer purchase dual nics, unless he/she wanted to use the HP server with routing capabilities?
Both of these cards are configured at 100 Full-duplex to the cisco switch, so you are correct about not really gaining anything by having one recieve and one send, since these NICs are HSC cards.
I guess the only way to really improve the network performance for this particular server would be to purchase a gigabit NIC. Then we're talking a little bit of money, since this is a K370 and they only make an HSC 1000Base-SX fiber card.
Looks like I'll have to wait until we've upgraded to 11.0 and then implement APA. Thanks for everyone's thoughts.
- Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 12:43 PM
тАО05-02-2001 12:43 PM
Re: Load Balancing Network Traffic
I think a typical multihomed system used to have each NIC configured for a different subnet. I don't know if two (active) NICs on the same subnet are recommended on 10.20, given what's available. But then again, if there is a good way to do it, and it works for you, why not?
Mladen