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 97)
.
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.
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_FIXED_MAC
Enables (
on
) or disables (
off
) Fixed MAC mode on a link
aggregate.
hp_apaconf file
89