B HP APA Configuration Files

HP APA uses the following configuration files:

/etc/rc.config.d/hp_apaconf

/etc/rc.config.d/hp_apaportconf

/etc/lanmon/lanconfig.ascii

The following sections describe each file and its parameters. For configuration examples that describe editing these files, see Appendix C (page 105).

hp_apaconf File

The /etc/rc.config.d/hp_apaconf file contains the following general HP APA configuration parameters for link aggregates. You must set each of the supported parameters on a specific link aggregate prior to aggregating any physical ports. All of the link aggregate configuration parameters begin with the prefix HP_APA_.

HP_APA_DEFAULT_PORT_MODE The default way to configure link aggregates is through MANUAL port configuration mode. Ensure that switch ports and server ports are set to the same trunking mode (MANUAL or AUTO), duplex mode, and speed. Disable PAgP or LACP on any switch ports not intended to be used with APA. There are two variables governing the mode of ports:

HP_APA_DEFAULT_PORT_MODE in the /etc/ rc.config.d/hp_apaconf file. Sets the default APA configuration mode for all ports. The recommended mode is MANUAL. The APA product is shipped with the entry in the hp_apaconf file set to: HP_APA_DEFAULT_PORT_MODE=MANUAL.

HP_APAPORT_CONFIG_MODE in the /etc/ rc.config.d/hp_apaportconf file. Sets the APA configuration mode for a single port. This variable takes precedence.

A port's mode is set to the value of

HP_APA_DEFAULT_PORT_MODE, unless you specify its mode using the HP_APAPORT_CONFIG_MODE variable.

Example 1:

If the configuration mode of a port is not set with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is not set, the port's configuration mode is MANUAL for HP-UX 11.0 and 11i v1, and FEC_AUTO for HP-UX 11i v2.

Example 2:

If the configuration mode of a port is not set with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is set to MANUAL, the port's configuration mode is MANUAL.

Example 3:

If the configuration mode of a port is set to FEC_AUTO with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is set to MANUAL, the port's configuration mode is FEC_AUTO.

HP_APA_GROUP_CAPABILITY For FEC_AUTO (11i v1 and 11i v2) and MANUAL (11i v1) only. An integer value used to determine which network

hp_apaconf File 97

Page 97
Image 97
HP UX Auto Port Aggregation (APA) Software HP APA Configuration Files, Hpapaconf File, Ports mode is set to the value