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 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 HP-UX 11i) or 100 (HP-UX 11.0).

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 105

Page 105
Image 105
HP UX Auto Port Aggregation (APA) Software manual Configuring HP APA by Editing Files