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 release-specific information, see the release notes on your system in the
/opt/networkdocs
directory or on the web at:
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 port-configuration modes described here,
minimize the number of times you must enter
hpapa stop
(which can interrupt traffic on
existing link aggregates) by editing all configuration files first. You then only need to enter one
series of
hplm stop
(optional),
hpapa stop
,
hpapa start
, and
hplm start
(optional)
commands to activate the link aggregates and failover groups.
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
nwmgr
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.
MANUAL port configuration mode
To configure
lan1
and
lan2
in link aggregate 900 with MAC-based load balancing, do the
following:
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 first-time configuration, the configuration mode is already set to the default of
MANUAL
:
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
97