C Configuring HP APA by Editing Files
This appendix provides information about editing the different configuration files to configure the following:
•Link aggregates
•Failover groups
Editing Configuration Files for Link Aggregates
This section shows how to configure the three modes associated with port aggregation.
For
http://www.docs.hp.com
IMPORTANT: The following information applies to each of the hpapa start and hpapa stop sequences listed on the following pages.
If you are configuring more than one of the four
NOTE: HP APA also requires that you configure the trunking mode (AUTO or MANUAL) of
your switches to match the mode being used on the server: Cisco Fast EtherChannel (FEC), IEEE 802.3ad Link Aggregation Control Protocol (LACP), or MANUAL mode.
Editing Files for MANUAL, FEC_AUTO, or LACP_AUTO Mode
1.Ensure that the switch ports and the HP LAN card ports are set to the same APA (or trunking) mode (MANUAL or AUTO), speed, and duplex mode.
2.Use the lanadmin command, if you need to verify that all HP LAN card ports intended for aggregation are connected to the LAN.
3.Remember that APA instance numbers begin with 900 (all versions of
MANUAL Port Configuration Mode
To configure lan1 and lan2 in link aggregate 900 with
1.Edit the /etc/rc.config.d/hp_apaconf file and add the following entries:
HP_APA_INTERFACE_NAME[0]=lan900 HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC HP_APA_MANUAL_LA[0]="1,2"
2.Edit the /etc/rc.config.d/hp_apaportconf file and add the following entries. If this is the
HP_APAPORT_INTERFACE_NAME[0]=lan1 HP_APAPORT_CONFIG_MODE[0]=MANUAL HP_APAPORT_INTERFACE_NAME[1]=lan2 HP_APAPORT_CONFIG_MODE[1]=MANUAL
Editing Configuration Files for Link Aggregates 105