HP UX Auto Port Aggregation (APA) Software manual Lanconfig File

Page 103

 

• The LAN interface name (for example, lan0 and lan1).

 

• The port priority that will be assigned to the port. The port

 

with the highest priority is the port.

 

• A cost value for the LAN interface preceded by a colon (:).

 

This is an optional field. See “Proactive Failover” (p. 15)

 

for more information.

POLLING_INTERVAL

The number of microseconds between polling messages. You

 

can specify this keyword multiple times in the configuration

 

file. A link aggregate's polling interval is set to the last specified

 

interval. For a description of this parameter, see “Failover

 

Group Advanced Parameters” (page 35).

DEAD_COUNT

The number of polling packets that are missed before LAN

 

Monitor sends a nettl log message to the user that indicates

 

the link might have problems and the network should be

 

checked. For a description of this parameter, see “Failover

 

Group Advanced Parameters” (page 35).

LM_RAPID_ARP

Enables (on) or disables (off) the ability to transmit gratuitous

 

ARP messages at intervals shorter than 5 seconds. By default,

 

LM_RAPID_ARP is off. For a description of this parameter, see

 

“Failover Group Advanced Parameters” (page 35).

LM_RAPID_ARP_INTERVAL

The number of microseconds between rapid gratuitous ARP

 

messages. If the value is out of the valid range and

 

LM_RAPID_ARP is on, the interval value last processed with

 

the lanapplyconf command is used. If LM_RAPID_ARP is

 

off, this value is ignored for the corresponding failover group.

 

For a description of this parameter, see “Failover Group

 

Advanced Parameters” (page 35).

LM_RAPID_ARP_COUNT

The number of gratuitous ARP packets sent rapidly. If the value

 

is not in the valid range and LM_RAPID_ARP is on, the count

 

value last processed with the lanapplyconf is used. If

 

LM_RAPID_ARP is off, this value is ignored for the

 

corresponding failover group. For a description of this

 

parameter, see “Failover Group Advanced Parameters”

 

(page 35).

If you specify the POLLING_INTERVAL, DEAD_COUNT, LM_RAPID_ARP_INTERVAL, and

LM_RAPID_ARP_COUNT fields once in the lanconfig.ascii file before all failover, the values apply to all failover groups. If you specify them multiple times in the file, the values apply only to those failover groups that follow these fields; you can set different values for failover groups.

lanconfig File

The /etc/lanmon/lanconfig file is a binary file that stores the current snapshot of the aggregates. Because you cannot modify the aggregates using the lanadmin command, and you cannot edit this file. It correctly represents the current configuration.

CAUTION: Do not edit the binary file because you can corrupt the data. Do not change the name or directory location. Doing so can make the product malfunction.

lanconfig File 103

Image 103
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105127 119129 Vlan over a Link Aggregate List of FiguresVlan over a Failover Group List of Tables List of Examples Document Organization About This DocumentIntended Audience New and Changed Information in This EditionRelated Information Typographic ConventionsHP Encourages Your Comments Publishing HistoryPage Conceptual Overview IntroductionLink Aggregate Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadAdministrative Methods Interoperability with HP ServiceguardHP System Administration Manager Manually Editing Configuration Files Lanadmin CommandInstallation Requirements Installing the APA SoftwareHardware Requirements Software Requirements Installing the SoftwareVerifying the Installation Operating System RequirementsOutput similar to the following displays Removing the SoftwareIf nothing is displayed, rebuild the kernel Page HP APA Configuration Examples Configuring APAEnterprise Intranet Client/Server Environment Configuring APA Internet or Large Enterprise Environments Using RoutersSample Router and Server Configuration No Switch Server-to-Server Back-to-Back Sample Router and Server Configuration SwitchHot Standby for High Availability This configuration has the following characteristicsSample Hot Standby Configuration for High Availability Server-to-Server with Switch Not RecommendedHP APA 2-4 Port Link Aggregation Switch Sample Failover Group Lanmonitor Configuration Failover Group Using Link AggregatesSample Failover Group Using Link Aggregates Configuration Preparing for ConfigurationAggregate Instance Number HP APA Configuration WorksheetHW Path ModeFailover Policy Instance NumberLoad Distribution Algorithm Link Aggregate Advanced ParametersPriority CostFailover Group Advanced Parameters Rapid ARP Count Configuring a Link AggregateConfiguring an Fecauto Mode Link Aggregate Rapid ARP Interval10 Displaying Link Aggregates 12 Link Aggregate Advanced Options Click Advanced Options to display window similar to FigureThis window, make the necessary changes and click OK 14 Modify Network Physical Port Attributes16 Status of Configured Link Aggregate is UP 18 Link Aggregate with Configured IP Address Using SAM to Configure a Manual Mode Link Aggregate19 Link Aggregates Supporting HP APA 21 Modify Network Physical Port Attributes 23 Configuring Link Aggregates 25 Adding Ports to or Deleting Ports from Link Aggregate 27 Configured Link Aggregates Display Configuring a Failover GroupVerifying the Configuration Configuring an IP AddressConfiguring the Link Partner Configuring HP ServiceguardWhat Happens During Start Up? What Happens During Start Up? Page Summary of lanadmin -x and -X Options Using the lanadmin CommandWhere Set OptionsDisplays the -Xand -xoptions help screen Lloadbalancealgorithm linkAggregatePPA Displays the help screen Display OptionsKportPPA lnyLinkAggregatePPA NanyLinkAggregatePPA Following option is supported, but with a different meaning Invoking lanadmin from the Command LineLanadmin -X -a 6 7 8 9 Configuring an Fecauto Mode Link Aggregation using lanadminChange ports lan1 and lan2 mode to Fecauto Using lanadmin InteractivelyLAN Interface Status Display Partner Page Modifying HP APA Global Parameters Administering HP APALogging Messages to the syslog.log File Examples Administering HP APAViewing HP APA Statistics Example 5-2shows 64-bit MIB statistics Example 5-1 Sample Link Aggregate 32-Bit StatisticsGetting Started Troubleshooting HP APASolving HP APA Problems Operation# /sbin/init.d/hplm stop # /sbin/init.d/hpapa stop No # lanscan Solving Link Aggregate Problems Manual Mode Complete the following steps # arp hostname Appears to hang, complete the following steps Solving Link Aggregate Problems Lacp Mode HP APA If the port is not in Lacp mode, possible reasons areSet the key value and mode with the following commands Complete the following steps # ifconfig interface-name up Solving Link Aggregate Problems FEC Mode If the port is not in FEC mode, possible reasons are Network is unreachable Complete the following steps Solving Failover Group Problems If the port is not in Lanmonitor mode, possible reasons are # lanadmin -r portPPA # lanqueryconf -s # lanapplyconf Complete the following steps Troubleshooting Tools Overview and Usage Scanning the System Hardware Testing Access to Internet Network HostsExample 6-1 Sample ioscan -f Output Nettl Tracing and Logging ToolTo stop Lacp tracing, enter To stop Ciscos FEC tracing, enterGathering Information Reporting ProblemsReporting Problems Page Table A-1 HP APA and LAN Monitor Capabilities Product SpecificationsPage Hpapaconf File HP APA Configuration FilesHP APA uses the following configuration files Ports mode is set to the valueOnly. Directs APA how to set up the Lacp Configure a link aggregate for Hot Standby mode. ThisPermissible values are on and off. The default is off Text might cause errors. This does not apply to HP APAHpapaportconf File Lanconfig.ascii File Example B-1 Sample lanconfig.ascii Configuration File Specify a name for each LAN Monitor failover group on Name format is lan9XX, where XX is a decimal numberName of the system as obtained by gethostname. This Must be the first line in the fileLanconfig File 104 Editing Configuration Files for Link Aggregates Configuring HP APA by Editing FilesEditing Files for MANUAL, FECAUTO, or Lacpauto Mode Activate the new configuration by entering Fecauto Port Configuration ModeActivate the configuration by entering Editing Configuration Files for Failover GroupsExample Configuring a Failover Group # lanscan Edit the file, if needed, and enter lancheckconf againProactive Failover Examples Assign a priority to the aggregates Edit the lanconfig.ascii configuration fileDown Edit the configuration fileConfiguring VLANs over Link Aggregates VLANs over APA Using HP Procurve SwitchesVerify that the Vlan with ID 333 is tagged to Trk3. Enter Configuring VLANs over Failover GroupsCreate the Vlan with ID 333 over lan900. Enter Tag Trk4 to VLANs 333 and 334. Enter Figure D-2 Vlan over a Failover GroupTag ports F17 and F18 to VLANs 333 and 334. Enter Switch 1# show vlan# lanadmin -V create vlanid 333 902 Successfully configured 118 Configuring a Single Port Switch Configuration InformationAlteon Switches Cisco 6509 SwitchesCreating an PAgP Link Aggregation Creating an Lacp Link AggregationDisplaying the Link Aggregation Displaying More Lacp Information Displaying a Port in a Link AggregationDeleting a Link Aggregation Extreme SwitchesConfiguring HP APA Link Aggregates Save the configuration. Enter saveProcurve Procurve SwitchesConfiguring Lacp Link Aggregates Procurve 4000/8000Enter the following Procurve 9304/8Following prompt displays TIP Enter command name ? to display the syntax for a commandReboot the switch. Enter the following Save the configuration. EnterInformation similar to the following displays Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb