HP UX Auto Port Aggregation (APA) Software Edit the file, if needed, and enter lancheckconf again

Page 109

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

2.Obtain the station address for lan2 by issuing the lanscan command, as follows:

# lanscan

Hardware

Station

Crd

Hdw

Net-Interface

NM

MAC

HP-DLPI DLPI

Path

Address

In#

State

NamePPA

ID

Type

Support Mjr#

8/8/2/0

0x0060B04B7B83

2

UP

lan2 snap2

3

ETHER

Yes

119

8/12/2/0

0x0060B04B7B82

4

UP

lan4 snap4

4

ETHER

Yes

119

8/8/1/0

0x080009D43696

1

UP

lan1 snap1

5

ETHER

Yes

119

10/12/6

0x001083953C1C

0

UP

lan0 snap0

6

ETHER

Yes

119

8/12/1/0

0x001083953C1D

3

UP

lan3 snap3

7

ETHER

Yes

119

LinkAgg0 0x000000000000

900

DOWN

lan900 snap900 9

ETHER

Yes

119

LinkAgg1 0x000000000000

901

DOWN

lan901 snap901 10

ETHER

Yes

119

LinkAgg2 0x000000000000

902

DOWN

lan902 snap902 11

ETHER

Yes

119

LinkAgg3

0x000000000000

903

DOWN

lan903 snap903

12

ETHER

Yes

119

LinkAgg4

0x000000000000

904

DOWN

lan904 snap904

13

ETHER

Yes

119

The station address is 0x0060B04B7B83.

3.Verify that there is link connectivity between lan1 and lan2, as follows:

#linkloop -i 1 0x0060B04B7B83

Link connectivity to LAN station: 0x0060B04B7B83

--OK

#

If there is no link connectivity, resolve the connectivity issue between the devices.

4.Verify that an entry exists in the /etc/rc.config.d/hp_apaportconf file for the and standby interfaces that sets the interfaces' port configuration mode to LAN_MONITOR.

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

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

6.If the device to be the link does not have the desired IP address, enter ifconfig to assign the IP address. Also add an entry to the /etc/rc.config.d/netconf file to assign the IP address permanently (or use SAM to do it).

#ifconfig lan1 192.1.1.153

7.Enter the lanqueryconf -scommand to query the system for possible failover groups.

#lanqueryconf -s

ASCII output is in the /etc/lanmon/lanconfig.ascii file.

a.Verify that the content of the ASCII file is valid. Enter lancheckconf:

#lancheckconf

b.View the contents of the /etc/lanmon/lanconfig.ascii file and verify that it contains the configuration information you want.

#cat /etc/lanmon/lanconfig.ascii

See “lanconfig.ascii File” (page 100) for an example of this file.

c.Verify that /etc/lanmon/lanconfig.ascii has the failover group configured, as planned.

# cat /etc/lanmon/lanconfig.ascii

d.Edit the file, if needed, and enter lancheckconf again.

Editing Configuration Files for Link Aggregates 109

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