HP UX Auto Port Aggregation (APA) Software manual HP APA Configuration Files, Hpapaconf File

Page 97

B HP APA Configuration Files

HP APA uses the following configuration files:

/etc/rc.config.d/hp_apaconf

/etc/rc.config.d/hp_apaportconf

/etc/lanmon/lanconfig.ascii

The following sections describe each file and its parameters. For configuration examples that describe editing these files, see Appendix C (page 105).

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_.

HP_APA_DEFAULT_PORT_MODE The default way to configure link aggregates is through MANUAL port configuration mode. Ensure that switch ports and server ports are set to the same trunking mode (MANUAL or AUTO), duplex mode, and speed. Disable PAgP or LACP on any switch ports not intended to be used with APA. There are two variables governing the mode of ports:

HP_APA_DEFAULT_PORT_MODE in the /etc/ rc.config.d/hp_apaconf file. Sets the default APA configuration mode for all ports. The recommended mode is MANUAL. The APA product is shipped with the entry in the hp_apaconf file set to: HP_APA_DEFAULT_PORT_MODE=MANUAL.

HP_APAPORT_CONFIG_MODE in the /etc/ rc.config.d/hp_apaportconf file. Sets the APA configuration mode for a single port. This variable takes precedence.

A port's mode is set to the value of

HP_APA_DEFAULT_PORT_MODE, unless you specify its mode using the HP_APAPORT_CONFIG_MODE variable.

Example 1:

If the configuration mode of a port is not set with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is not set, the port's configuration mode is MANUAL for HP-UX 11.0 and 11i v1, and FEC_AUTO for HP-UX 11i v2.

Example 2:

If the configuration mode of a port is not set with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is set to MANUAL, the port's configuration mode is MANUAL.

Example 3:

If the configuration mode of a port is set to FEC_AUTO with HP_APAPORT_CONFIG_MODE and HP_APA_DEFAULT_PORT_MODE is set to MANUAL, the port's configuration mode is FEC_AUTO.

HP_APA_GROUP_CAPABILITY For FEC_AUTO (11i v1 and 11i v2) and MANUAL (11i v1) only. An integer value used to determine which network

hp_apaconf File 97

Image 97
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105127 119129 Vlan over a Link Aggregate List of FiguresVlan over a Failover Group List of Tables List of Examples Intended Audience About This DocumentNew and Changed Information in This Edition Document OrganizationRelated Information Typographic ConventionsHP Encourages Your Comments Publishing HistoryPage Conceptual Overview IntroductionLink Aggregate Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadAdministrative Methods Interoperability with HP ServiceguardHP System Administration Manager Manually Editing Configuration Files Lanadmin CommandInstallation Requirements Installing the APA SoftwareHardware Requirements Verifying the Installation Installing the SoftwareOperating System Requirements Software RequirementsOutput similar to the following displays Removing the SoftwareIf nothing is displayed, rebuild the kernel Page HP APA Configuration Examples Configuring APAEnterprise 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 WorksheetFailover Policy ModeInstance Number HW PathPriority Link Aggregate Advanced ParametersCost Load Distribution AlgorithmFailover Group Advanced Parameters Configuring an Fecauto Mode Link Aggregate Configuring a Link AggregateRapid ARP Interval Rapid ARP Count10 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 GroupConfiguring the Link Partner Configuring an IP AddressConfiguring HP Serviceguard Verifying the ConfigurationWhat Happens During Start Up? What Happens During Start Up? Page Summary of lanadmin -x and -X Options Using the lanadmin CommandWhere Set OptionsDisplays 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 Modifying HP APA Global Parameters Administering HP APALogging 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 StatisticsSolving HP APA Problems Troubleshooting HP APAOperation 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 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 HP APA uses the following configuration files HP APA Configuration FilesPorts mode is set to the value Hpapaconf FilePermissible values are on and off. The default is off Configure a link aggregate for Hot Standby mode. ThisText 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 of the system as obtained by gethostname. This Name format is lan9XX, where XX is a decimal numberMust be the first line in the file Specify a name for each LAN Monitor failover group onLanconfig File 104 Editing Configuration Files for Link Aggregates Configuring HP APA by Editing FilesEditing 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 SwitchesVerify that the Vlan with ID 333 is tagged to Trk3. Enter Configuring VLANs over Failover GroupsCreate 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 Alteon Switches Switch Configuration InformationCisco 6509 Switches Configuring a Single PortCreating an PAgP Link Aggregation Creating an Lacp Link AggregationDisplaying the Link Aggregation Displaying More Lacp Information Displaying a Port in a Link AggregationConfiguring HP APA Link Aggregates Extreme SwitchesSave the configuration. Enter save Deleting a Link AggregationConfiguring Lacp Link Aggregates Procurve SwitchesProcurve 4000/8000 ProcurveEnter the following Procurve 9304/8Following prompt displays TIP Enter command name ? to display the syntax for a commandReboot the switch. Enter the following Save the configuration. EnterInformation similar to the following displays Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb