- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Testing APA
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
05-28-2007 02:44 AM
05-28-2007 02:44 AM
I am trying to test APA and actually see how load is balancing between lan0 and lan2 using gpm.
I started two FTP sessions and noticed that all the load goes to lan0. Is it because I use LB_MAC? I have server to switch connections.
Here is my APA configuration:
hp_apaconf:
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_GROUP_CAPABILITY[0]=900
hp_apaportconf:
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=900
HP_APAPORT_CONFIG_MODE[0]=FEC_AUTO
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_GROUP_CAPABILITY[1]=900
HP_APAPORT_CONFIG_MODE[1]=FEC_AUTO
HP_APAPORT_INTERFACE_NAME[3]=lan900
HP_APAPORT_GROUP_CAPABILITY[3]=900
HP_APAPORT_PRIORITY[3]=5
HP_APAPORT_INTERFACE_NAME[4]=lan1
HP_APAPORT_CONFIG_MODE[4]=LAN_MONITOR
HP_APAPORT_PRIORITY[3]=3
Thank you,
Olga
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 03:01 AM
05-28-2007 03:01 AM
SolutionI don't think its reasonable to expect a single ftp session to balance between lan0 and lan2.
I think it is reasonable that when you have a dozen sessions the load will be split between the two lan cards.
Assuming they are both the same speed, etc.
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
05-28-2007 06:09 AM
05-28-2007 06:09 AM
Re: Testing APA
I had 4 outgoing and 1 incoming sessions going at the same time each transferring about 30 G file.
It seems that all the outgoing trafic went to lan2 and incoming to lan0
I wonder where can I find detail description of how LB_MAC algorithm works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 02:07 PM
05-28-2007 02:07 PM
Re: Testing APA
LB_MAC will use source and dest mac address for distributing traffic.
In your case, since dest mac is probably same, APA will choose same port for the data flow.
May be you want to try LB_PORT.
If your application uses different IP, you can try LB_IP also.
You may want to read about Load Balancing algorithm in APA Users' Manual.
http://docs.hp.com/en/J4240-90035/J4240-90035.pdf
Thanks and regards,
+ Ketan Kotak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 02:13 PM
05-28-2007 02:13 PM
Re: Testing APA
One more useful point.
The algorithm uses least bytes (right most) of both dest and source (IP address or MAC address or TCP/UDP port nubmer).
Thanks,
HTH,
+ ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 04:59 AM
05-29-2007 04:59 AM
Re: Testing APA
As suggested you need to use port numbers when sending traffic between two systems. However, a couple caveats:
1) FTP actually uses two connections and the two sets of port numbers may end-up only using half the links - all the data connections may end-up with say even port numbers when the control connections have odd. If you run multiple transfers (one after the other) in the _same_ FTP session that will not be an issue.
2) Switches tend to only know how to balance by MAC or sometimes by IP address. This means that while you will get fanout on your outbound traffic, your inbound traffic may use only a single link.
Soooo, when switches are involved, you need to have more than just two MAC's involved, which likely means more than just two systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 05:17 AM
05-29-2007 05:17 AM