Creating a second-level vif in a cluster
Assumptions made in this procedure
The following procedure assumes that you want to create two second-level vifs, secondlev1 and secondlev2, on clustered filers, Filer 1 and Filer 2. Filer 1 and Filer 2 are configured as shown in the following table.
Filer
|
Multi-mode vifs
|
Interfaces
|
Filer 1
|
vif_name1
|
if1
if2
|
vif_name2
|
if3
if4
|
Filer 2
|
vif_name3
|
if5
if6
|
vif_name4
|
if7
if8
|
Creating a second-level vif in a cluster
To create a second-level vif in a cluster, complete the following steps.
Note
The operation performed using the vif create command is not persistent across reboots unless the command is added to the /etc/rc file.
Step
|
Action
|
|
1 |
Enter the following commands on Filer 1 to create two multi-mode vifs:
vif create multi -b {rr|mac|ip} vif_name1 if1 if2
vif create multi -b {rr|mac|ip} vif_name2 if3 if4
-b specifies the type of load-balancing method.
|
|
2 |
Enter the following command on Filer 1 to create a second-level interface from the multi-mode vifs:
vif create single secondlev1 vif_name1 vif_name2
|
|
3 |
Enter the following commands on Filer 2 to create two multi-mode vifs:
vif create multi -b {rr|mac|ip} vif_name3 if5 if6
vif create multi -b {rr|mac|ip} vif_name4 if7 if8
|
|
4 |
Enter the following command on Filer 2 to create a second-level interface from the multi-mode vifs:
vif create single secondlev2 vif_name3 vif_name4
|
|
5 |
Enter the following command on Filer 1 to configure the second-level vifs for takeover:
ifconfig secondlev1 partner secondlev2
Note In this command, secondlev1 and secondlev2 (arguments to the partner option) should be the interface names and not the interface IP addresses. |
|
6 |
Enter the following command on Filer 2 to configure the second-level vifs for takeover:
ifconfig secondlev2 partner secondlev1
Note In this command, secondlev1 and secondlev2 (arguments to the partner option) should be the interface names and not the interface IP addresses. |
Example of creating a second-level vif in a cluster
The following commands create the second-level vif in the cluster shown in Normal cluster operation with second-level vifs. In this example, IP-based load balancing is used for the multi-mode vifs.
On Filer 1:
vif create multi Firstlev1 e1 e2
vif create multi Firstlev2 e3 e4
vif create single Secondlev1 Firstlev1 Firstlev2
On Filer 2:
vif create multi Firstlev3 e5 e6
vif create multi Firstlev4 e7 e8
vif create single Secondlev2 Firstlev3 Firstlev4
On Filer 1:
ifconfig Secondlev1 partner Secondlev2
On Filer 2:
ifconfig Secondlev2 partner Secondlev1
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00474
File: vifs17.htm
Last updated: 11/17/03 15:56:28