Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Configuring dedicated and standby interfaces

Prerequisites for configuring interfaces  Top

To configure a pair of interfaces so that the standby interface can replace a dedicated interface on the partner node in a cluster, you must have the following items available:

Rules for specifying interfaces  Top

Keep these rules in mind when specifying interfaces:

Configuring dedicated and standby interfaces  Top

To configure dedicated and standby interfaces for a cluster made up of nodeA and nodeB, complete the following steps.

Step

Action

1

On nodeA, enter the following command on the command line and also enter it in the /etc/rc file, so that the command is permanent:

ifconfig interfaceA1 addressA1 {other_options}

interfaceA1 is the name of the dedicated local interface for nodeA.

addressA1 is the IP address of the dedicated local interface for nodeA.

other_options denotes whatever other options are needed to correctly configure the interface in your network environment.

For more information about the ifconfig command, see the Network Management Guide and the na_ifconfig man page.

Result

The dedicated local interface for nodeA is configured.

2

Also on nodeA, enter the following command on the command line and in the /etc/rc file:

ifconfig interfaceA2 partner addressB1

interfaceA2 is the name of the standby interface for nodeA.

addressB1 is the IP address or interface name of the dedicated interface of nodeB.

Note
When you configure virtual interfaces for takeover, you must specify the interface name and not the IP address.

Result

The standby interface for nodeA is configured to take over the dedicated interface of nodeB on takeover.

3

On nodeB, enter the following command on the command line and in the /etc/rc file:

ifconfig interfaceB1 addressB1 {other_options}

interfaceB1 is the name of the dedicated local interface for nodeB.

addressB1 is the IP address of the dedicated local interface for nodeB.

other_options denotes whatever other options are needed to correctly configure the interface in your network environment.

For more information about the ifconfig command, see the Network Management Guide and the na_ifconfig man page.

Result

The dedicated local interface for nodeB is configured.

4

Also on nodeB, enter the following command on the command line and in the /etc/rc file:

ifconfig interfaceB2 partner addressA1

interfaceB2 is the name of the standby interface on nodeB.

addressA1 is the IP address or interface name of the dedicated interface for nodeA.

Note
When you configure virtual interfaces for takeover, you must specify the interface name and not the IP address.

Result

The standby interface on nodeB is configured to take over the dedicated interface of nodeA on takeover.

5

If you want to configure your interfaces for automatic takeover in case of NIC failure, follow the steps outlined in Configuring VIFs or interfaces for automatic takeover.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments