cancel
Showing results for 
Search instead for 
Did you mean: 

APA question .

SOLVED
Go to solution
rveri
Super Advisor

APA question .

Hi Experts,

Below is the configuration details , that is currently configured on the system, and working normal. Os ver: 11.23

- I would like to know is it configured Active/Active or Active/Passive.
- How to figure out if it is active/active or active/passive.
- Is there anything wrong with this configuration.

Please advise,



FILE: hp_apaportconf

###########################################################################
# The HP_APA_INIT_ARGS are reserved by HP. They are NOT user changable.
HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=MANUAL

HP_APA_INIT_ARGS="HP_APA_LOAD_BALANCE_MODE HP_APA_GROUP_CAPABILITY HP_APA_HOT_STANDBY HP_APA_MANUAL_LA HP_APA_INIT HP_APA_KEY"

# End of hp_apaconf configuration file
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_HOT_STANDBY[0]=off
HP_APA_GROUP_CAPABILITY[0]=5
HP_APA_KEY[0]=
HP_APA_MANUAL_LA[0]=1,3
HP_APA_INTERFACE_NAME[1]=lan901
HP_APA_LOAD_BALANCE_MODE[1]=LB_MAC
HP_APA_HOT_STANDBY[1]=off
HP_APA_GROUP_CAPABILITY[1]=5
HP_APA_KEY[1]=
HP_APA_MANUAL_LA[1]=2,4
#










File: hp_apaportconf


HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"

#
-


Thanks in adv.,



*points will be awarded to all. thanks.
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: APA question .

Shalom,

APA is an active-active product. Your configuration appears to be such.

Check out the man page for nwmgr

For ways of checking your current configuration.

Also note, this product will not work without changes to switch configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
S. Ney
Trusted Contributor
Solution

Re: APA question .

Where I work active/active or active/passive had to be done by the network team on the switch,so I'd say it depends on how your network team set up the ports.
For example I orginally had Manual mode set and requested a teamed connection but only found out after the fact that teamed meant active/passive. The next server I had to request LACP mode and worked with the network team to make sure the keys were the same on both the server and switch ports.

A quick way to find out if you have active/active or active/passive:
lanscan -q (to look at the ports on your aggregates)
glance -l (not only will your link aggregates be displayed but also the lan ports)
If you have active/active you should see statistics on all ports on your configured PPA's.
Sample of active/passive:
Idx Interface Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------------------------------------
1 lan0 Lan 287.6/ 360.3 282.6/ 397.0 231.4/ 226.8 231.2/ 335.0
2 lan1 Lan 3.0/ 2.7 0.0/ 0.0 0.4/ 0.2 0.0/ 0.0
3 lan4 Lan 8.0/ 7.3 0.0/ 0.0 0.8/ 0.6 0.0/ 0.0
4 lan5 Lan 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0
5 lan2 Lan 4.4/ 5.1 0.0/ 0.0 0.2/ 0.3 0.0/ 0.0
6 lan3 Lan 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0
7 lan900 Lan 296.0/ 367.7 282.6/ 397.0 232.0/ 227.5 231.2/ 335.0
8 lo0 Loop na/ na na/ na na/ na na/ na
rveri
Super Advisor

Re: APA question .

Steven , and S.Ney, thanks much.

Steven,
If it is only active/active product then why the network team bother about saying it is configured with active/active and saying needs to change to active/passive.


S.Ney, thanks for the great tips:
Network team says current configuration is active/active and should be change to active/passive like they do for aix etherchannel and teaming:

As you mentioned:
If you have active/active you should see statistics on all ports on your configured PPA's.

yes I can see statistics on all ports , with glance -l




# lanscan -q
0
900 1 3
901 4 2
902
903
904
#




# glance -l

Welcome to GlancePlus


-----------------------------------------------------------------------------------------------------------
Interval: 5 NETWORK BY INTERFACE Users= 2
Network Packet Packet K-Byte K-Byte
Idx Interface Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------------------------------------
1 lan0 Lan 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0
2 lan1 Lan 19.7/ 17.7 0.0/ 0.0 2.2/ 1.8 0.0/ 0.0
3 lan2 Lan 36.0/ 33.3 0.0/ 0.0 3.1/ 2.8 0.0/ 0.0
4 lan3 Lan 30.2/ 28.9 14.2/ 14.7 3.3/ 3.0 2.0/ 2.2
5 lan4 Lan 36.0/ 33.3 0.0/ 0.0 3.1/ 2.8 0.0/ 0.0
6 lan900 Lan 50.0/ 46.7 14.2/ 14.7 5.5/ 4.9 2.0/ 2.2
7 lan901 Lan 72.0/ 66.7 0.0/ 0.0 6.2/ 5.7 0.0/ 0.0
8 lo0 Loop na/ na na/ na na/ na na/ na
-----------------------------------------------


is that means it is active active.








Also, I see different output for another server (server B), it says tunnel in lan900/901 section ,
And statistics on all the lan900/1 configured ports:

Server:B:



-----------------------------------
# lanscan -q
0
900 1 3
901 2 4
902
903
904
#


--------------------------------------------------------------------------------------------------------------------------------
Interval: 1 NETWORK BY INTERFACE Users= 2
Network Packet Packet K-Byte K-Byte
Idx Interface 5Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------------------------------------
1 lan0 Lan 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0
2 lan1 Lan 61.4/ 61.4 30.0/ 30.0 5.7/ 5.7 5.7/ 5.7
3 lan2 Lan 55.7/ 55.7 0.0/ 0.0 4.2/ 4.2 0.0/ 0.0
4 lan3 Lan 23.6/ 26.8 5.1/ 6.6 2.5/ 3.7 0.5/ 0.9
5 lan4 Lan 30.7/ 32.5 0.0/ 0.0 2.5/ 2.7 0.0/ 0.0
6 lan900 Tunnel 17.5/ 19.0 30.0/ 30.0 1.5/ 2.0 5.7/ 5.7
7 lan901 Tunnel 130.7/ 32.5 0.0/ 0.0 12.5/ 2.7 0.0/ 0.0
8 lo0 Loop 41.1/ 45.8 5.1/ 6.6 4.0/ 5.7 0.5/ 0.9
62.6/ 65.1 5.1/ 5.5
---------------------------------------------------------------------------------



Thanks,

rveri
Super Advisor

Re: APA question .


S. Ney,

# lanscan -q
0
900 1 3
901 4 2
902
903
904
#




# glance -l

Welcome to GlancePlus


-----------------------------------------------------------------------------------------------------------
Interval: 5 NETWORK BY INTERFACE Users= 2
Network Packet Packet K-Byte K-Byte
Idx Interface Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------------------------------------
1 lan0 Lan 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0 0.0/ 0.0
2 lan1 Lan 19.7/ 17.7 0.0/ 0.0 2.2/ 1.8 0.0/ 0.0
3 lan2 Lan 36.0/ 33.3 0.0/ 0.0 3.1/ 2.8 0.0/ 0.0
4 lan3 Lan 30.2/ 28.9 14.2/ 14.7 3.3/ 3.0 2.0/ 2.2
5 lan4 Lan 36.0/ 33.3 0.0/ 0.0 3.1/ 2.8 0.0/ 0.0
6 lan900 Lan 50.0/ 46.7 14.2/ 14.7 5.5/ 4.9 2.0/ 2.2
7 lan901 Lan 72.0/ 66.7 0.0/ 0.0 6.2/ 5.7 0.0/ 0.0
8 lo0 Loop na/ na na/ na na/ na na/ na
-----------------------------------------------


is this means it is active active.


- What needs to be done to make it active passive, Is there anything needs to be change in apaconf file, or all needs to be done by network team. at switch level?

Thanks.


rveri
Super Advisor

Re: APA question .

Ney,

--- The next server I had to request LACP mode and worked with the network team to make sure the keys were the same on both the server and switch ports.


Q: what kind of keys you are referring here..

Thanks,