Configuring the cluster
Configuring the interface for takeover
Interface configuration commands
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
You must gather the following information before configuring the interfaces:
- The IP address for both the local node and partner node
- The netmask for both the local node and partner node
- The Ethernet addresses for both the local node and partner node
Using the setup command
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 |
Halt your filer by entering the following command:
halt
|
|
4 |
Reboot your filer by entering the following command:
reboot
|
|
5 |
Repeat Steps 1 through 4 for the partner node.
|
How you use the ifconfig command
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
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:
|
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 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
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
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
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
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.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00375
File: ch3conf6.htm
Last updated: 01/16/03 13:25:43