HP UX Auto Port Aggregation (APA) Software manual Proactive Failover Examples

Page 110

8.Use the lanapplyconf command to build the failover group, and check it with the lanscan -q and netstat -in commands:

#lanapplyconf

Reading ASCII file /etc/lanmon/lanconfig.ascii

Creating Fail-Over Group lan900

#lanscan -q

4

0

3

9001 2

# netstat -in

Name

Mtu

Network

Address

Ipkts

Opkts

lan0

1500

191.1.1.0

191.1.1.1

1794

1173

lo0

4136

127.0.0.0

127.0.0.1

390

390

lan900

1500

192.1.1.0

192.1.1.153

0

0

NOTE: If lanapplyconf encounters an invalid failover group, it stops reading the /etc/ lanmon/lanconfig.ascii file. Any failover groups created prior to this error are unaffected.

9.The failover group is now operational. A reboot will restart the failover group as long as the /etc/lanmon/lanconfig.ascii file is intact and the port or link aggregation has an IP address in /etc/rc.config.d/netconf that matches the failover group's Stationary IP entry in /etc/lanmon/lanconfig.ascii.

If lan1 fails, lan2 becomes the active port. Similarly, if the failover group consists of two link aggregates, failover from the link aggregate to the standby link aggregate occurs only when all ports in the link aggregate failed. However, the examples in the next section show how proactive failover gives you greater control of the failover.

Proactive Failover Examples

For the May 2005 and later releases of HP APA for HP-UX 11i v1 (B.11.11.20) and PHNE_33116 (B.11.11.17) patch release, proactive failover relies on measuring and calculating efficiency. The efficiency of a link aggregate or individual port in a failover group is affected by the following:

The number of ports in each member of the failover group

The effective throughput of the switch or router to which the failover group members are connected

The following examples show how each affects the proactive failover operation.

Example 1

You want to configure a failover group (lan902) for proactive failover. You decide that failover group consists of two link aggregates: lan900 and lan901. The lan900 aggregate consists of ports 1, 2, and 3; the lan901 aggregate consists of ports 4 and 5. Ports 1, 2, 3, 4, and 5 have speeds of 100 Mb/s. In addition, you want the link aggregate with the most operational ports at any point in time to be the active link in the failover group.

NOTE: You can apply the methodology in this example to failover groups consisting of any number of link aggregates and ports.

To configure the failover group for proactive failover, do the following:

1.Determine network efficiency.

In this example, you assign both lan900 and lan901 a cost of 1.

110 Configuring HP APA by Editing Files

Image 110
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 105 113129 119127 Vlan over a Failover Group List of FiguresVlan over a Link Aggregate List of Tables List of Examples New and Changed Information in This Edition About This DocumentIntended Audience Document OrganizationTypographic Conventions Related InformationPublishing History HP Encourages Your CommentsPage Link Aggregate IntroductionConceptual Overview Load Balancing Failover Group Proactive FailoverTCP Segmentation Offload Vlan SupportHP System Administration Manager Interoperability with HP ServiceguardAdministrative Methods Lanadmin Command Manually Editing Configuration FilesHardware Requirements Installing the APA SoftwareInstallation Requirements Operating System Requirements Installing the SoftwareVerifying the Installation Software RequirementsIf nothing is displayed, rebuild the kernel Removing the SoftwareOutput similar to the following displays Page Enterprise Intranet Client/Server Environment Configuring APAHP APA Configuration Examples 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 NumberInstance Number ModeFailover Policy HW PathCost Link Aggregate Advanced ParametersPriority Load Distribution AlgorithmFailover Group Advanced Parameters Rapid ARP Interval Configuring a Link AggregateConfiguring an Fecauto Mode Link Aggregate 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 HP Serviceguard Configuring an IP AddressConfiguring the Link Partner Verifying the ConfigurationWhat Happens During Start Up? What Happens During Start Up? Page Using the lanadmin Command Summary of lanadmin -x and -X OptionsDisplays the -Xand -xoptions help screen Set OptionsWhere 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 Logging Messages to the syslog.log File Administering HP APAModifying HP APA Global Parameters Administering HP APA ExamplesViewing HP APA Statistics Example 5-1 Sample Link Aggregate 32-Bit Statistics Example 5-2shows 64-bit MIB statisticsOperation Troubleshooting HP APASolving HP APA Problems 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 Ports mode is set to the value HP APA Configuration FilesHP APA uses the following configuration files Hpapaconf FileText might cause errors. This does not apply to HP APA Configure a link aggregate for Hot Standby mode. ThisPermissible values are on and off. The default is off Only. Directs APA how to set up the LacpHpapaportconf File Lanconfig.ascii File Example B-1 Sample lanconfig.ascii Configuration File Must be the first line in the file Name format is lan9XX, where XX is a decimal numberName of the system as obtained by gethostname. This Specify a name for each LAN Monitor failover group onLanconfig File 104 Editing Files for MANUAL, FECAUTO, or Lacpauto Mode Configuring HP APA by Editing FilesEditing Configuration Files for Link Aggregates 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 AggregatesCreate the Vlan with ID 333 over lan900. Enter Configuring VLANs over Failover GroupsVerify that the Vlan with ID 333 is tagged to Trk3. 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 Cisco 6509 Switches Switch Configuration InformationAlteon Switches Configuring a Single PortDisplaying the Link Aggregation Creating an Lacp Link AggregationCreating an PAgP Link Aggregation Displaying a Port in a Link Aggregation Displaying More Lacp InformationSave the configuration. Enter save Extreme SwitchesConfiguring HP APA Link Aggregates Deleting a Link AggregationProcurve 4000/8000 Procurve SwitchesConfiguring Lacp Link Aggregates ProcurveProcurve 9304/8 Enter the followingTIP Enter command name ? to display the syntax for a command Following prompt displaysInformation similar to the following displays Save the configuration. EnterReboot the switch. Enter the following Administrative GlossaryMAC Index CKOFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb