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 storage systems, StorageSystem 1 and StorageSystem 2. StorageSystem 1 and StorageSystem 2 are configured as shown in the following table.
Storage System
|
Multimode vifs
|
Interfaces
|
|
StorageSystem 1
|
vif_name1
|
if1
if2
|
|
vif_name2
|
if3
if4
|
|
StorageSystem 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 StorageSystem 1 to create two multimode 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 StorageSystem 1 to create a second-level interface from the multimode vifs:
vif create single secondlev1 vif_name1 vif_name2
|
|
3
|
Enter the following commands on StorageSystem 2 to create two multimode 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 StorageSystem 2 to create a second-level interface from the multimode vifs:
vif create single secondlev2 vif_name3 vif_name4
|
|
5
|
Enter the following command on StorageSystem 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 StorageSystem 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 multimode vifs.
On StorageSystem 1:
vif create multi Firstlev1 e1 e2
vif create multi Firstlev2 e3 e4
vif create single Secondlev1 Firstlev1 Firstlev2
On StorageSystem 2:
vif create multi Firstlev3 e5 e6
vif create multi Firstlev4 e7 e8
vif create single Secondlev2 Firstlev3 Firstlev4
On StorageSystem 1:
ifconfig Secondlev1 partner Secondlev2
On StorageSystem 2:
ifconfig Secondlev2 partner Secondlev1
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01082_B0
File: vifs17.htm
Last updated: 08-Dec-2005 13:27:19