Currently Being Moderated
lwei

Serving Data in Cluster-Mode

Posted by lwei in Pseudo Benchmark on Jan 28, 2012 12:18:34 AM

NetApp Data ONTAP 8.1 operating in cluster-mode offers attractive capabilities such as scale-out, non-stop operations, multi-tenancy, and much much more. 

 

That’s fantastic! However, if you are handed an n-node (let’s say, 2-node) cluster running Data ONTAP 8.1 operating in cluster-mode, how do you serve data to a Windows host?

 

Well, the key entity in such a cluster is called Vserver, which is a logical entity. A cluster can have many Vservers. Each Vserver is associated with some physical resources such as physical disks and network ports within the cluster. To an end user or a host machine, a Vserver is like a virtual storage controller. The host does not have direct access to the physical resources inside the cluster. But the host can read and write data from and to one or more Vservers.

 

ONTAP 8.1 provides a Vserver setup wizard and its helpers (called subwizards, performing Network, Storage setup, etc.) Granted, you can rely on wizardry to setup the Vserver and serve data to the host. But I’ll take a different path. I’ll use simple command line interface (CLI); and it only needs 7 steps. My hope is that by demonstrating to you how to setup a Vserver to serve data to a Windows host using CLI, you can see what the wizards do behind the scene and obtain a better understanding of the wizards, if you choose to use them later on. Below are the 7 steps.

 

A.   Create Vserver

Fig. 1 shows the command you use to create a Vserver named MyVserver on aggregate aggr1. If you don’t already have aggr1, just create it first using the aggr create… command.

fig1_2012jan27.PNG

Figure 1: Creating a Vserver

 

B.   Create FC Service

After a Vserver is created, we need to equip it with other logical entities. Recall that all NetApp FAS storage controllers can handle multi-protocols natively, such as FC, iSCSI and FCoE. So can a Vserver. Here, we’ll just use FC protocol in our example. Fig. 2 shows how to create FC service for MyVserver. Note, the command is case insensitive. To verify, use the fcp show command.

fig2_2012jan27.PNG

Figure 2: Creating FC service

 

The Target Name in Fig.2 is equivalent to the node name of a physical controller.

 

C.   Create Logical Interface (LIF)

To a Vserver, an FC Logical Interface, or LIF, is just as an FC port to a physical controller. The commands shown in Fig. 3 can be used to create a LIF and verify that the LIF is indeed created.

fig3_2012jan27.PNG

        Figure 3: Creating a LIF

 

The Network Address/Mask in Fig. 3 is equivalent to an FC port’s WWPN on a physical controller.  The FC LIF’s Network Address and the Vserver’s Target Name are then used by Zone Admin in FC switch to establish the FC link from host to switch and then from the switch to the cluster and Vserver.

 

D.   Create iGroup

To create an iGroup, we need to know the WWPN of the HBA inside the host, or initiator’s WWPN. Fig. 4 shows how to obtain this information.

fig4_2012jan27.PNG

Figure 4: Getting FC initiator WWPN

 

Then, the command igroup create… is issued, as in Fig. 5, to create the igroup called MyIGroup.

fig5_2012jan27.PNG

Figure 5: Creating an iGroup

 

E.   Create Volume

Fig. 6 shows how to create a FlexVol volume.

fig6_2012jan27.PNG

Figure 6: Creating an volume

 

 

 

F.   Create LUN

Once we have a volume, it is not difficult to create a LUN (see Fig. 7).

fig7_2012jan27.PNG

Figure 7: Creating a LUN

 

G.   Map LUN to Host

Finally, we need to map the LUN to the iGroup MyIGroup. Fig. 8 shows how to do that.

fig8_2012jan27.PNG

Figure 8: Mapping the LUN to the host

 

That’s all from the storage side.

 

Now, switch to the Windows host. Using the Disk Management tool, we see that Disk 17 (of size 19GB) is the LUN we just mapped to the host (see Fig. 8). After initialize and format this disk, we can use it to serve data.

fig9_2012jan27.PNG

Figure 9: Mapping the LUN to the host

 

To recap, these are the 7 steps to configure the storage in cluster-mode in order to server data to a Windows host.  Some of the steps are familiar as in 7-mode. The new concepts are Vserver and LIF. If you know how to administer a controller in 7-mode, then you are more than half way there.

 

Thanks for reading.

Comments

Filter Blog

By date:
By tag: