HP -UX 11i v3 Administrator's Manual

Auto port aggregation
Hide thumbs Also See for HP-UX 11i v3:
Table of Contents

Advertisement

HP Auto Port Aggregation Administrator's
Guide
HP-UX 1 1i v3
HP Part Number: J4240-90049
Published: January 2010
Edition: January 2010, E1001

Advertisement

Table of Contents
loading

Summary of Contents for HP HP-UX 11i v3

  • Page 1 HP Auto Port Aggregation Administrator's Guide HP-UX 1 1i v3 HP Part Number: J4240-90049 Published: January 2010 Edition: January 2010, E1001...
  • Page 2 Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. UNIX is a registered...
  • Page 3: Table Of Contents

    Conceptual overview..........................9 Link aggregate...........................9 Load balancing...........................10 Failover group..........................11 Proactive failover........................11 TCP Segmentation Offload......................12 VLAN support..........................12 Interoperability with HP Serviceguard....................13 Administrative methods........................13 HP System Management Homepage....................13 nwmgr command..........................15 Manually editing configuration files....................15 2 Installing the APA software..................17 Installation requirements........................17 Product dependencies........................17 Hardware requirements........................17...
  • Page 4 Viewing HP APA statistics........................44 Monitoring HP APA statistics......................46 5 Using the nwmgr command..................49 nwmgr overview...........................49 HP APA tasks and the nwmgr command.....................49 Displaying HP APA configuration information................50 Creating a MANUAL mode link aggregate..................53 Deleting an HP APA interface......................54 Resetting a data flow........................54 Task comparison with other LAN commands..................54...
  • Page 5 LACP_AUTO port configuration mode..................98 Editing configuration files for failover groups................99 Example: Configuring a failover group...................100 Proactive failover examples......................102 D VLANs over APA using HP Procurve switches............105 Configuring VLANs over link aggregates..................105 Configuring VLANs over failover groups..................106 E Switch configuration information................111 Alteon switches...........................111...
  • Page 6 List of Figures SMH Main Page..........................14 HP APA Main Page........................15 Sample Enterprise Intranet Client/Server Configuration..............22 Sample Router and Server Configuration (No Switch)..............23 Sample Router and Server Configuration (Switch)...............24 Sample Server-to-Server Configuration (Back-to-Back)..............25 Sample Hot Standby Configuration for High Availability............26 Sample Server-to-Server Configuration with Switch (Not Recommended).........27 Sample Failover Group (LAN_MONITOR) Configuration............28...
  • Page 7 List of Tables Legacy Commands and Corresponding nwmgr Commands............54 HP APA and LAN Monitor Capabilities..................87 lan900 Events and Proactive Failover (Equal Network Costs)............103 lan900 Events and Proactive Failover (Unequal Network Costs)..........104...
  • Page 8 List of Examples Sample Link Aggregate 32-Bit Statistics..................45 Sample Link Aggregate 64-Bit Statistics..................46 Sample Link Aggregate 32-Bit Statistics Monitoring..............47 nwmgr Output (No Options)......................50 nwmgr Command Verbose Output (Failover Group)..............51 nwmgr Verbose Output (Link Aggregate)..................53 nwmgr All Attributes Output (Link Aggregate)................53 Sample ioscan –f Output.......................81 Sample lanconfig.ascii Configuration File..................93 List of Examples...
  • Page 9: Introduction

    Administrative methods Link aggregate HP APA enables you to combine 2 to 8 physical link ports (up to 32 for LACP mode) into one link aggregate. This gives the link aggregation a theoretical bandwidth of 8 times that of a single physical link (32 times for LACP mode).
  • Page 10: Load Balancing

    MAC address of one of the ports in the link aggregate. All ports will use the same MAC address. The January 2010 release of APA for HP-UX 11i v3 (B.11.31.40) enables you to assign a fixed MAC address for the link aggregate. For more information on assigning a fixed MAC address for link aggregates, see “Editing files for MANUAL, FEC_AUTO, or LACP_AUTO...
  • Page 11: Failover Group

    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: •...
  • Page 12: Tcp Segmentation Offload

    UP. TCP Segmentation Offload HP APA supports TCP Segmentation Offload (TSO), also known as Large Send, on link aggregates and failover groups if all the Ethernet cards are capable of it. TSO is a mechanism by which the host stack offloads certain portions of outbound TCP packet processing to the Network Interface Card (NIC) thereby reducing host CPU utilization.
  • Page 13: Interoperability With Hp Serviceguard

    In this manual, wherever HP SMH is mentioned in relation to HP APA configuration and administrative tasks, it is presumed that you know how to invoke it. To invoke the HP SMH, do the following:...
  • Page 14: Smh Main Page

    From a character-cell terminal or terminal window, enter: # smh If the DISPLAY environment variable is set, HP SMH opens in the default web browser. If the environment variable is not set, HP SMH opens in the TUI. Figure 1-1 shows the SMH Main page.
  • Page 15: Nwmgr Command

    HP strongly recommends that you use SMH to update the system files. In many cases, the HP SMH is the best alternative to manually editing system files, thus it is the utility that is most frequently discussed in this manual.
  • Page 17: Installing The Apa Software

    $PATH command. Use the uname -a command to determine the HP-UX version of your system. Product dependencies See the HP-UX Auto Port Aggregation (APA) Release Notes for required patches and known problems and workarounds. IMPORTANT: You must install the required patches before you install the HP APA software.
  • Page 18: Operating System Requirements

    Operating system requirements HP-UX 11i v3 Software requirements For the December 2008 release of HP APA for HP-UX 11i v3 (B.11.31.30) and later releases, if you want to IPoIB interfaces for failover groups, HP APA requires the following software: •...
  • Page 19: Removing The Software

    When the status field indicates Ready, a Note window opens. Click OK on the Note window to reboot the system. NOTE: You must reboot the system after the software removal to deconfigure HP APA in the kernel. See swremove(1M) for more information.
  • Page 21: Configuring Apa

    • Performing post-configuration tasks HP APA configuration examples This section shows some sample HP APA configurations. Select a configuration that most closely matches the environment into which you want to configure HP APA on your system. Enterprise intranet client/server environment Figure 3-1 shows a sample enterprise client/server environment.
  • Page 22: Internet Or Large Enterprise Environments Using Routers

    HP ProCurve 8000 Switch Internet or large enterprise environments using routers You can use HP APA link aggregation successfully in certain environments employing routers. You must be careful because a particular router might not have a load balancing capability. Additionally, switches employed between the server employing HP APA and the router inject another level of complexity that you must analyze before determining that the environment is a candidate for HP APA link aggregations.
  • Page 23: Sample Router And Server Configuration (No Switch)

    Figure 3-2 Sample Router and Server Configuration (No Switch) Attn. Fault Remote Power HP APA 2–4 Port Link Aggregation Router or Switching Router Intranet Internet Figure 3-3 (page 24) shows a sample router and server configuration with a switch. In this configuration, the switch might present problems because switches typically use a MAC address load-balancing algorithm.
  • Page 24: Server-To-Server (Back-To-Back)

    • It needs many TCP/UDP client connections between the servers in order for load balancing to be effective. Therefore, use the HP APA TCP/UDP port load-balancing algorithm. • Depending on the network traffic bandwidth requirements, use two to eight 100BT interfaces or two to eight Gigabit interfaces in an PAgP or MANUAL link aggregation.
  • Page 25: Hot Standby For High Availability

    MANUAL (Hot Standby) mode configuration. These link aggregations provide high availability network access with an active link and a standby link. NOTE: HP strongly recommends using failover groups (LAN_MONITOR mode) rather than Hot Standby mode. Hot Standby aggregates are deprecated. This configuration has the following characteristics: •...
  • Page 26: Server-To-Server With Switch (Not Recommended)

    This configuration will not work as intended for the following reasons: • The switch nullifies any load balancing of network traffic provided by HP APA. • The switch uses a MAC address load-balancing algorithm. Because the servers' link aggregations have fixed MAC addresses, the switch will not load balance;...
  • Page 27: Failover Group

    Figure 3-6 Sample Server-to-Server Configuration with Switch (Not Recommended) Attn. Fault Remote Power HP APA 2–4 Port Link Aggregation hp ProCurve Switch 8000 Switch HP APA 2–4 Port Link Aggregation Attn. Fault Remote Power Failover group Figure 3-7 (page 28) shows a sample failover group (LAN_MONITOR mode) configuration.
  • Page 28: Failover Group Using Link Aggregates

    This configuration has the following characteristics: • You can use any HP APA link aggregate, except Hot Standby, as a device in the failover group. • The standby link does not have to be a link aggregation. It can be a single physical link of the same type as used in the link aggregation.
  • Page 29: Preparing For Configuration

    Switch 8000 Switch 8000 Switch 8000 Preparing for configuration Before you configure the HP APA software, you must gather information about your system and network environment. Figure 3-9 shows the APA Configuration Worksheet. The following sections describe the information that you need to record on the worksheets. If you are viewing this manual on line, you can use the print feature to print a copy of this worksheet.
  • Page 30: Hp Apa Configuration Worksheet

    Figure 3-9 HP APA Configuration Worksheet HP APA Configuration Worksheet Aggregate Instance Number Mode FEC_AUTO LACP_AUTO MANUAL LAN_MONITOR Not_Enabled Failover Priority Based Cost Based Instance Hardware Interface Number: Cost: Path: Type: Priority: Advanced Parameters (Link Aggregates) Load Distribution LB_MAC LB_IP...
  • Page 31 Automatically start the FEC protocol on the physical port. LACP_AUTO Automatically start LACP on the physical port. MANUAL HP APA does not automatically aggregate ports. You must manually add or remove ports from a link aggregate. LAN_MONITOR The ports are used for a failover group.
  • Page 32: Link Aggregate Advanced Parameters

    If you assign a cost value to one link, you must assign a cost value to all links in the failover group. Leave this blank if you do not want to assign a cost value; HP APA will assign...
  • Page 33: Failover Group Advanced Parameters

    Recommended configuration: Servers that need highly available network interfaces. CAUTION: For HP Serviceguard configurations, the member links of an APA Hot Standby link aggregate must be bridged to function properly. If they are not, the node or cluster might go down when a member link fails.
  • Page 34: Configuring A Link Aggregate

    Specify a whole number of seconds because the value you specify is rounded up to the next whole number of seconds. The value must be a valid integer. The rapid ARP interval multiplied by the rapid ARP count must be less than or equal to 60 seconds. Rapid ARP Count The number of gratuitous ARP packets sent rapidly.
  • Page 35: Configuring A Failover Group

    Select the Configuration Options you want. Click OK to create a link aggregate and set the attributes. An Operation Successful page appears (Figure 3-11), confirming the creation of the link aggregate and the updating of the APA configuration. Figure 3-1 1 Operation Successful Page Click OK.
  • Page 36: Create Failover Group Page

    Click Create Failover Group on the APA main page to open the Create Failover Group page as shown in Figure 3-12. Figure 3-12 Create Failover Group Page Select a Link Aggregate Instance, or accept the default. If you select a different value, the display refreshes.
  • Page 37: Configuring An Ip Address

    Configuring an IP address After you configure HP APA, you must configure an IP address on the interface. To configure an IP address for a link aggregate or failover group, do the following: Select a link aggregate or failover group in the list pane on the APA main page. The interface details are displayed in the details pane.
  • Page 38: Verifying The Configuration

    VLANs nor modify any VLANs on the link aggregate or failover group. Users can only delete the VLANs. Appendix D (page 105) for examples of configuring VLANs over APA using HP Procurve switches. Verifying the configuration The APA main page displays all configured link aggregates and failover groups, and any available ports on the system.
  • Page 39: Administering Hp Apa

    4 Administering HP APA Administering HP APA consists of performing the following tasks: • “Modifying a link aggregate” (page 39) • “Modifying a failover group” (page 39) • “Deleting a link aggregate” (page 39) • “Deleting a failover group” (page 41) •...
  • Page 40: Delete Link Aggregate Page

    Select the Configuration Options you want, if different from the default. Click OK to delete the link aggregate. An Operation Successful page appears (Figure 4-2), confirming the deletion of the link aggregate and the updating of the APA configuration. Administering HP APA...
  • Page 41: Deleting A Failover Group

    Displaying the current APA configuration To display the HP APA current configuration information, do the following: Click Display Current APA Configuration on the SMH APA main page to display all HP APA aggregate and standalone port information. Click OK to display the APA main page when you are finished viewing the information.
  • Page 42: Modifying Hp Apa Global Parameters

    Click OK to display the APA main page when you are finished viewing the information. Modifying HP APA global parameters The following HP APA global parameters are stored in the /etc/rc.config.d/hp_apaconf file: Default Port Mode The default configuration mode for link aggregates.
  • Page 43: Performing Critical Resource Analysis

    For information on configuring APA to log status messages to the /var/adm/syslog/ syslog.log file, see “Modifying HP APA global parameters” (page 42). Examples This section contains sample status messages that might appear in the syslog.log file. In these examples, a link is considered UP: •...
  • Page 44: Viewing Hp Apa Statistics

    Proactive failover occurred in the failover group. For detailed log messages, use the NetTL subsystem. See nettl(1M) for more information. Viewing HP APA statistics The link aggregate software keeps a counter for each statistic defined in RFC 1213 MIB II for 32-bit statistics or RFC 2863 for 64-bit statistics.
  • Page 45: Sample Link Aggregate 32-Bit Statistics

    Inbound Unicast Packets Inbound Non-Unicast Packets = 22064 Inbound Discards Inbound Errors Inbound Unknown Protocols = 22064 Outbound Octets Outbound Unicast Packets Outbound Non-Unicast Packets = 0 Outbound Discards Outbound Errors Specific Example 4-2 shows 64-bit MIB statistics. Viewing HP APA statistics...
  • Page 46: Monitoring Hp Apa Statistics

    = Enabled Monitoring HP APA statistics For the December 2007 release (B.11.31.10) and later of HP APA for HP-UX 11i v3, the nwmgr command --stats monitor option enables you to view APA traffic continuously, including statistics of every member port of an APA link aggregate. You can specify the following...
  • Page 47: Sample Link Aggregate 32-Bit Statistics Monitoring

    ========================= SEP 28,2007 10:57:34 ================================ 32-bit MIB Statistics for Linkagg 901 ------------------------------------- OutPackets OutErr OutDis InPackets InErr InDis ========================= SEP 28,2007 10:57:35 ================================ 32-bit MIB Statistics for Linkagg 901 ------------------------------------- OutPackets OutErr OutDis InPackets InErr InDis Ctrl+c Viewing HP APA statistics...
  • Page 49: Using The Nwmgr Command

    HP APA is the apa subsystem. Use the nwmgr -h -S apa command to display a list of command syntaxes for the APA subsystem.
  • Page 50: Displaying Hp Apa Configuration Information

    • Save the current HP APA configuration to the HP APA configuration files (--saved option) • View all APA interfaces (--get option, the default) • View all or specified attributes of an APA or physical LAN interface • View all or specified APA global attributes (-q global or -A attribute option, respectively) •...
  • Page 51: Nwmgr Command Verbose Output (Failover Group)

    One of the following states for the specified instance: The specified instance is up and running. The specified instance is in a down state. Down The specified instance is up, and is the active port in its parent link aggregate. Active HP APA tasks and the nwmgr command...
  • Page 52 The specified instance is up, and is ready to take traffic in its parent link Standby aggregate. A list of the members of the specified link aggregate. In the previous example, the values 9, 21, 22, 14, 13* mean lan9, lan21, lan22, lan14, and lan13 are the member of the lan900. The asterisk character (*) after 13 indicates lan13 is in a down state.
  • Page 53: Creating A Manual Mode Link Aggregate

    To create a MANUAL mode link aggregate lan900 from ports lan1 and lan2, enter the following command: # nwmgr -a -A links=1,2 -A mode=MANUAL -I 900 -S apa Addition of links 1, 2 to lan900 succeeded. HP APA tasks and the nwmgr command...
  • Page 54: Deleting An Hp Apa Interface

    Deletion of links all ports from lan900 succeeded. Resetting a data flow To ensure that packets are transmitted in order, HP APA uses the same data flow. For example, for the LB_MAC load balancing algorithm, traffic between same source/destination MAC pair is always sent through the same port.
  • Page 55 Table 5-1 Legacy Commands and Corresponding nwmgr Commands (continued) Task Legacy Command nwmgr Command Remove all ports from a link lanadmin -X -c 900 nwmgr -d -A links=all -I 900 -S aggregate Remove all ports from a landeleteconf -g lan900 nwmgr -d -A links=all -c lan900 failover group Remove specific ports from a...
  • Page 56 Table 5-1 Legacy Commands and Corresponding nwmgr Commands (continued) Task Legacy Command nwmgr Command Get statistics lanadmin -g 900 nwmgr --st -c lan900 Monitoring statistics apa-monitor -p 5 nwmgr --st monitor -S apa -I Reset an APA interface lanadmin -r 900 nwmgr -r -c lan900 Reset statistics lanadmin -c 900...
  • Page 57: Troubleshooting Hp Apa

    The map also refers you to other manuals for more complete diagnostic information for particular devices and software products. You might experience problems that are not documented in this manual when you use the HP APA software with other products. See the documentation for the other products for additional information.
  • Page 58 Edit the /etc/rc.log file and search for the string hpapa. This takes System booted you to the beginning of the HP APA start-up section. If there are without errors? failover groups configured on your system, the following message indicates an error:...
  • Page 59 # ps -e | grep inetd If no inetd daemon is running, start it using the following command: # /sbin/init.d/inetd start Verify that the HP APA depot is installed by issuing the following APA depot command: installed? # swlist | grep J4240AA...
  • Page 60: Solving Link Aggregate Problems (Manual Mode)

    If they are not, use the System Management Homepage to modify the link aggregate. See “Modifying a link aggregate” (page 39) for more information. Verify the ports in the link aggregate by issuing the following Correct ports in command: link aggregate? # nwmgr -S apa Troubleshooting HP APA...
  • Page 61 If the status is DOWN, check the cabling from the NIC to the switch and see the steps for NIC operating?. On the switch, verify that all ports you expect to be in the link aggregate are in the same MANUAL trunk. Solving HP APA problems...
  • Page 62 For additional information about the ping command, see “Testing access to Internet network hosts” (page 80). Verify that an entry exists for the remote host in your system's ARP cache by entering the following command: Troubleshooting HP APA...
  • Page 63 Verify whether you have a problem with a pseudoterminal driver (pty) on your system by issuing the ftp command to the remote host. If the command is successful, there is a problem with a pty on your system. Contact your HP representative. See “Reporting problems ” (page 83) for more information.
  • Page 64: Solving Link Aggregate Problems (Lacp Mode)

    (for example, 1, 2, or 6). If they are not, use the System Management Homepage to modify the link aggregate. See “Modifying a link aggregate” (page 39) for more information. Troubleshooting HP APA...
  • Page 65 # nwmgr -d -A links=port-number -c aggregate-instance If there are ports you wanted in the link aggregate that are not members of the link aggregate, do the following: Solving HP APA problems...
  • Page 66 -A key -c lanxxx command, where xxx is the instance number for the link aggregate (for example, 900 for lan900). If it does not, set it with the following command: # nwmgr -s -A key=value -c lanxxx Troubleshooting HP APA...
  • Page 67 Verify that the remote host is in another name domain and that the user specified the full domain name. If your site uses the Domain Name System (DNS) for name-to-address translation, look in the /etc/nsswitch.conf Solving HP APA problems...
  • Page 68 Verify that the user is intended to have access to the remote host. The remote host might be intentionally preventing remote access. Verify that the correct host and user definitions exist in the user's .rhosts file on the remote host. Troubleshooting HP APA...
  • Page 69 Verify whether you have a problem with a pseudoterminal driver (pty) on your system by issuing the ftp command to the remote host. If the command is successful, there is a problem with a pty on your system. Contact your HP representative. See “Reporting problems ” (page 83) for more information.
  • Page 70: Solving Link Aggregate Problems (Fec Mode)

    # nwmgr -A mode,gc -I xxx -S apa where xxx is the port instance number (for example, 1,4, and 10). If they are not, use the System Management Homepage (SMH) to modify the aggregate. See “Modifying a link aggregate” (page 39) for more information. Troubleshooting HP APA...
  • Page 71 Verify the active ports in the link aggregate by issuing the following All ports active? command: # nwmgr -v -I xxx -S apa where xxx is the link aggregate instance number. The Active Port(s) field lists the active ports. Solving HP APA problems...
  • Page 72 Inspect the cabling between the local host and the link partner. Perform a loopback test on your own system by using the ping command. If this is successful, your system is operating properly to the Network Layer (OSI Layer 3). Troubleshooting HP APA...
  • Page 73 Verify whether you have a problem with a pseudoterminal driver (pty) on your system by issuing the ftp command to the remote host. If the command is successful, there is a problem with a pty on your system. Contact your HP representative. See “Reporting problems ” (page 83) for more information.
  • Page 74: Solving Failover Group Problems

    Transfer a file to a different remote host on the network. Use the netstat command to check for lost packets. If network congestion does not appear to be the cause, contact your HP representative. See “Reporting problems ” (page 83) more information.
  • Page 75 Unconfigure them from the port and start LAN_MONITOR again. • The port is not in full-duplex mode. Make sure the port on the server and on the switch are set to full-duplex or to autonegotiate. Start LAN_MONITOR again. Solving HP APA problems...
  • Page 76 The port is already in a link aggregate or failover group. Find another port to use. • The port is not an Ethernet port or is not supported by HP APA. • The port is down. Wait for the port to come up. Verify that the port is connected to the switch correctly.
  • Page 77 If they are the same, the ready ports are connected to the current active port. Add the deleted port to the failover group. For priority-based failover groups, enter the following command: # nwmgr -s -A links=port port_pri=value -c lanxxx Solving HP APA problems...
  • Page 78 See nsswitch.conf(4) for more information. If a remote host is not reachable, the following message is displayed: Host reachable? host is unreachable Complete the following steps: Inspect the cabling between the local host and the link partner. Troubleshooting HP APA...
  • Page 79 Verify whether you have a problem with a pseudoterminal driver (pty) on your system by issuing the ftp command to the remote host. If the command is successful, there is a problem with a pty on your system. Contact your HP representative. See “Reporting problems ” (page 83) for more information.
  • Page 80: Troubleshooting Tools Overview And Use

    Format the nettl.LOG000 file using the following command: # netfmt -N nettl.LOG000 Troubleshooting tools overview and use To help you resolve problems with HP APA, the operating system provides tools you can use to complete the following tasks: • Test access to network hosts on the Internet •...
  • Page 81: Scanning The System Hardware

    3 10/4 CLAIMED BUS_NEXUS Bus Converter 0 10/4/0 mux2 CLAIMED INTERFACE MUX lanmux 0 10/4/4 lanmux0 CLAIMED INTERFACE HP J2146A - 802.3 LAN 1 10/4/4.1 lan3 CLAIMED INTERFACE 3 10/8 GSCtoPCI CLAIMED BUS_NEXUS PCI Bus Bridge - GSCtoPCI 2 10/8/1/0...
  • Page 82 To start Cisco's FEC tracing to the file /tmp/tracefile.TRC0, enter: nettl -traceon all -entity HP_APAPORT -file /tmp/tracefile • To stop Cisco's FEC tracing, enter: nettl -traceoff all -entity HP_APAPORT • To start LACP tracing to the file /tmp/tracefile.TRC0, enter: nettl -traceon all -entity HP_APALACP -file /tmp/tracefile Troubleshooting HP APA...
  • Page 83: Reporting Problems

    Reporting problems If you are unable to solve a problem with HP APA, do the following: Read the release notes for HP APA to see if the problem is known. If it is, follow the solution offered to solve the problem.
  • Page 84: Gathering Information

    13. Create copies of any Internet or HP APA link trace files that were active when the problem occurred for your HP representative to further analyze.
  • Page 85: Support And Other Resources

    Include the document title and manufacturing part number. All submissions become the property of HP. New and changed information in this edition The January 2008 release of HP APA for HP-UX 11i v3 provides IPoIB support and support for fixed MAC address assignment. Revision history...
  • Page 86 %, $, or # A percent sign represents the C shell system prompt. A dollar sign represents the system prompt for the Bourne, Korn, and POSIX shells. A number sign represents the superuser prompt. audit(5) A manpage. The manpage name is audit, and it is located in Section 5.
  • Page 87: A Product Specifications

    A Product specifications Table A-1 summarizes the capabilities of HP APA and LAN Monitor. Table A-1 HP APA and LAN Monitor Capabilities FEC_AUTO, LACP_AUTO, LAN_MONITOR Mode Integration with HP MANUAL Modes Serviceguard in MANUAL FEC_AUTO, LACP_AUTO, and LAN_MONITOR Modes Minimum Number of...
  • Page 88 MANUAL mode: Can be Load Balancing or Non-Load Balancing • Load Balancing: MAC, IP, or LB_PORT algorithm • Non–Load Balancing: Hot Standby mode Load Balancing is configurable for outbound traffic on Ethernet links only. Links must be of the same speed and type (100Base-T or 1000Base-T). LACP requires full duplex (FD) operation of the links.
  • Page 89: B Hp Apa Configuration Files

    97). hp_apaconf file The /etc/rc.config.d/hp_apaconf file contains the following general HP APA configuration parameters for link aggregates. You must set each of the supported parameters on a specific link aggregate prior to aggregating any physical ports. All of the link aggregate configuration parameters begin with the prefix HP_APA_.
  • Page 90 HP_APA_LACP_SYSTEM_ID_MODE For LACP_AUTO only. Directs APA how to set up the LACP System ID. The supported values are as follows: Sets the LACP System ID to the FIRST_APA_PORT first supported HP APA port. This is the default. Sets the LACP System ID to the FIRST_LACP_PORT first active (UP) port that starts LACP.
  • Page 91: Hp_Apaportconf File

    Sets the maximum number of link aggregates for the server. HP_APA_MAX_LINKAGGS The valid range is from 5 to 50. The default value is 50. This value takes effect only after a reboot. Specifies the MAC address to assign to the specified link HP_APA_STATION_ADDRESS aggregate.
  • Page 92: Lanconfig.ascii File

    The default system priority is 0. lanconfig.ascii file Example B-1 shows a sample /etc/lanmon/lanconfig.ascii ASCII configuration file. This file contains configuration information that LAN Monitor uses for failover groups. HP APA configuration files...
  • Page 93: B-1 Sample Lanconfig.ascii Configuration File

    # Example with cost defined: FAILOVER_GROUP lan903 STATIONARY_IP 195.55.55.55 # Pri/Stdby Cost PRIMARY lan900 STANDBY lan901 # For more information on how to use proactive fail-over, see # the HP Auto Port Aggregation Administrator's Guide at # http://docs.hp.com. # **************************************************************** lanconfig.ascii file...
  • Page 94 The port can also have IP addresses configured. After lanapplyconf creates the failover group, the IP addresses on the active HP APA configuration files...
  • Page 95 In previous versions of HP APA, the port must have IP address configured and must be the highest priority or lowest cost. In the HP-UX 11i v3 version of HP APA, you can assign the port any priority or cost values. You also need not configure an IP address on it.
  • Page 96 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. HP APA configuration files...
  • Page 97: C Configuring Hp Apa By Editing Files

    802.3ad Link Aggregation Control Protocol (LACP), or MANUAL mode. Editing files for MANUAL, FEC_AUTO, or LACP_AUTO mode Ensure that the switch ports and the HP LAN card ports are set to the same APA (or trunking) mode (MANUAL or AUTO), speed, and duplex mode.
  • Page 98: Fec_Auto Port Configuration Mode

    HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC HP_APA_KEY[0]=902 Edit the /etc/rc.config.d/hp_apaportconf file and add the following entries to put lan1 and lan2 into link aggregate 902 and set the APA port key and the configuration mode: HP_APAPORT_INTERFACE_NAME[0]=lan1 HP_APAPORT_KEY[0]=902 HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO HP_APAPORT_INTERFACE_NAME[1]=lan2 Configuring HP APA by editing files...
  • Page 99: Editing Configuration Files For Failover Groups

    HP_APAPORT_KEY[1]=902 HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO NOTE: Set the LACP_AUTO key in the previous examples to be the same as that of the link aggregate to which it belongs. Ports going to different link aggregates should have different keys. Activate the new configuration by entering: # /sbin/init.d/hplm stop # /sbin/init.d/hpapa stop # /sbin/init.d/hpapa start...
  • Page 100: Example: Configuring A Failover Group

    1000Base-T devices lan2, lan3, and lan4. You decide that lan2 will be the standby link for the failover group, with lan1 as the active device. To configure the failover group, do the following: Configuring HP APA by editing files...
  • Page 101 Connect lan1 and lan2 to the same switch or to different switches or hubs on the same subnet. NOTE: Be sure that trunking is not enabled on the switch ports. Obtain the station address for lan2 by issuing the nwmgr command, as follows: # nwmgr Name/ Interface Station...
  • Page 102: Proactive Failover Examples

    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: Determine network efficiency. In this example, you assign both lan900 and lan901 a cost of 1. Configuring HP APA by editing files...
  • Page 103: Lan900 Events And Proactive Failover (Equal Network Costs)

    Assign a priority to the aggregates. If you prefer lan900 to be the active port when both link aggregates have the same number of operational ports, assign lan900 a higher priority. If you do not, the active port changes when one of the link aggregates becomes more efficient (has more operational ports or higher bandwidth).
  • Page 104: Lan900 Events And Proactive Failover (Unequal Network Costs)

    Normalized port cost is lower than lan901. Normalized port cost is lower than lan901. Normalized port cost is lower than lan901. This behavior is the same as if lan902 were a priority-based failover group. Configuring HP APA by editing files...
  • Page 105: D Vlans Over Apa Using Hp Procurve Switches

    D VLANs over APA using HP Procurve switches This appendix describes how to create VLANs over trunks and ports on an HP Procurve switch. For more information about creating VLANs on HP Procurve switches, see Procurve, Series 6400cl Switches, Series 5300xl Switches, Series 3400cl Switches, Advanced Traffic Management Guide at: ftp://ftp.hp.com/pub/networking/software/6400-5300-3400-AdvTrafficMgmt-Oct2005-59906051.pdf...
  • Page 106: Configuring Vlans Over Failover Groups

    Verify that the VLAN with ID 333 is tagged to Trk3. Enter: HP ProCurve Switch 5308xl# show vlan 333 Status and Counters - VLAN Information - Ports - VLAN 333 802.1Q VLAN ID : 333 Name : vlan_333 Status : Port-based...
  • Page 107: Vlan Over A Failover Group

    Figure D-2 VLAN over a Failover Group A t t n . Faul t Rem ot e Pow er lan6 lan5 lan901 Failover Group lan902: lan901 (Primary), lan5, 6 (Standby) Switch1 Switch2 Trk4 Vlan 333 Vlan 333 Vlan 334 Vlan 334 As the first step in creating the failover group, associate the ports in link aggregate lan901 to Trk4 on Switch 1;...
  • Page 108 Status and Counters - VLAN Information - Ports - VLAN 334 802.1Q VLAN ID : 334 Name : vlan_334 Status : Port-based Voice : No Port Information Mode Unknown VLAN Status ---------------- -------- ------------ ---------- Tagged Learn Tagged Learn VLANs over APA using HP Procurve switches...
  • Page 109 On the server side, complete the following steps: Create link aggregate lan901. Create failover group lan902. Create VLANs 333 and 334 over lan902. Enter: # nwmgr -a -S vlan -A vlanid=333, ppa=902 VLAN interface lan5000 successfully configured. lan5000 current values: VPPA = 5000 Related PPA = 902 VLAN ID = 333...
  • Page 111: E Switch Configuration Information

    E Switch configuration information This appendix provides some information on how to configure the following switches for use with HP APA: • Alteon • Cisco • Extreme • Procurve See your switch documentation for complete information. Alteon switches Alteon switches have 8 ports. Fiber blades support 1500 and 9000 MTU (jumbo frames). The...
  • Page 112: Creating An Lacp Link Aggregation

    Creating an LACP link aggregation Switch1#enable Password:password Switch1#config term config command Ctrl+z Switch1(config-if)#interface range gigabitethernet 3/1 - 3 Switch1(config-if-range)#no ip address Switch1(config-if-range)#channel-protocol lacp Switch1(config-if-range)#channel-group 1 mode active Creating a port-channel interface Port-channel 1 Switch1(config-if-range)#end Switch1#config term config command Ctrl+z Switch1(config)#interface port-channel 1 Switch1(config-if)#no shutdown Switch1(config-if)#end Enter configuration commands, one per line.
  • Page 113: Displaying A Port In A Link Aggregation

    Port-channel: Po1 (Primary Aggregator) ------------ Age of the Port-channel = 00d:01h:46m:08s Logical slot/port = 14/1 Number of ports = 3 Port state = Port-channel Ag-Inuse Protocol = LACP Ports in the Port-channel: Index Load Port EC state No of bits ------+------+------+------------------+----------- Gi3/1 Active...
  • Page 114: Deleting A Link Aggregation

    To verify all ports, enter: show ports info Configuring HP APA link aggregates Before configuring a HP APA in Manual mode, do the following: Verify port connections. Do the following: From another system, send test packets to the target LANs. Enter: nwmgr --diag -A dest=xMAC address -c lan9xx Disable ports on switch.
  • Page 115: Configuring Lacp Link Aggregates

    Configuring LACP link aggregates ExtremeWare v. 7.5 enables you to configure LACP. Use contiguous ports and let the first port be the master. In the following command, port 23 is the master port: enable sharing 23 grouping 23-27 dynamic Then, display the aggregation using the show ports sharing command as follows: Switch2 # show ports 23-27 sharing Load Sharing Monitor Config...
  • Page 116: Procurve 9304/8

    --diag -A dest=0xmac addr -c lanx Verify that it returns an error. Leave the switch ports disabled. Configure HP APA for the same aggregation mode on the same ports on the computer. Procurve 9304/8 The following information is helpful in working with Procurve 9304/8 switches: •...
  • Page 117: Configuring Hp Apa

    Enter [command name] ? to display the syntax for a command. Configuring HP APA To configure HP APA to use the Procurve 9304/8 switch, do the following: Verify port connections before configuring APA. Do the following: Log in to the switch using the previous steps.
  • Page 118 Configure HP APA. Do the following: Unplug all LAN connections to be aggregated. Create the aggregations. They must be either 2 or 4 port trunks. For two-port aggregations, the beginning port number must be odd. For four-port aggregations, the beginning port number must be a number divisible by 4 plus 1 (for example, 1, 5, 9, 13).
  • Page 119: Glossary

    Address Resolution Protocol. A TCP/IP protocol used to obtain a node's physical address. Auto Port APA. An HP software product that allows grouping up to eight ports into an aggregate to boost Aggregation performance and provide port failover. The eight port limit applies only for FEC_AUTO and MANUAL mode.
  • Page 120 Media Access Control MANUAL The default mode of port configuration. Can be performed by using SMH (preferred) or by editing two configuration files. Management Information Base network adapter A network device which has one or more network physical ports. network physical The communications channel formed when you attach a network cable between a specific port network port (adapter card) and a LAN device.
  • Page 121: Index

    (MANUAL mode), 64 installing, 18 verifying installation, 59 destination MAC address caution algorithm, 32 HP Serviceguard and HOT_STANDBY mode, 33 diagnostic map lanqueryconf command, 99 how to use instructions, 57 and link aggregates, 66 command failover group, 102...
  • Page 122 LAN card (see NIC) HP Serviceguard LAN_MONITOR mode, 31 and HP APA, 13 capabilities, 87 and HP APA capabilities, 87 configuration with link aggregates, 28 caution about link configuration, 33 failover group example, 100 when to configure, 37 proactive failover example, 102...
  • Page 123 (LACP_AUTO mode), 64 creating a MANUAL mode link aggregate, 53 verifying if enabled (MANUAL mode), 60 deleting an HP APA interface, 54 verifying member ports (FEC_AUTO mode), 71 displaying all attributes for link aggregates, 53 verifying member ports (LACP_AUTO mode), 65...
  • Page 124 54 enterprise intranet client/server, 22 verifying HP APA configuration, 38 failover group, 28 verifying TSO support, 12 hot standby, 25 LAN Monitor failover group with link aggregations, Operation Successful page, 35 LAN_MONITOR mode, 28 delete link aggregate, 41...
  • Page 125 System Management Homepage (see SMH) TCP Segmentation Offload (see TSO) telnet command verifying success (failover group), 79 verifying success (FEC_AUTO mode), 73 verifying success (LACP_AUTO mode), 69 verifying success (MANUAL mode), 63 displaying Procurve command syntax, 117 specifying group capability, 33 troubleshooting, 57 and failover group, 12 and link aggregate, 12...

Table of Contents