Library Table of Contents Index Previous Next Comments

Configuring the cluster

Configuring the interface for takeover

Interface configuration commands  Top

Interfaces can be configured using either the setup command or the ifconfig command. The setup command runs a script that prompts you for configuration information. The ifconfig command lets you manually define the interface parameters for your cluster.

You need to gather the following information prior to configuring your cluster interfaces:

Using the setup command  Top

When you use the setup command, a series of questions appears to enable 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 filer address and the partner filer address for m.m.m.m.

See the System Administrator's Guide for more information about the setup command.

Step

Action

1

Fron the local filer, run the setup command by entering the following command at the system prompt:

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 commands:

halt

boot

4

Repeat Steps 1 through 3 for the partner filer.

About the ifconfig command  Top

How you use the ifconfig command depends on whether the cluster has a configuration in which

To configure the interfaces of the converted filers for clusters, place the commands in the following table in each filer's /etc/rc file.

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

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 

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

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.

Step

Action

1

Check the current settings of the local filer by entering the following command on the local filer 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 filer in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e0 local_IP_address
3

Set the standby network interface IP addresses for the filer's partner filer 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 filer 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 filer.

Configuring 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 on the local filer by entering the following command on 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 filers 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 filer.

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 on the local filer by entering the following command on 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 filer in the /etc/rc file. Enter the IP addresses using the ifconfig command, as follows:

ifconfig e0 local_IP_address
3

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

ifconfig e1 partner partner_IP_address 
4

Save the /etc/rc file.

5

Repeat Steps 1 through 4 for the partner filer.

Library Table of Contents Index Previous Next Comments