HP UX Auto Port Aggregation (APA) Software manual Editing Configuration Files for Failover Groups

Page 107

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.

3.Activate the new configuration by entering:

#/sbin/init.d/hplm stop 1

#/sbin/init.d/hpapa stop 2

#/sbin/init.d/hpapa start

#/sbin/init.d/hplm start 3

1If failover groups are also configured.

2This can interrupt traffic on existing link aggregates.

3 For configuring failover groups.

Editing Configuration Files for Failover Groups

If you are configuring a failover group for the first time, or if you have changed the failover group configuration, do the following:

1.Connect the physical devices that are to be in the failover group to the same switch, or to different switches or hubs on the same subnet to achieve switch/hub redundancy.

NOTE: Be sure that trunking is not enabled on the switch ports.

2.Check that there is link connectivity between the devices (linkloop). If it fails, resolve the physical connection between the devices.

3.Edit the /etc/rc.config.d/hp_apaportconf file and assign the and standby physical ports to LAN_MONITOR mode. For example, the following entries put lan1 and lan2 into a failover group:

HP_APAPORT_INTERFACE_NAME[0]=lan1

HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR

HP_APAPORT_INTERFACE_NAME[1]=lan2

HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

4.Activate the configuration by entering:

#/sbin/init.d/hplm stop

#/sbin/init.d/hpapa stop

#/sbin/init.d/hpapa start

#/sbin/init.d/hplm start

5.If the device to be the link does not have the desired IP address, add the IP address for the port or link aggregation to /etc/rc.config.d/netconf. Editing that file or using SAM will preserve the IP address permanently (across reboots).

Alternatively, you can also temporarily assign an IP address to the link and change the mode of the link and all standby links to LAN_MONITOR. For example, ifconfig lan1 192.5.5.138

6.Query the system for possible link failover groups by entering the lanqueryconf -s-c /tmp/filename command.

CAUTION: Running lanqueryconf -s will overwrite the original /etc/lanmon/ lanconfig.ascii file.

This command queries the system and network for all possible failover groups. The results of the query are placed in the /tmp/filename configuration file. This file contains data similar to the following:

Editing Configuration Files for Link Aggregates 107

Image 107
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