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

Page 15

1.Data Flow Lookup — The load distribution algorithm determines an index into a hash table that includes the physical port through which the outbound data flow is forwarded.

2.Data Flow Physical Port Assignment — If the hash index for the data flow has not been assigned a physical port (the entry is empty), a physical port in the link aggregate is assigned to that specific hash index. The physical port is selected on a Round Robin basis.

3.Aging Data Flows — Over time, each data flow is checked to determine if it is still active. If the data flow has not been active in the last 30 seconds, its specific hash index is cleared (aged out). If the data flow restarts after being cleared from the hash table, it is reassigned a new physical port on a Round Robin basis.

Each load distribution algorithm guarantees that it will not introduce any severe ordering problems within a specific data flow. This is required to ensure that the performance is not degraded significantly as a result of turning on one of the algorithms.

Also, all packets for a specific data flow always flow out through the same physical port until the data flow is aged out of the distribution table. This means that in order to generate simultaneous load on each of the physical ports in a link aggregate, start multiple data flows over the link aggregate.

Failover Group

HP APA enables you to combine 2 to 32 physical link ports into one failover group. A failover group is a link aggregate in LAN_MONITOR mode, but with the following differences:

One port is the active link, and the others are standby links. Network traffic is sent and received on the active port.

LAN Monitor periodically exchanges APA packets between the links making up the failover group. This enables better detection of non-operational links in the failover group.

If the active port or its link partner fails, LAN Monitor automatically migrates the traffic to one of the standby ports in the failover group. When a port with a higher priority than the current active port recovers, the network traffic is migrated back to the previous active port. Sometimes, it is desirable to have the network traffic remain on the current active port after the failure and recovery of the previous active port. To achieve this, set the HP APA port priorities the same for all ports in the failover group.

You can use 100BT, Gigabit, or 10 Gigabit Ethernet (10GbE) devices in the failover group. However, all the devices in the failover group must be of one type: 100BT, Gigabit, or 10GbE.

The failover group can have one or more IP addresses assigned to it.

The physical ports in the failover group do not share a common MAC address.

You can include link aggregates in a failover group. This enables increased bandwidth and load balancing in a failover group.

Proactive Failover

By default, the port in a failover group with the highest priority is the active port. This is called priority-based failover. However, the May 2005 and later releases of APA for HP-UX 11i v1 (B.11.11.20) and PHNE_33116 (B.11.11.17) patch release also allow you to configure failover groups with proactive failover.

With proactive failover, the port that is the most efficient at carrying traffic is the active port. Efficiency is determined by assigning a cost to each port in a failover group. This cost is divided by the port's current link speed to yield a normalized port cost; link speed is the number of links in a link aggregate multiplied by the speed of a member link, or in the case of a single link, only the link speed. The lower the normalized port cost, the higher the link's efficiency. If two links have the same normalized cost, the one with the higher priority is preferred.

For each failover group, if you assign a cost value to one link, you must assign a cost value to all other links in the group. If you do not specify a cost value for any of the failover group's links, the failover group uses the default failover behavior based on priority.

Conceptual Overview

15

Image 15
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105119 127129 List of Figures Vlan over a Link AggregateVlan 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 Introduction Conceptual OverviewLink Aggregate Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadInteroperability with HP Serviceguard Administrative MethodsHP System Administration Manager Manually Editing Configuration Files Lanadmin CommandInstalling the APA Software Installation RequirementsHardware Requirements Software Requirements Installing the SoftwareVerifying the Installation Operating System 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 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 CommandSet Options WhereDisplays 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 Administering HP APA Modifying HP APA Global ParametersLogging 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 Configuring HP APA by Editing Files Editing Configuration Files for Link AggregatesEditing 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 SwitchesConfiguring VLANs over Failover Groups Verify that the Vlan with ID 333 is tagged to Trk3. EnterCreate 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 Lacp Link Aggregation Creating an PAgP 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 commandSave the configuration. Enter Reboot the switch. Enter the followingInformation similar to the following displays Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb