lanqueryconf.1m (2010 09)

l
lanqueryconf(1M) lanqueryconf(1M)
NAME
lanqueryconf - query LAN interface configuration information for LAN_MONITOR mode link aggregates,
also called failover groups
SYNOPSIS
/usr/sbin/lanqueryconf -s
[-v
][-c ascii_file ]
/usr/sbin/lanqueryconf -b
[
-v][-c ascii_file ]
DESCRIPTION
The
lanqueryconf command discovers the set of LAN interfaces that can form a failover group and
then maps that information to the /etc/lanmon/lanconfig.ascii
ASCII configuration file.
Options
lanqueryconf supports the following options:
-b Find existing LAN Monitor failover group configuration from the kernel, and write
it to the ASCII configuration file.
-c ascii_file Specifies the name of the ASCII configuration file into which configuration informa-
tion is written. See the "ASCII Configuration File" section for information about the
file parameters and syntax. By default, information is written to the
/etc/lanmon/lanconfig.ascii
file.
-s Queries the system for the potential failover group configuration, and write it to the
ASCII configuration file.
-v Displays verbose output.
ASCII Configuration File
The default ASCII configuration file is
/etc/lanmon/lanconfig.ascii
. It is similar to the
/etc/cmcluster.cnf
Serviceguard file. This file contains the fields below.
Note: the term port is used for a physical link or a link aggregate with
MANUAL,
FEC_AUTO,or
LACP_AUTO mode.
FAILOVER_GROUP
The aggregate name for a LAN Monitor failover group, lan9XX, where XX is a decimal number, start-
ing with 00 (lan900).
lanqueryconf -s may generate failover group name lanX, where X is the PPA of the physical
link. Such failover group will be ignored unless it is modified manually.
Each
FAILOVER_GROUP can have the following keywords:
STATIONARY_IP
This field can be used to specify the preconfigured IP address on the primary port.
PRIMARY
Each failover group must have one primary port. The primary port is usually assigned the highest
priority or lowest cost value, so it will be the port that carries traffic initially. The primary port is
also the port that may have IP addresses configured. After lanapplyconf creates the failover group,
the IP addresses on the primary port (if any is present) are moved to the failover group.
Prior versions of APA maintains that the primary port must have IP address configured and must
be the highest priority/lowest cost. APA 11i v3 observes neither of these rules: the primary port
may be assigned any priority/cost values and it may not have IP addresses configured. Port that
carries traffic depends on the priority/cost.
HP recommends that the primary port always be assigned the highest priority or the lowest cost in
a failover group.
STANDBY
Specifies a standby port for the FAILOVER_GROUP. A standby port is a port that replaces the pri-
mary port when the primary is incapable of carrying traffic.
Both the
PRIMARY and STANDBY keywords have the following fields:
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)