HP UX Auto Port Aggregation (APA) Software manual Example Configuring a Failover Group

Page 108

POLLING_INTERVAL

 

10000000

DEAD_COUNT

 

3

LM_RAPID_ARP

 

off

LM_RAPID_ARP_INTERVAL

 

1000000

LM_RAPID_ARP_COUNT

 

10

FAILOVER_GROUP

 

lan900

STATIONARY_IP

192.1.1.1

STANDBY

lan11

3

PRIMARY

lan10

5

7.Compare the /etc/lanmon/lanconfig.ascii file with the /tmp/filename file.

If they are not the same, decide which file you want to use. If you want to use the file in

/tmp, copy that file to /etc/lanmon/lanconfig.ascii.

8.Edit the /etc/lanmon/lanconfig.ascii file and change the number of ports in the failover groups, the dead count, poll interval, rapid ARP setting, rapid ARP interval, rapid ARP count, and stationary IP address. The following example shows a failover group entry that contains an IPv6 address:

FAILOVER_GROUP

lan901

STATIONARY_IP

fe80::1

 

STANDBY

lan11

3

PRIMARY

lan4

5

PRIMARY

lan1

3

PRIMARY

lan2

3

PRIMARY

lan3

3

9.Verify that the configuration in /etc/lanmon/lanconfig.ascii is still valid by using the lancheckconf command.

10.Create the failover groups specified in the configuration file by using the lanapplyconf command.

This command creates the specified failover groups.

Check the failover groups by using the lanscan -qand netstat -incommands.

NOTE: If you later want to delete all the failover groups created, enter the landeleteconf command.

11.The failover group is now operational. A reboot will restart the failover group as long as the /etc/lanmon/lanconfig.ascii file is intact.

Example: Configuring a Failover Group

Suppose you want to configure a simple, two-port LAN Monitor failover group on a K-class system. You enter the netstat and ioscan commands as follows:

#netstat -in

Name

Mtu

Network

Address

Ipkts

Opkts

lan1

1500

192.1.1.0

192.1.1.153

9504123

12437048

lan0

1500

191.1.1.0

191.1.1.1

11202

257458

lo0

4136

127.0.0.0

127.0.0.1

417

417

#ioscan -fkC lan

Class

I

H/W Path

Driver

S/W State

H/W Type

Description

========================================================================

lan

1

8/8/1/0

igelan

CLAIMED

INTERFACE

HP PCI 1000Base-T Core

lan

2

8/8/2/0

igelan

CLAIMED

INTERFACE

HP PCI 1000Base-T Core

lan

3

8/12/1/0

igelan

CLAIMED

INTERFACE

HP PCI 1000Base-T Core

lan

4

8/12/2/0

igelan

CLAIMED

INTERFACE

HP PCI 1000Base-T Core

lan

0

10/12/6

lan2

CLAIMED

INTERFACE

Built-in LAN

#

 

 

 

 

 

 

The netstat output shows that lan1 is currently configured with IP address 192.1.1.153. The ioscan output shows spare 1000Base-T devices lan2, lan3, and lan4.

You decide that lan2 will be the standby link for the failover group, with lan1 as the device. To configure the failover group, do the following:

108 Configuring HP APA by Editing Files

