HP UX Auto Port Aggregation (APA) Software Configuring an IP Address, Configuring HP Serviceguard

Page 47

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, use the following command:

#ifconfig lanxxx IP_address up

Where xxx is the link aggregate PPA number.

To make this change permament, edit the /etc/rc.config.d/netconf file and include the appropriate entry. For more information, see ifconfig(1M).

For failover groups, you must configure an IP address on the interface that is to be the primary link before running the lanqueryconf and lanapplyconf commands to configure the failover group. For more information, see “Editing Configuration Files for Failover Groups” (page 107).

Configuring the Link Partner

HP APA also requires that you configure your switches' trunking mode (AUTO or MANUAL) to match the mode being used on the server (for example, Cisco Fast EtherChannel (FEC), IEEE 802.3ad Link Aggregation Control Protocol (LACP), or MANUAL).

If you selected HOT_STANDBY as the load distribution algorithm for a MANUAL mode link aggregate or configured a failover group, do not configure the switch ports for an aggregation. See Appendix E (page 119) for additional switch information.

Configuring HP Serviceguard

HP recommends that you configure HP Serviceguard after configuring HP APA. You can then use the link aggregates or failover groups in your HP Serviceguard configuration. See the HP Serviceguard documentation for more information.

NOTE: Do not configure HP Serviceguard with ports that are part of a link aggregate or failover group.

Creating VLANs Over APA

To create VLANs over link aggregates or failover groups, complete the following steps:

1.Decide what ports are to be part of the link aggregate or failover group. Then, decide on the VLANs that will be created over the link aggregate or failover group.

2.Configure the trunks and VLANs on the switch according to the switch’s documentation. If you want to enable a VLAN on a link aggregate, its trunk on the switch side must be tagged with the VLAN’s ID.

If you want to enable a VLAN on a failover group, the member ports of the failover group on the switch side must be tagged with the VLAN’s ID.

3.On the server side, create the link aggregates or failover groups. Then, create the VLANs over the link aggregate or failover group.

After a link aggregate is in use, you can create, modify, and delete VLANs over it. Users can leave behind VLANs after the link aggregate or failover group has been cleared. If the link aggregate or failover group has been cleared, users can neither create VLANs nor modify any VLANs on the link aggregate or failover group. Users can only delete the VLANs.

See Appendix D (page 113) for examples of configuring VLANs over APA using HP Procurve switches.

Verifying the Configuration

HP APA configuration is complete when you can verify that a link aggregate has been formed. To verify the HP APA configuration, complete the following steps:

Configuring an IP Address

47

Image 47
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105129 119127 Vlan over a Failover Group List of FiguresVlan over a Link Aggregate 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 Link Aggregate IntroductionConceptual Overview Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadHP System Administration Manager Interoperability with HP ServiceguardAdministrative Methods Manually Editing Configuration Files Lanadmin CommandHardware Requirements Installing the APA SoftwareInstallation Requirements Software Requirements Installing the SoftwareVerifying the Installation Operating System 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 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 CommandDisplays the -Xand -xoptions help screen Set OptionsWhere 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 Logging Messages to the syslog.log File Administering HP APAModifying HP APA Global Parameters 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 Files for MANUAL, FECAUTO, or Lacpauto Mode Configuring HP APA by Editing FilesEditing Configuration Files for Link Aggregates 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 SwitchesCreate the Vlan with ID 333 over lan900. Enter Configuring VLANs over Failover GroupsVerify that the Vlan with ID 333 is tagged to Trk3. 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 SwitchesDisplaying the Link Aggregation Creating an Lacp Link AggregationCreating an PAgP 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 commandInformation similar to the following displays Save the configuration. EnterReboot the switch. Enter the following Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb