Complete set up for Data Vserver creation in Data ontap 8.2 cluster Mode through vserver setup command
login as: admin
Using keyboard-interactive authentication.
Password:
Cluster1::> vserver setup
Welcome to the Vserver Setup Wizard, which will lead you through
the steps to create a virtual storage server that serves data to clients.
You can enter the following commands at any time:
"help" or "?" if you want to have a question clarified,
"back" if you want to change your answers to previous questions, and
"exit" if you want to quit the Vserver Setup Wizard. Any changes
you made before typing "exit" will be applied.
You can restart the Vserver Setup Wizard by typing "vserver setup". To accept a default
or omit a question, do not enter a value.
Vserver Setup wizard creates and configures only data Vservers.
If you want to create a Vserver with Infinite Volume use the vserver create command.
Step 1. Create a Vserver.
You can type "back", "exit", or "help" at any question.
Enter the Vserver name: vsmcifs01
Choose the Vserver data protocols to be configured {nfs, cifs, fcp, iscsi, ndmp}: cifs
Choose the Vserver client services to be configured {ldap, nis, dns}: dns
Enter the Vserver's root volume aggregate {aggrnode1, aggrnode2} [aggrnode2]: aggrnode1
Enter the Vserver language setting, or "help" to see all languages [C.UTF-8]:
Enter the Vserver root volume's security style {mixed, ntfs, unix} [ntfs]:
Vserver creation might take some time to finish....
Vserver vsmcifs01 with language set to C.UTF-8 created. The permitted protocols are cifs.
Step 2: Create a data volume
You can type "back", "exit", or "help" at any question.
Do you want to create a data volume? {yes, no} [yes]: yes
Enter the volume name [vol1]:
Enter the name of the aggregate to contain this volume {aggrnode1, aggrnode2} [aggrnode2]:
aggrnode1
Enter the volume size: 1GB
Enter the volume junction path [/vol/vol1]:
It can take up to a minute to create a volume...
Volume vol1 of size 1GB created on aggregate aggrnode1 successfully.
Do you want to create an additional data volume? {yes, no} [no]: no
Step 3: Create a logical interface.
You can type "back", "exit", or "help" at any question.
Do you want to create a logical interface? {yes, no} [yes]: yes
Enter the LIF name [lif1]: vsmcifs01
Which protocols can use this interface {nfs, cifs, iscsi}: cifs
Enter the home node {Cluster1-02, Cluster1-01} [Cluster1-02]: Cluster1-01
Enter the home port {a0a, e0c} [a0a]: a0a
Enter the IP address: 192.168.15.169
Enter the network mask: 255.255.255.0
Enter the default gateway IP address: 192.168.15.2
LIF vsmcifs01 on node Cluster1-01, on port a0a with IP address 192.168.15.169 was created.
Do you want to create an additional LIF now? {yes, no} [no]: no
Step 4: Configure DNS (Domain Name Service).
You can type "back", "exit", or "help" at any question.
Do you want to configure DNS? {yes, no} [yes]: yes
Enter the comma separated DNS domain names: nasadmin.local
Enter the comma separated DNS server IP addresses: 192.168.15.132
DNS for Vserver vsmcifs01 is configured.
Step 5: Configure CIFS.
You can type "back", "exit", or "help" at any question.
Do you want to configure CIFS? {yes, no} [yes]: yes
Enter the CIFS server name [VSMCIFS01-CLUST]: vsmcifs01
Enter the Active Directory domain name: nasadmin.local
In order to create an Active Directory machine account for the CIFS server, you must supply the name
and password of a Windows account with sufficient privileges to add computers to the "CN=Computers"
container within the "nasadmin.local" domain.
Enter the user name: administrator
Enter the password:
Warning: An account by this name already exists in Active Directory at
CN=vsmcifs01,CN=Computers,DC=nasadmin,DC=local
Ok to reuse this account? {y|n}: y
CIFS server "VSMCIFS01" created and successfully joined the domain.
Do you want to share a data volume with CIFS clients? {yes, no} [yes]: yes
Enter the CIFS share name [vol1]: vsmcifsshare
Enter the CIFS share path [/vol/vol1]:
Select the initial level of access that the group "Everyone" has to the share {No_access, Read,
Change, Full_Control} [No_access]: Full_Control
The CIFS share "vsmcifsshare" created successfully.
Default UNIX users and groups created successfully.
Default export policy rule created successfully.
Vserver vsmcifs01, with protocol(s) cifs, and service(s) dns has been configured successfully.
Cluster1::>
login as: admin
Using keyboard-interactive authentication.
Password:
Cluster1::> vserver setup
Welcome to the Vserver Setup Wizard, which will lead you through
the steps to create a virtual storage server that serves data to clients.
You can enter the following commands at any time:
"help" or "?" if you want to have a question clarified,
"back" if you want to change your answers to previous questions, and
"exit" if you want to quit the Vserver Setup Wizard. Any changes
you made before typing "exit" will be applied.
You can restart the Vserver Setup Wizard by typing "vserver setup". To accept a default
or omit a question, do not enter a value.
Vserver Setup wizard creates and configures only data Vservers.
If you want to create a Vserver with Infinite Volume use the vserver create command.
Step 1. Create a Vserver.
You can type "back", "exit", or "help" at any question.
Enter the Vserver name: vsmcifs01
Choose the Vserver data protocols to be configured {nfs, cifs, fcp, iscsi, ndmp}: cifs
Choose the Vserver client services to be configured {ldap, nis, dns}: dns
Enter the Vserver's root volume aggregate {aggrnode1, aggrnode2} [aggrnode2]: aggrnode1
Enter the Vserver language setting, or "help" to see all languages [C.UTF-8]:
Enter the Vserver root volume's security style {mixed, ntfs, unix} [ntfs]:
Vserver creation might take some time to finish....
Vserver vsmcifs01 with language set to C.UTF-8 created. The permitted protocols are cifs.
Step 2: Create a data volume
You can type "back", "exit", or "help" at any question.
Do you want to create a data volume? {yes, no} [yes]: yes
Enter the volume name [vol1]:
Enter the name of the aggregate to contain this volume {aggrnode1, aggrnode2} [aggrnode2]:
aggrnode1
Enter the volume size: 1GB
Enter the volume junction path [/vol/vol1]:
It can take up to a minute to create a volume...
Volume vol1 of size 1GB created on aggregate aggrnode1 successfully.
Do you want to create an additional data volume? {yes, no} [no]: no
Step 3: Create a logical interface.
You can type "back", "exit", or "help" at any question.
Do you want to create a logical interface? {yes, no} [yes]: yes
Enter the LIF name [lif1]: vsmcifs01
Which protocols can use this interface {nfs, cifs, iscsi}: cifs
Enter the home node {Cluster1-02, Cluster1-01} [Cluster1-02]: Cluster1-01
Enter the home port {a0a, e0c} [a0a]: a0a
Enter the IP address: 192.168.15.169
Enter the network mask: 255.255.255.0
Enter the default gateway IP address: 192.168.15.2
LIF vsmcifs01 on node Cluster1-01, on port a0a with IP address 192.168.15.169 was created.
Do you want to create an additional LIF now? {yes, no} [no]: no
Step 4: Configure DNS (Domain Name Service).
You can type "back", "exit", or "help" at any question.
Do you want to configure DNS? {yes, no} [yes]: yes
Enter the comma separated DNS domain names: nasadmin.local
Enter the comma separated DNS server IP addresses: 192.168.15.132
DNS for Vserver vsmcifs01 is configured.
Step 5: Configure CIFS.
You can type "back", "exit", or "help" at any question.
Do you want to configure CIFS? {yes, no} [yes]: yes
Enter the CIFS server name [VSMCIFS01-CLUST]: vsmcifs01
Enter the Active Directory domain name: nasadmin.local
In order to create an Active Directory machine account for the CIFS server, you must supply the name
and password of a Windows account with sufficient privileges to add computers to the "CN=Computers"
container within the "nasadmin.local" domain.
Enter the user name: administrator
Enter the password:
Warning: An account by this name already exists in Active Directory at
CN=vsmcifs01,CN=Computers,DC=nasadmin,DC=local
Ok to reuse this account? {y|n}: y
CIFS server "VSMCIFS01" created and successfully joined the domain.
Do you want to share a data volume with CIFS clients? {yes, no} [yes]: yes
Enter the CIFS share name [vol1]: vsmcifsshare
Enter the CIFS share path [/vol/vol1]:
Select the initial level of access that the group "Everyone" has to the share {No_access, Read,
Change, Full_Control} [No_access]: Full_Control
The CIFS share "vsmcifsshare" created successfully.
Default UNIX users and groups created successfully.
Default export policy rule created successfully.
Vserver vsmcifs01, with protocol(s) cifs, and service(s) dns has been configured successfully.
Cluster1::>