How To Create NFS Share In SVM NetApp Cluster Mode

How To Create NFS Share In SVM NetApp Cluster Mode

In this particular blog we will discuss how we can create NFS share in SVM NetApp cluster mode. NFS share are used in UNIX server to store data so that Unix user can perform various data operations such as read write and modification or even deletion. NFS Share in NetApp cluster mode belongs to SVM.

how to create nfs share in netapp cluster mode

Steps  To Create NFS Share In SVM NetApp Cluster Mode

There are four steps to create NFS share in SVM Netapp Cluster Mode. First step is to create volume with security style Unix. Second step is to create an export policy. Third step is to create a rule Under export policy. Fourth step is to assign the newly created export policy to the volume.
In this particular blog we will create NFS share by using command line approach.

Step 1  Create A Volume With Security Style Unix

Following command will create a volume with security style Unix of size of 30 MB. SVM name is vs1 and volume name is share1 the junction-path is /share1.


vol create -vserver vs1 -volume share1 -aggregate data_aggr01 -junction-path /share1 -size 30MB

Step 2 Create An Export Policy In SVM

Export policy is basically is combination of rules. These rules contains the access informations about UNIX server In which the NFS share will be mounted. Below command will create an export policy with name share1 in SVM  vs1.


vserver export-policy create -vserver vs1 -policyname share1

Step 3 Create A Rule Under Export Policy

A rule in export policy contains the information about UNIX server such as its name or IP address what kind of access it requires and what protocol is going to use to access the data. Below  is the command which will create a rule under share1


vserver export-policy rule create -vserver vs1 -policyname share1 -protocol any -clientmatch 192.168.15.173 -rorule any -rwrule any -superuser any

Step 4: Assign The Export Policy To The Volume Share1

This is the last step we need to perform. We need  to modify volume’s export policy from default to the newly created export policy which is share1. we can do that by executing below command


volume modify -vserver vs1 -volume share1 -policy share1


We have completed all the steps which from Netapp end. Now we should give IP address or FQDN of SVM and the junction path of the volume to Unix administrator Unix administrator will use this information to mount the NFS Share. We need to provide the details in below format.


192.168.15.205:/share1


This concludes the discussion on how to create NFS share in SVM NetApp cluster mode. If you have any doubt or any knowledge to share please comment don't forget to subscribe our YouTube Channel And don't forget to share this blog as well.

Video Training On NFS Share Creation Netapp Cluster Mode




What Is Load Sharing Mirror Volume In SVM - Netapp Cluster Mode

What Is Load Sharing Mirror Volume In SVM - Netapp Cluster Mode

In this blog we will discuss about load sharing mirror volume in svm netapp cluster mode. Below are the few topics which we are going to cover.

What is load sharing mirror volume in SVM ?
How load sharing mirror works
How to create load sharing mirror volume using command line.

What Is Load Sharing Mirror Volume In SVM?


As its name suggest load sharing mirror volume share the load of a source volume. That simple right but the question arises what type of load it share well the answer is read load. It does not share write load of source volume. Source volume is nothing but the volume which is serving data to the client. 

When ever a read request come for source volume ontap will see if any load sharing mirror volume present in the node or not. If its finds a load sharing volume then ontap will route the request to the load sharing mirror volume. This is not applicable for write request.

How Load Sharing Mirror Volume Works ?


In order to understand how load sharing volume works first lets discuss about the layout of load sharing volume. For one source volume there will be load sharing mirror volume in each node of the cluster. The type load sharing mirror volume must be DP which stands for data protection. Now let suppose there is a volume vol1 which is owned by Node 1. Now a user is trying to access the data using a LIF which is present in Node 2. 

In above scenario, first the read request will come to Node 2 then as the volume is present in node 1 ontap will route the request to node 1 via inter cluster switches. This will create a small amount of latency. Now if the node 2 has load sharing mirror volume then the read request will be served  back from node 2 itself which will lower the latency and network traffic.

How To Create Load Sharing Volume Using Command Line.


There are three steps to create a load sharing mirror volume. We are going to discuss about these one by one. We will assume that we have two nodes in cluster. The source volume name is vol1 which belongs to SVM vs1.

Step 1: Create Load Sharing Mirror Volume In Each Node Of The Cluster


The following command creates a load-sharing mirror volume for the volume vol1 of the SVM vs1 on each node of the cluster. The naming convention of the load-sharing mirror volumes are recommended by netapp.

volume create -vserver vs1 -volume vol1_m1 -aggregate aggr_node1 -size 30MB -type DP

volume create -vserver vs1 -volume vol1_m2 -aggregate aggr_node2 -size 30MB -type DP

Step 2: Create Snapmirror Relation Between Source And Mirror Volume


Before replicating data from the source volume to the load-sharing mirror destination volumes, we need to create a snap mirror relationships for each load sharing mirror volume. In our case we need to create two mirror relationship. The type of snapmirror relationship must be LS which stands for Load Sharing.

snapmirror create -source-path vs1:vol1 -destination-path vs1:vol1_m1 -type LS

snapmirror create -source-path vs1:vol1 -destination-path vs1:vol1_m2 -type LS

Step 3: Start Baseline Copy for Load Sharing Mirror Volume


We need to  initialize the load-sharing mirrors to start a baseline copy between the source volume and the load-sharing mirror destination volumes. Once the copy is finished the destination volume will be ready to server the data. The following command creates a baseline copy of the source volume named vol1 to all of the load-sharing mirrors.

snapmirror initialize-ls-set vs1:vol1

How To Create Load Sharing Mirror Volume In SVM - Video Tutorial


Below is the video which shows how to create load sharing mirror volume in SVM netapp cluster mode in command line.






What Is And How To Configure Name Service - Netapp Cluster Mode

What Is And How To Configure Name Service - Netapp Cluster Mode


This video explains what is name service and how to configure it in netapp cluster mode. Name service tells data ontap which external or internal sources it should refer to get information about hosts, user and group.

What is name service in cluster mode netapp

How to configure name service in cluster mode netapp.






Execute Unix Command From Windows Server

Execute Unix Command From Windows Server


If you want run Unix command from Windows machine. In a broad sense any machine which supports ssh and you want to get some output from that machine, read any file content then this tool "Unix_Command_From_Windows" is very powerful to use.


You can use this tool from Windows command prompt to any server which support ssh connectivity. It will execute the specified command and get the output from SSH machine and display in Command prompt Screen. If you want to store the output use the optional argument "-o" and tool will store the content in same folder where the application is running.

How To Use The Tool:

Step1: Download the zipped File.

Step2: Extract the File to a specified Folder.

Step3: Open Windows Command Prompt.

Step4: Traverse to the folder where this tool is stored.

Step5: Execute the command "Unix_Command_From_Windows.exe -h" to see the syntax.

Step6: Below is the syntex and Unix Command  to get "ifconfig -a" out from a Linux Machine.

Unix_Command_From_Windows.exe <Server_Name> <Username> <Password><Unix_Command>
Unix_Command_From_Windows.exe host1.org ittechtool password "ifconfig -a"


Step7: If want to store the output in a file the use "-o" at the end. This will generate a .txt file in same folder with Unix server name and store the output into it.

Unix_Command_From_Windows.exe host1.org ittechtool password "ifconfig -a" -o

Download This Tool For Free

Various Scenarios To Use This:

  1. Get Unix system logs for multiple server.
  2. You can get system information without actually logging into it.
  3. Get the specific system command output quickly.
  4. Quickly read the content of any file hosted on ssh machine e.g. "cat /etc/hosts".
You can use this tool on many other ways to reduce your day to day effort you just have to be aware of the exact command to execute. Though this tool can be useful for executing configuration command as well but we strongly recommend to use it only for information collection.
Please like and share about this tool if it was helpful to you by any means.

How To Create Netapp Cluster Mode In Simulator Data Ontap 8.3

This Video describes how we can create netapp cluster in simulator data Ontap 8.3. In this video initialization of first node of the cluster has been done with the help of virtualization tool VMWare Work station.








How To Create CIFS Share In SVM - Netapp Cluster Mode

How To Create CIFS Share In SVM - Netapp Cluster Mode


What Is CIFS Share - Netapp Cluster Mode


In Netapp Cluster Mode CIFS share belongs to SVM (Storage Virtual Machine). End User use CIFS share for various purpose in Windows Server such as reading, writing and modification A User can access CIFS share in any windows machine if the windows machine belongs to same domain but Netapp administrator can restrict permission for user and group from share level or from security level.

Steps To Create CIFS Share In SVM


In order to create a CIFS Share in SVM we need to perform two steps. First step is to create a volume with security style NTFS. The Second step is to use the newly create volume to create a CIFS Share. We can use On Command System Manager or Command Line to create cifs share in SVM. In this blog we will use Command line approcah.

Step 1: Create Volume In SVM Netapp Cluster Mode


Volume is partition on aggregate which will have some amount of space. The volume belongs to SVM and we can use both command line and On Command System Manager to create it. In this case we will create a volume named vol1 of size 30MB from aggregate aggr01 in SVM SVM1. We need to select security style NTFS. As we are using command line to create volume we also need to provide a junction path.You must use data aggreagte to create the volume.

Command To Create Volume In SVM


volume create -vserver SVM1 -volume vol1 -size 30MB -aggregate aggr01 -security-style ntfs -junction-path /vol1
In above command the junction path is /vol1 where / is the junction path for the root volume of SVM. If you are using on command system manger to create volume in SVM then there is no need to provide junction path. All newly create volume will be mounted over root volume.

Step 2: Create CIFS Share Using Volume


In this case we will create the CIFS share with name as share01. While creating share name we need to mention SVM name and the junction path. We need to use vserver cifs share create command to create the CIFS share.


Command To Create CIFS Share In SVM


vserver cifs share create -vserver SVM1 -share-name share01 -path /vol1
Once the CIFS share creation is completed. We need UNC path to end user so that they can access the CIFS share in their windows system. Below is the format for UNC Path.

\\ip_address_of_CIFS_LIF\Share_name
\\FQDN_Of_Zone_Name\Share_name
Now I would like to highlight here that what ever CIFS share we create the default permission is full_control for Everyone. In order to achieve the security complaiance and the best practice in your environment you need to modify it before sharing the UNC path to end user.

Create CIFS Share In SVM Netapp Cluster Mode - Video Training


Above video has step by step explanation for CIFS share creation in Netapp Cluster Mode. If you like the post then please share it and subscribe for more blog and video training.

Zoning In Cisco MDS SAN Switch In Command Line

Zoning In Cisco MDS SAN Switch In Command Line Zoning is a process of grouping initiator and target ports WWPN which is performed in SAN ...