Configuring the cluster
Configuring the interface for takeover
Interface configuration commands
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:
- The IP address for both the filer and partner
- The netmask for both the filer and partner
- The Ethernet addresses for the filer and partner
Using the setup command
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
How you use the ifconfig command depends on whether the cluster has a configuration in which
- Each filer has an interface that requires a pair of NICs to facilitate takeover (dedicated and standby)
- Each filer has an interface that requires a single NIC with a dual-MAC address to facilitate takeover (shared)
- Each filer has a dedicated and hot-standby interface for its partner
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:
|
|
|
ifconfig e0 local_IP_address
|
|
ifconfig e1 local_IP_address partner_IP_address
|
|
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
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
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
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.
|
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-02405 B0
File: chapteb6.htm
Last updated: 07/22/02 12:18:30