Library Table of Contents Index Previous Next Comments

Configuring the cluster

Configuring the interface for takeover

Interface configuration commands  Top

You can configure interfaces using either the setup command or the ifconfig command. The setup command runs a script that prompts you for configuration information. The ifconfig command enables you to manually define the interface parameters for your cluster in the /etc/rc file.

Information you need to gather  Top

You must gather the following information before configuring the interfaces:

Using the setup command  Top

When you use the setup command, a series of questions appears that enables you to configure the filer. As part of this configuration, the following questions appear for each interface. Answer these questions on both filers, where n.n.n.n is the local node address and the partner node address for m.m.m.m.

Note
The System Administrator's Guide provides more information about using the setup command.

Step

Action

1

Run the setup command on the local node by entering the following command:

setup
2

Answer the questions displayed on your screen, including the following questions:

Please enter IP address for Network Interface ns0 
[n.n.n.n]:
Please enter netmask [255.255.255.0]:
Should interface ns0 take over a partner IP address 
during failover? [y]:
Please enter the IP address to take over: [m.m.m.m]:
3

Reboot your filer by entering the following command:

reboot
4

Repeat Steps 1 through 4 for the partner node.

How you use the ifconfig command  Top

Use the ifconfig command at the command line to change the network interface and network interface type. If done from the command line, these changes are only effective for the current boot session. To make your changes persistent, you must include the commands in the /etc/rc file on your local and partner nodes. See the System Administrator's Guide for more information about interfaces.

Interface configuration commands  Top

The following table shows the commands that you enter in the /etc/rc file for configuring the interfaces on the converted cluster.

Type of interface configuration to facilitate takeover

Command

Requires a pair of NICs:

  • Dedicated
ifconfig e0 local_IP_address
  • Shared
ifconfig e1 local_IP_address partner_IP_address
  • Standby
ifconfig e2 partner partner_IP_address

Requires a single NIC with dual MAC addresses shared

ifconfig e0 local_IP_address partner \ 
partner_IP_address

Dedicated interface with a hot-standby

ifconfig e0 local_IP_address 
ifconfig e1 partner partner_IP_address 

Configuring a pair of NICs with dedicated, shared, and standby interfaces  Top

To set the interfaces for a cluster that has dedicated, shared, and standby interfaces on each filer, complete the following steps.

Note
The System Administrator's Guide provides more information about using the ifconfig command.

Step

Action

1

Check the current settings of the local node by entering the following command on the local node console:

ifconfig -a
Result

You should see output similar to the following:

e0: Flags=40043<UP,BROADCAST,RUNNING,UP_1ARY> mtu 1500
 inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.45
 secondary host inet 11.22.33.70 (not in use)
 ether 00:01:00:00:00:00:80 (Data Link Provider 
Interface)
2

Set the dedicated network interface IP addresses for the local node in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e0 local_IP_address
3

Set the shared network interface IP addresses for the partner node in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e1 local_IP_address partner partner_IP_address
4

Set the standby network interface IP addresses for the partner node in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e2 partner partner_IP_address
5

Save the /etc/rc file.

6

Repeat Steps 1 through 5 for the partner node.

Configuring a single NIC with dual MAC interfaces  Top

To set the interfaces for a cluster that has a single NIC with dual MAC addresses on each filer, complete the following steps.

Step

Action

1

Check the current settings of the local node by entering the following command on the console:

ifconfig -a
Result

You should see output similar to the following:

e0: Flags=40043<UP,BROADCAST,RUNNING,UP_1ARY> mtu 1500
 inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.45
 secondary host inet 11.22.33.70 (not in use)
 ether 00:01:00:00:00:00:80 (Data Link Provider 
Interface)
2

Set MAC network interface IP addresses for the local and partner nodes in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e0 local_IP_address partner partner_IP_address
3

Save the /etc/rc file.

4

Repeat Steps 1 through 3 for the partner node.

Configuring dedicated and hot-standby interfaces  Top

To set the interfaces for a cluster that has dedicated and hot-standby interfaces on each filer, complete the following steps.

Step

Action

1

Check the current settings of the local node by entering the following command on the consoles:

ifconfig -a
Result

You should see output similar to the following:

e0: Flags=40043<UP,BROADCAST,RUNNING,UP_1ARY> mtu 1500
 inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.45
 secondary host inet 11.22.33.70 (not in use)
 ether 00:01:00:00:00:00:80 (Data Link Provider 
Interface)
2

Set the hot-standby network interface IP address for the partner node in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e1 partner partner_IP_address
3

Save the /etc/rc file.

4

Repeat Steps 1 through 3 for the partner node.

Where to go next  Top

After successfully configuring the network interfaces and testing takeover and giveback on your cluster, see the System Administrator's Guide for additional cluster configuration and administration information.

See Appendix A, Alternative Configuration and Cabling Examples, for alternative configuration diagrams and for additional Channel B cabling diagrams.

Library Table of Contents Index Previous Next Comments