Re: HP APA error (603 Views)
Reply
Trusted Contributor
jerrym
Posts: 134
Registered: ‎02-12-2008
Message 1 of 10 (629 Views)

HP APA error

[ Edited ]

Should I be concerned with this error message? I am doing failover not load balancing.

 

#/sbin/init.d/hpapa start
DLPI version is 2
         /sbin/init.d/hpapa started.
         Please be patient. This may take about 40 seconds.
         HP_APA_MAX_LINKAGGS = 50
         HP_APA_DEFAULT_PORT_MODE = MANUAL
         /usr/sbin/hp_apa_util -S 0 MANUAL
         /usr/sbin/lanadmin -X -g 0 900 900
         New Group Capability = 900
         /usr/sbin/lanadmin -X -t 0 1 900
         New Port Priority = 1
         /usr/sbin/hp_apa_util -S 1 MANUAL
         /usr/sbin/lanadmin -X -g 1 900 900
         New Group Capability = 900
         /usr/sbin/lanadmin -X -t 1 2 900
         New Port Priority = 2
         /usr/sbin/hp_apa_util -S 2 MANUAL
         /usr/sbin/lanadmin -X -g 2 901 900
         New Group Capability = 901
         /usr/sbin/lanadmin -X -t 2 1 900
         New Port Priority = 1
         /usr/sbin/hp_apa_util -S 3 MANUAL
         /usr/sbin/lanadmin -X -g 3 901 900
         New Group Capability = 901
         /usr/sbin/lanadmin -X -t 3 2 900
         New Port Priority = 2
lan900
         /usr/sbin/lanadmin  -X -l MANUAL 900
ERROR:   ERROR:   Load Balancing: failed, wrong argument.
Use the "h" sub-option for usage string.
         /usr/sbin/lanadmin  -X -y on 900
         New Hot Standby = ON
         /usr/sbin/lanadmin -X -g 900 900 900
         New Group Capability = 900
         /usr/sbin/lanadmin  -X  -a 0 1 900
         Added ports:0 1 to lan900
lan901
         /usr/sbin/lanadmin  -X -l MANUAL 901
ERROR:   ERROR:   Load Balancing: failed, wrong argument.
Use the "h" sub-option for usage string.
         /usr/sbin/lanadmin  -X -y on 901
         New Hot Standby = ON
         /usr/sbin/lanadmin -X -g 901 901 901
         New Group Capability = 901
         /usr/sbin/lanadmin  -X  -a 2 3 901
         Added ports:2 3 to lan901

Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 10 (627 Views)

Re: HP APA error

Shalom,

 

Yes you should be concerned.

 

ERROR:   ERROR:   Load Balancing: failed, wrong argument.

 

Your APA configuration is not correct.

 

I recommend using console access to work through this configuration issue. You may run into networking issues and lose access.

 

Also note the difference with HP APA versus say Linux teaming/bonding. Switch configuration changes are required to make APA work in any mode other than manual.

 

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
Trusted Contributor
jerrym
Posts: 134
Registered: ‎02-12-2008
Message 3 of 10 (621 Views)

Re: HP APA error

This is my first apa config. Everything seems to be working fine.

 

uname -a

 

HP-UX  B.11.11 U 9000/800 3342735662 unlimited-user license

 

#netstat -rn
Routing tables
Destination           Gateway            Flags   Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH        0  lo0        4136
138.127.255.56        138.127.255.56     UH        0  lan901     4136
138.127.254.56        138.127.254.56     UH        0  lan900     4136
138.127.255.1         138.127.255.1      UGH       0  lan901     1500
138.127.254.0         138.127.254.56     U         2  lan900     1500
138.127.255.0         138.127.255.56     U         2  lan901     1500
127.0.0.0             127.0.0.1          U         0  lo0        4136
default               138.127.254.1      UG        0  lan900     1500

 


 #lanscan
Hardware Station        Crd  Hdw   Net-Interface    NM   MAC       HP-DLPI DLPI
Path     Address        In#  State NamePPA          ID   Type      Support Mjr#
1/0/12/1/0/6/0 0x00306E4C8E9B 4    UP    lan4 snap4       5    ETHER       Yes   119
1/0/14/1/0/6/0 0x00110A8A32A4 5    UP    lan5 snap5       6    ETHER       Yes   119
LinkAgg0 0x00306E5E4BAD 900  UP    lan900 snap900   8    ETHER       Yes   119
LinkAgg1 0x00110A8A7296 901  UP    lan901 snap901   9    ETHER       Yes   119
LinkAgg2 0x000000000000 902  DOWN  lan902 snap902   10   ETHER       Yes   119
LinkAgg3 0x000000000000 903  DOWN  lan903 snap903   11   ETHER       Yes   119
LinkAgg4 0x000000000000 904  DOWN  lan904 snap904   12   ETHER       Yes   119

 

 

hp_apaconf

 

HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=MANUAL
HP_APA_GROUP_CAPABILITY[0]=900
HP_APA_HOT_STANDBY[0]=on
HP_APA_MANUAL_LA[0]=0,1

HP_APA_INTERFACE_NAME[1]=lan901
HP_APA_LOAD_BALANCE_MODE[1]=MANUAL
HP_APA_GROUP_CAPABILITY[1]=901
HP_APA_HOT_STANDBY[1]=on
HP_APA_MANUAL_LA[1]=2,3


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"

 

 

hp_apaportconf

 

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=900
HP_APAPORT_PRIORITY[0]=1
HP_APAPORT_CONFIG_MODE[0]=MANUAL

HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_GROUP_CAPABILITY[1]=900
HP_APAPORT_PRIORITY[1]=2
HP_APAPORT_CONFIG_MODE[1]=MANUAL

HP_APAPORT_INTERFACE_NAME[2]=lan2
HP_APAPORT_GROUP_CAPABILITY[2]=901
HP_APAPORT_PRIORITY[2]=1
HP_APAPORT_CONFIG_MODE[2]=MANUAL

HP_APAPORT_INTERFACE_NAME[3]=lan3
HP_APAPORT_GROUP_CAPABILITY[3]=901
HP_APAPORT_PRIORITY[3]=2
HP_APAPORT_CONFIG_MODE[3]=MANUAL


HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"

 

 

 

netconf

 

HOSTNAME="mabank"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1


INTERFACE_NAME[0]=lan900
IP_ADDRESS[0]="138.127.254.56"
SUBNET_MASK[0]="255.255.255.128"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

INTERFACE_NAME[1]=lan901
IP_ADDRESS[1]="138.127.255.56"
SUBNET_MASK[1]="255.255.255.128"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0

 

ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="138.127.254.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

 

ROUTE_DESTINATION[1]=138.127.255.1
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="138.127.255.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""


GATED=0
GATED_ARGS=""


RDPD=0


RARPD=0


 

Trusted Contributor
jerrym
Posts: 134
Registered: ‎02-12-2008
Message 4 of 10 (618 Views)

Re: HP APA error

Its coming from the /sbin/init.d/hpapa .

 

lanadmin option -l is not valid.  Wrong version of APA or lanadmin for 11.11??

 

Usage:   /usr/sbin/lanadmin [-a] [-A station_addr]
                  [-b] [-B on|off]
                  [-m] [-M mtu_size]
                  [-R]
                  [-s] [-S speed]
                  [-x] [-X] options
                  [-g] [get_options]
                  [-V] [VLAN-commands]
                  PPA
                  [-e]
                  [-t]
Default: /usr/sbin/lanadmin

a             Display current station address corresponding to PPA Number.
A             Set new station address corresponding to PPA Number.
station_addr  New station address in hex with '0x' prefix.
b             Display source routing flag corresponding to PPA Number.
B             Set source routing flag corresponding to PPA Number.
on|off        Enable or disable 802.5 source routing protocol.
m             Display current MTU size corresponding to PPA Number.
M             Set new MTU size corresponding to PPA Number.
mtu_size      New MTU size in bytes.
R             Reset MTU size corresponding to PPA Number to default.
s             Display current speed setting corresponding to PPA Number.
S             Set new speed setting corresponding to PPA Number.
speed         New speed setting in Mbits/second.
x             Display driver specific options corresponding to PPA Number.
X             Set driver specific options corresponding to PPA Number.
options       Specific options for -x/-X.
g             Get the settings corresponding to option specified by get_options.get_options   Specific options for -g.
p             Display usage information corresponding to PPA Number.
V             Invokes VLAN specific commands.
VLAN-commands Commands specific to VLAN and their option string.
PPA           PPA Number of interface. Req'd if any options above are selected.
e             Echo commands.
t             Terse prompts.

Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 5 of 10 (608 Views)

Re: HP APA error

What version of APA did you download/use?  It sounds like it might be for 11.23 or 11.31, rather than 11.11.


Pete
Trusted Contributor
jerrym
Posts: 134
Registered: ‎02-12-2008
Message 6 of 10 (603 Views)

Re: HP APA error

 J4240AA                       B.11.11.07     Auto-Port Aggregation Software

 

Architecture shows H_UX_B.11.11_32/64  underneath.

Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 7 of 10 (598 Views)

Re: HP APA error

And what does "what /usr/sbin/lanadmin" return?


Pete
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 8 of 10 (595 Views)

Re: HP APA error

Shalom,

To answer Pete's question.
root@dxd21hxd# swlist -l bundle | grep -i aggregation
J4240AA B.11.31.40 Auto-Port Aggregation Software

It does appear based on your lower post that you have a supported version.

What is the model of the server?

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
Trusted Contributor
jerrym
Posts: 134
Registered: ‎02-12-2008
Message 9 of 10 (590 Views)

Re: HP APA error

Sorry all, I guess it would help if I start posting  the standard info everyone needs. Been a long

time. I'll make sure to do that in the future.

 

 #what /usr/sbin/lanadmin
/usr/sbin/lanadmin:
         lanadmin.c $Date: 2005/01/29 20:37:34 $Revision: r11.11/3 PATCH_11.11 (PHNE_32396)
         lanadmin_mg.c $Date: 2001/04/07 00:38:00 $Revision: r11.11/1 PATCH_11.11 (PHNE_22963)
         $Revision: @(#) lanadmin R11.11_BL2006_0215_1 PATCH_11.11 PHNE_34427

 

 #model
9000/800/rp7420

 


 

Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 10 of 10 (587 Views)

Re: HP APA error

I was just checking the 11iV3 man pages for lanadmin and there is no -l option there either, so that's just plain bogus.  I would suggest downloading a new copy of APA but I see that it costs $1120 for an 11.11 version (the v3 version is free, though).  I'm pretty much stuck at this point.  I checked patches for lanadmin with no luck.  I guess I'll see if I can find anything for APA.


Pete
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.