 |
» |
|
|
 |
This section shows how to configure the following using SAM: FEC_AUTO mode link aggregates MANUAL mode link aggregates
For information on configuring link aggregates by editing
configuration files, see “Editing Configuration Files for Link Aggregates”. Configuring an FEC_AUTO Mode Link Aggregate |  |
When configuring an automatic link aggregate (FEC_AUTO
or LACP_AUTO) using SAM, you configure the link aggregation characteristics
first, followed by the port's modes and characteristics.  |  |  |  |  | NOTE: Although this example shows how to configure an
FEC_AUTO mode link aggregate, you can use these steps to configure
an LACP_AUTO link aggregate. Substitute LACP_AUTO for FEC_AUTO, and key for group_capability. |  |  |  |  |
Complete the following steps: Log in as superuser. Enter sam at the HP-UX system prompt. Double-click Networking and Communications, and then Auto Port Aggregation. A window like
the one in Figure 3-10 appears.
The Networking and Communications screen's List pull-down menu displays one of the following: Link Aggregates supported by HP APA. This is the list
of all available link aggregates in the system. Network Physical Ports that Support HP APA. This is
the list of all physical ports in the system that support HP APA.
 |  |  |  |  | NOTE: The starting PPA number for link aggregates varies with the
operating system installed: for HP-UX 11.0, it is 100; and for all
versions of 11i, it is 900. |  |  |  |  |
Click on the link aggregate to be configured. From the Actions pull-down menu choose the Configure
Link Aggregate option. A window similar to Figure 3-11 will appear. Click Advanced Options to display
window similar to Figure 3-12.
Verify the correct settings for the load-balancing (distribution)
algorithm. If required, make the necessary changes. Change the group capability of this link aggregate as
required. The group capability should be a nonzero number that differs
from the group capability of any other link aggregate. It should also
match the group capability that will be assigned later to the ports
intended to join the link aggregate. Click OK, then click OK in the Configure Link Aggregate
window. Choose the Network Physical Ports that Support
HP APA option from the List pull-down
menu. The displayed port configuration mode (column 7 in Figure 3-13) determines the mode for
the link aggregation. In Figure 3-13 the configuration mode for the ports that support APA is, by default,
set to MANUAL mode. You might need to adjust the horizontal scroll
bar to see all the window's fields. For each port to be configured in the automatic link aggregation,
verify that the port's configuration mode is set to the desired
mode: FEC_AUTO. Check that the port's group capability matches
the group capability that was previously assigned to the link aggregation.
If changes are needed, go to the next step. Highlight the port to configure by clicking on the port
designated by its PPA. In the Actions pull-down menu, choose
the Modify Network Physical Port Attributes option. You will see a window like the one in Figure 3-14. In this window, make the necessary changes and click OK. Repeat steps 8 through 12 to configure the remaining ports
to be in the aggregate. Figure 3-15 shows a sample FEC_AUTO configuration using ports 0 and 1 with
a group capability of 7. From the List pull-down menu, choose
the Link Aggregates Supported by HP APA option. A window similar to Figure 3-16 will appear. Note that the link aggregate might
not have a status of UP immediately because HP APA and the switch
or link partner might not have completed the negotiation required
for forming the link aggregation. Wait for the link aggregate
to change status to LINK_UP. Then, configure the IP address on the
link aggregate and continue with the next step. Click once again on the link aggregate being configured.
Then from the Actions pull-down menu, choose the Configure Link Aggregate option. A window like that
in Figure 3-17 will appear. Fill in the desired IP address and subnet mask to be used
for the link aggregate. Then click OK. A window
like that in Figure 3-18 will
appear. Perform one of the following: If the link aggregate has a status of UP the configuration is complete. Exit SAM. Verify that the proper ports
are configured in the proper link aggregation with the lanadmin
-x -v 900 command. If the link aggregate is DOWN If the switch
has not been configured, then exit SAM and configure the switch. The
APA configuration will have been permanently saved and can be modified
later if needed. If the switch has been configured, verify the switch
and HP APA configuration and make the required changes to bring them
into agreement. If the link aggregate still does not form correctly,
see Chapter 6.
SAM permanently saves the HP APA configuration values in the /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf files, which maintains the values across reboots. Using SAM to Configure a MANUAL Mode Link Aggregate |  |
When configuring a manual link aggregate
using SAM, you first configure the port's modes and characteristics,
then configure the link aggregate characteristics. Log in as superuser. Enter sam at the HP-UX system prompt. Double-click Networking and Communications, and then Auto Port Aggregation. A window like
the one in Figure 3-19 appears.
The Networking and Communications screen List pull-down
menu (Figure 3-19) displays either
of the following: Link Aggregates supported by HP APA. This is the list
of all available link aggregates in the system. Network Physical Ports that Support HP APA. This is
the list of all physical ports in the system that support HP APA.
Choose the Network Physical Ports that Support
HP APA option from the List pull-down
menu. The port configuration mode (shown in column 7 in Figure 3-20) determines the mode for
the link aggregate. In Figure 3-20, the configuration mode for the ports that support HP APA is, by
default, set to MANUAL mode. You might need to adjust the horizontal
scroll bar to see all the window's fields. For each port to be configured in the manual link aggregate,
verify that the port's configuration mode is set to the desired
mode: MANUAL. Choose a Group Capability Number for each port and also for the aggregation. If changes are needed,
go to the next step. Highlight the port to configure by clicking on the port
designated by its PPA. In the Actions pull-down menu, choose
the Modify Network Physical Port Attributes option. A window similar to the one in Figure 3-21 appears. In this window make the necessary changes and click OK. Repeat steps 4 through 7 to configure the remaining ports
to be in the aggregate. To configure the link aggregate characteristics, choose
the Link Aggregates supported by HP APA option from the List pull-down menu. A window
similar to Figure 3-22 appears. Click on the link aggregate being configured. Then, from
the Actions pull-down menu, choose the Configure Link Aggregate option. A window similar to Figure 3-23 appears. Fill in the desired IP address and subnet mask to be used
for the link aggregate. Click the Advanced Options button
to display a window similar to Figure 3-24. Verify the correct settings for the Group Capability (11i
v1), assigned in step 4, and either Hot Standby or the load balancing
(distribution) algorithm (not both). Make the necessary changes, if
required. Then click OK. Click Add or Delete Network Physical Ports. A window similar to Figure 3-25 appears. Highlight a port to be included in the link aggregate.
Then use < to move it into the link aggregate. Figure 3-26 shows the result
of moving lan0 and lan3 into
the link aggregate, lan900. Click OK to see the Configure Link
Aggregates window (Figure 3-27)
with all the link aggregate information filled in. Clicking OK displays the original
window (Figure 3-28). It now shows lan900 configured as a MANUAL mode link aggregate. The link aggregate is configured. Configure the next MANUAL
mode link aggregate, or exit by choosing the Exit option from the File pull-down menu.
SAM permanently saves the HP APA configuration values in the /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf files, which maintains the values across reboots.
|