- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Testing / Verifying Auto Port Aggregation (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
03-21-2006 11:05 AM
03-21-2006 11:05 AM
/etc/rc.config.d/hp_apaconf
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_GROUP_CAPABILITY[0]=0
HP_APA_HOT_STANDBY[0]=off
HP_APA_MANUAL_LA[0]="0,2"
/etc/rc.config.d/hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=0
HP_APAPORT_CONFIG_MODE[0]=FEC_AUTO
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_GROUP_CAPABILITY[1]=0
HP_APAPORT_CONFIG_MODE[1]=FEC_AUTO
Output from lanscan -q
1
3
4
900 0 2
901
902
903
904
output form lanadmin -x -v 900
Link Aggregate PPA # : 900
Number of Ports : 2
Ports PPA : 0 2
Link Aggregation State : LINKAGG AUTO
Group Capability : 0
Load Balance Mode : MAC Address based (LB_MAC)
lanadmin -x -p 0 900
**** PORT NUMBER: 0 *******
Port FEC Mode : FEC_AUTO
Port State : UP
Port Group Capability : 0
Port Priority : 0
lanadmin -x -p 2 900
**** PORT NUMBER: 2 *******
Port FEC Mode : FEC_AUTO
Port State : UP
Port Group Capability : 0
Port Priority : 0
Question: How do I test if I am getting benefit of bigger pipe, ie load balancing.
1. I have tried to ftp a single file to a server and benchmark the timing. (time taken: 81 sec)
2. ftping the same file 10 times simultaneously to a server, does not show any benefit. (take taken: 750 sec)
Does any one know how to see the benefit of port aggregation ("larger bandwidth")? I can verify the lan failover feature and it is working.
Any suggestion or pointer would be appreciated.
Regards,
Navin Jain
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 11:31 AM
03-21-2006 11:31 AM
Re: Testing / Verifying Auto Port Aggregation (APA)
As far as failover, just randomly unplug a few of the links, then plug them in again while monitoring throughput.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 02:49 PM
03-21-2006 02:49 PM
Re: Testing / Verifying Auto Port Aggregation (APA)
You should see two benefits:
1) Your system should remain on the network with one cable or the other disconnected.
2) Increased speed if the core switch (backbone) is fast enough. Usually this is where performance expectations are not met.
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
03-21-2006 03:02 PM
03-21-2006 03:02 PM
Re: Testing / Verifying Auto Port Aggregation (APA)
This guide should be useful to you,
http://docs.hp.com/en/J4240-90033/ch01.html
[HP Auto Port Aggregation (APA) Support Guide
Chapter 1. What Is HP Auto Port Aggregation? ]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 03:11 PM
03-21-2006 03:11 PM
Re: Testing / Verifying Auto Port Aggregation (APA)
Here is my dilemma:
To test the bandwidth increase, I have benchmarked as follows:
1. Both ports on the source server set to 100FD
Target server port set to 100 FD.
No APA configured.
Time taken for ftping 10 files simultaneously: 77 sec
2. Both ports on the source server set to 10FD. Switch port at the same 10FD speed.
Target server port set to 100 FD.
APA configured in FEC_AUTO mode on the source server
Time taken for ftping 10 files simulteneously: 750 sec
which is roughly 10 times when using 100FD speed and 9.5 times of transfering
a single file on 10FD.
I would have expected at least 30% to 40% improvement in the network speed with 2 ports aggregation.
Regards,
Navin Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 12:24 PM
03-22-2006 12:24 PM
SolutionFor FTP from a server to another server, the load balance algorithm must be changed to use LB_PORT to get a reasonable load distribution.
==
HP_APA_LOAD_BALANCE_MODE[0]=LB_PORT
==
In your case, since both ends have one unique MAC address, only one link will be used no matter how many links are available. Also, make sure that the switch's load balance algorithm is set to src-dst-port (Since you are using FEC, I guess it must be a Cisco switch right?)
Check the switch configuration manual to see if TCP/UDP port based load balance is available. (Some older ones or older firmware do not support this yet.)
Xianjie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 12:24 PM
03-22-2006 12:24 PM
Re: Testing / Verifying Auto Port Aggregation (APA)
Now, with LB_MAC as the load balancing algorithm, I believe it is the destination MAC address that defines a "flow." This means that all traffic to a given MAC address will go over the same link in the aggregate. Similarly if you use the LB_IP (I'm guessing that is the name) algorithm.
If you want to have balancing across multiple links between a pair of systems, you have to use the load balancing algorithm that uses the TCP/UDP port numbers. I forget which one that is, but it would be in the docs on docs.hp.com
So, either have those 10 concurrent FTP's go to 10 different machines, or reconfigure the aggregate to use the more sutiable algorithm.
Finally, unless you _KNOW_ that autoneg does not work between your NICs and the switch, I would suggest leaving everything (NICs and switches) at auto. If you do hardcode the NICs to 100FD, make absolutely certain you have hardcoded the switch port(s) to 100FD as well. When/if you upgrade to Gigabit, autoneg is actually _required_...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:16 AM
03-26-2006 09:16 AM
Re: Testing / Verifying Auto Port Aggregation (APA)
Thanks for your suggestions.
Changing LOAD_BALANCE_Mode from LB_MAC to LB_PORT increased the throughput. I have now tested 10 concurrent sessions going to 10 different servers and can see increased throughput.
Our network switch is Cisco 5000 series in the testing lab. Our network admin says that we have to use the â two adjacentâ ports on the network switch for trunking to work properly. Is it true with Cisco routers? Can I connect 2 NIC from servers to two different Cisco switches to create trunking and have some kind of switch redundancy?
Another question: Is there any option to see much traffic going through each NIC on the server (when using APA). Some thing similar to netstat â in, which shows number of packets In/out from each NIC.
Any document/paper which explains what does LB_MAC, LB_PORT, LB_IP means in layman terms?
Navin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 12:18 PM
03-26-2006 12:18 PM
Re: Testing / Verifying Auto Port Aggregation (APA)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:21 AM
03-27-2006 05:21 AM
Re: Testing / Verifying Auto Port Aggregation (APA)
is called a "switch" only if the device is operating at "layer three" (aka "network" or in this instance "IP" layer) is it called a router. OK, enough terminology nitpicking for now :)
Aggregating across more than one switch is possible with APA, but the last time I checked it only supported "active/standby" - unless and until support for "meshing" has been added to APA that is. As for Cisco kit, I've only ever played with ProCurve :) and eveven then I've not had to try to setup a trunk spanning two switches. I suspect the APA docs at docs.hp.com might discuss it in some detail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 08:45 AM
03-27-2006 08:45 AM
Re: Testing / Verifying Auto Port Aggregation (APA)
Closing the thread.
Navin Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 10:28 AM
03-27-2006 10:28 AM
Re: Testing / Verifying Auto Port Aggregation (APA)
One last point before you close - if you're still interested in measuring the throughput of each individual port in the APA trunk you have a few options.
Glance can show each interface in the APA trunk, and you can use advisor mode scripting to display the inbound and outbound packet rates of each interface.
Also, the WTEC support group has a tool called "link-monitor" that they use to troubleshoot APA problems. It shows the real-time inbound and outbound traffic levels of each port in an APA trunk. I've used this tool on many occasions to determine if my APA trunk is balancing the outbound load well, if the switch I'm connected to is balancing the inbound packet load well, the total aggregate throughput of the trunk itself, etc.
Thought I'd pass that along in case you're interested.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