Image 108
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 105 113119 127129 List of Figures Vlan over a Link AggregateVlan over a Failover Group List of Tables List of Examples About This Document Intended AudienceNew and Changed Information in This Edition Document OrganizationTypographic Conventions Related InformationPublishing History HP Encourages Your CommentsPage Introduction Conceptual OverviewLink Aggregate Load Balancing Failover Group Proactive FailoverTCP Segmentation Offload Vlan SupportInteroperability with HP Serviceguard Administrative MethodsHP System Administration Manager Lanadmin Command Manually Editing Configuration FilesInstalling the APA Software Installation RequirementsHardware Requirements Installing the Software Verifying the InstallationOperating System Requirements Software RequirementsRemoving the Software Output similar to the following displaysIf nothing is displayed, rebuild the kernel Page Configuring APA HP APA Configuration ExamplesEnterprise Intranet Client/Server Environment Internet or Large Enterprise Environments Using Routers Configuring APASample Router and Server Configuration No Switch Sample Router and Server Configuration Switch Server-to-Server Back-to-BackThis configuration has the following characteristics Hot Standby for High AvailabilityServer-to-Server with Switch Not Recommended Sample Hot Standby Configuration for High AvailabilityHP APA 2-4 Port Link Aggregation Switch Failover Group Using Link Aggregates Sample Failover Group Lanmonitor ConfigurationPreparing for Configuration Sample Failover Group Using Link Aggregates ConfigurationHP APA Configuration Worksheet Aggregate Instance NumberMode Failover PolicyInstance Number HW PathLink Aggregate Advanced Parameters PriorityCost Load Distribution AlgorithmFailover Group Advanced Parameters Configuring a Link Aggregate Configuring an Fecauto Mode Link AggregateRapid ARP Interval Rapid ARP Count10 Displaying Link Aggregates Click Advanced Options to display window similar to Figure 12 Link Aggregate Advanced Options14 Modify Network Physical Port Attributes This window, make the necessary changes and click OK16 Status of Configured Link Aggregate is UP Using SAM to Configure a Manual Mode Link Aggregate 18 Link Aggregate with Configured IP Address19 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 Configuring a Failover Group 27 Configured Link Aggregates DisplayConfiguring an IP Address Configuring the Link PartnerConfiguring HP Serviceguard Verifying the ConfigurationWhat Happens During Start Up? What Happens During Start Up? Page Using the lanadmin Command Summary of lanadmin -x and -X OptionsSet Options WhereDisplays the -Xand -xoptions help screen Lloadbalancealgorithm linkAggregatePPA Display Options Displays the help screenKportPPA lnyLinkAggregatePPA NanyLinkAggregatePPA Invoking lanadmin from the Command Line Following option is supported, but with a different meaningConfiguring an Fecauto Mode Link Aggregation using lanadmin Lanadmin -X -a 6 7 8 9Using lanadmin Interactively Change ports lan1 and lan2 mode to FecautoLAN Interface Status Display Partner Page Administering HP APA Modifying HP APA Global ParametersLogging Messages to the syslog.log File Administering HP APA ExamplesViewing HP APA Statistics Example 5-1 Sample Link Aggregate 32-Bit Statistics Example 5-2shows 64-bit MIB statisticsTroubleshooting HP APA Solving HP APA ProblemsOperation Getting Started# /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 If the port is not in Lacp mode, possible reasons are HP APASet 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 Testing Access to Internet Network Hosts Scanning the System HardwareNettl Tracing and Logging Tool Example 6-1 Sample ioscan -f OutputTo stop Ciscos FEC tracing, enter To stop Lacp tracing, enterReporting Problems Gathering InformationReporting Problems Page Product Specifications Table A-1 HP APA and LAN Monitor CapabilitiesPage HP APA Configuration Files HP APA uses the following configuration filesPorts mode is set to the value Hpapaconf FileConfigure a link aggregate for Hot Standby mode. This Permissible values are on and off. The default is offText might cause errors. This does not apply to HP APA Only. Directs APA how to set up the LacpHpapaportconf File Lanconfig.ascii File Example B-1 Sample lanconfig.ascii Configuration File Name format is lan9XX, where XX is a decimal number Name of the system as obtained by gethostname. ThisMust be the first line in the file Specify a name for each LAN Monitor failover group onLanconfig File 104 Configuring HP APA by Editing Files Editing Configuration Files for Link AggregatesEditing Files for MANUAL, FECAUTO, or Lacpauto Mode Fecauto Port Configuration Mode Activate the new configuration by enteringEditing Configuration Files for Failover Groups Activate the configuration by enteringExample Configuring a Failover Group Edit the file, if needed, and enter lancheckconf again # lanscanProactive Failover Examples Edit the lanconfig.ascii configuration file Assign a priority to the aggregatesEdit the configuration file DownVLANs over APA Using HP Procurve Switches Configuring VLANs over Link AggregatesConfiguring VLANs over Failover Groups Verify that the Vlan with ID 333 is tagged to Trk3. EnterCreate the Vlan with ID 333 over lan900. Enter Figure D-2 Vlan over a Failover Group Tag Trk4 to VLANs 333 and 334. EnterSwitch 1# show vlan Tag ports F17 and F18 to VLANs 333 and 334. Enter# lanadmin -V create vlanid 333 902 Successfully configured 118 Switch Configuration Information Alteon SwitchesCisco 6509 Switches Configuring a Single PortCreating an Lacp Link Aggregation Creating an PAgP Link AggregationDisplaying the Link Aggregation Displaying a Port in a Link Aggregation Displaying More Lacp InformationExtreme Switches Configuring HP APA Link AggregatesSave the configuration. Enter save Deleting a Link AggregationProcurve Switches Configuring Lacp Link AggregatesProcurve 4000/8000 ProcurveProcurve 9304/8 Enter the followingTIP Enter command name ? to display the syntax for a command Following prompt displaysSave the configuration. Enter Reboot the switch. Enter the followingInformation similar to the following displays Administrative GlossaryMAC Index CKOFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb