Creating a NAS (CIFS and NFS) Vserver using Clustershell in cDOT 8.3


With cDOT 8.3+ the Clustershell command "vserver setup" no longer exists:

::> set d
::*> version
NetApp Release 8.3P2: Tue May 19 07:34:02 PDT 2015

::*> vserver setup
Error: "setup" is not a recognized command

Some alternatives to “vserver setup”:

- Using the On-Box System Manager (see here)
- A WFA workflow
- Clustershell ("vserver create") or PowerShell commands

The below is a walkthrough to construct a basic NAS (CIFS and NFS) vserver in cDOT 8.3P2 using ClusterShell commands (borrowing in part from these 2013 posts here for CIFS and here for NFS but updated for 8.3+). It really is pretty simple!

Step-by-Step Walkthrough

N.B.: We have a cluster here called NACLU7 with two nodes - NACLU7N1 & NACLU7N2.

system license add -license-code XXX # CIFS License Code (Repeat per node)
system license add -license-code XXX # NFS License Code (Repeat per node)
system license show -package CIFS
system license show -package NFS

vserver create -vserver NASV1 -subtype default -rootvolume rootvol -aggregate NACLU7N1_AGGR1 -rootvolume-security-style ntfs -language en.UTF-8 -snapshot-policy default -ipspace Default

vserver show -vserver NASV1 -fields allowed-protocols
vserver remove-protocols -vserver NASV1 -protocols fcp,iscsi,ndmp
vserver show -vserver NASV1 -fields allowed-protocols

network interface create -vserver NASV1 -lif NASV1_LIF1 -role data -data-protocol cifs,nfs -home-node NACLU7N1 -home-port e0d -address -netmask

network interface create -vserver NASV1 -lif NASV1_LIF2 -role data -data-protocol cifs,nfs -home-node NACLU7N2 -home-port e0d -address -netmask

network route create -vserver NASV1 -destination -gateway

vserver services dns create -vserver NASV1 -domains lab.priv -name-servers

vserver cifs create -vserver NASV1 -cifs-server NASV1 -domain lab.priv
vserver cifs show -vserver NASV1

vserver nfs create -vserver NASV1