Sample Question And Answer For NS0 158 Netapp Certification

Question And Answer For NS0 158 Netapp Certification Exam


Here are some sample question and answer for NS0 158 netapp certification exam. This is also called as NCDA Netapp Certified Data Administrator for cluster mode netapp data ontap 9.1. This are sample question and not the expected question for real exam.

Sample Question And Answer For NS0 158 Netapp Certification

Regarding storage failover giveback processes, which statement is true?

A. During giveback, node cl1-01 simultaneously returns ownership of both root and data aggregates
to cl1-02.
B. During giveback, node cl1-01 returns ownership of all aggregates to cl1-02, before reverting the
data LIFs back to the home ports.
C. During giveback, node cl1-01 returns ownership of the root aggregate to cl1-02 before returning
ownership of the data aggregates.
D. During giveback, node cl1-01 moves ownership of the root aggregate to cl1-04 and ownership of
the data aggregates to cl1-04.

Answer: C

Explanation:
The following process takes place in a normal giveback. In this discussion, node A has taken over
node B. Any issues on Node B have been resolved and it is ready to resume serving data.
References: https://library.netapp.com/ecmdocs/ECMP1196905/html/GUID-E8DC7475-49ED-4397-
9F00-AC5CB2875CA5.html

NO.2 A customer has a 1,000 GB volume used as a NAS share that has 3x 100 GB files and has no existing Snapshot copies.

The customer creates a Snapshot copy of the volume, adds a 500 Gb file to the volume, and then
deletes one of the 100 GB files from the volume. How much free space is in the volume in this scenario?
A. 500 GB
B. 200 GB
C. 300 GB
D. 600 GB

Answer: B

Explanation:
Snapshot copies minimize disk consumption by preserving individual blocks rather than whole files.
Snapshot copies begin to consume extra space only when files in the active file system are changed
or deleted. When this happens, the original file blocks are still preserved as part of one or more
Snapshot copies.
References: https://library.netapp.com/ecmdocs/ECMP1368826/html/GUID-CF9E77A6-BDD9-4138-
A281-FC0E7BEA4C6D.html

NO.3 Which NetApp management tool verifies the disk-shelf cabling of an existing NetApp cluster?

A. System Setup
B. Config Advisor
C. OnCommand Unified Manager
D. OnCommand System Manager

Answer: B

Explanation:
NetApp Config Advisor is a tool that will allow you to check the health and ensure your NetApp
infrastructure is adhering to NetApp best practices. Once the Config Advisor query finishes, view the results and take corrective action on any configuration issues:
References: http://bestpracticetips.com/tag/config-advisor/

NO.4 You are configuring an ONTAP solution for FC host connectivity.

In this scenario, how should the cluster be configured? (Choose two.)
A. The SVM must be configured for Ethernet LIFs.
B. FC ports must be configured as initiators.
C. FCP must be licensed on the cluster.
D. FC ports must be configured as targets.

Answer: CD

Explanation:
You can configure the FC and the FCoE protocols on the SVM for SAN hosts. LIFs are created on the most suitable adapters and assigned to port sets to ensure data path redundancy. Based on your requirements, you can configure either FC, FCoE, or both the protocols. Before you begin The FCP license must be enabled on the cluster. All the nodes in the cluster must be healthy. Each node must have at least two correctly configured ports for each protocol (FC and FCoE).

NO.5 You have a FlexVol volume with LUNs and need to set policies to prevent an ENOSPC error on the host. In this scenario, which two commands will keep the LUN available to the host? (Choose two.)

A. volume autosize
B. snapshot autodelete
C. snapshot delete
D. volume size

Answer: B,C

Explanation:
ENOSPC is a UNIX operating system error that sometimes returns the message Not enough space is
available to service your request." The error message occurs because of a shortage of file system
space or lack of available media blocks. You can delete Snapshot copies manually, or automatically by enabling the Snapshot autodelete capability for the volume. Define and enable a policy for automatically deleting Snapshot copies by using the volume snapshot autodelete modify command.
You can use the snap delete command to delete a Snapshot copy before the preset interval to free
disk space or because it is a manual Snapshot copy that is no longer needed but is not going to be
automatically deleted.

Note: We get ENOSPC errors because Data ONTAP lets the Snapshot copy grow into the volume
space. Every write in WAFL is a write to a new block. If an old block is part of a Snapshot copy, Data
ONTAP needs to preserve the old block and the new changed block. This is not a problem specific to NetApp. Every storage vendor who supports a snapshot feature has to deal with it. There are two options when there is no space to accommodate the Snapshot copies: References: https://community.netapp.com/fukiw75442/attachments/fukiw75442/backup-andrestore-
discussions/5980/1/tr-3633.pdf

NO.6 To log in to the cluster with OnCommand System Manager, a cluster administrator account must be authorized for which two application types? (Choose two.)

A. HTTP
B. SSH
C. ONTAPI
D. service processor

Answer: A,C

Explanation:
You must have a cluster user account configured with the admin role and the http, ontapi, and
console application types.
References: https://library.netapp.com/ecmdocs/ECMP1636037/html/GUID-0E8373DA-D297-4FBA-9C4D-3AD3C169D37F.html

NO.7 When a two-node cluster is expanded, which cluster configuration would be supported?

A. a 4-node switched cluster
B. a 4-node switchless cluster
C. a 3-node switched cluster
D. a 3-node switchless cluster

Answer: A

Explanation:
If you are adding nodes to a two-node switchless cluster, you must have installed and configured the
cluster management and interconnect switches before adding additional nodes.The switchless cluster functionality is supported only in a two-node cluster.
References: https://library.netapp.com/ecmdocs/ECMP1636037/html/GUID-B13FF812-785E-4E62-
9914-30E7A8F51A4C.html


              

What Is And How To Create Flexclone Volume In NetApp Cluster

What Is And How To Create Flexclone Volume In NetApp Cluster


              

In this video we will see how we can create flexclone volume in netapp cluster mode. We have used flexclone volume CLI command to create flexclone.

Flexclone volume is also called as flexible clone. Flex clone are the point in time copy of an source volume which can be use for testing purpose. After flexclone creation what ever changes happen in any of the volume it does not effect each other data.

Flexclone Share the same space of it source volume means it will not consume any extra space from its container aggregate. If you want flexclone to be a separate volume then flexclone split operation can be done.

How To Create iSCSI LUN And Discover In Windows Host Netapp Cluster Mode

How To Create iSCSI LUN And Discover In Windows Host Netapp Cluster Mode


Today we will discuss how we can create iscsi LUN in SVM NetApp Cluster Mode and allocate it to a Windows Host. In previous video we discussed how to configure iSCSI in SVM Netapp Cluster Mode. Click here to know more about it. Below are the overall steps need to perform in order to create iSCSI LUN in SVM NetApp Cluster Mode and how we can allocate it to windows host.

How To Create iSCSI LUN And Discover In Windows Host Netapp Cluster Mode
How To Create iSCSI LUN And Discover In Windows Host Netapp Cluster Mode


Complete Steps to Create iSCSi LUN in SVM NetApp Cluster Mode


1. Create Volume in SVM
2. Create a LUN over the volume
3. Create PortSet in SVM
4. Create a Initiator group in SVM
5. Bind the Igroup in portset
6. Map the LUN to Igroup
7. Discover the device in Windows Server


We are going to discuss about each step one by one along with the command that we need to use to enable Create iscsi LUN in SVM NetApp Cluster Mode.

Step 1: Create Volume in SVM Netapp Cluster Mode


Below command will create a volume in SVM NetApp Cluster Mode. This step is necessary because a LUN can reside over a volume or qtree. The volume should be thick volume as per netapp best practice recommendation.

volume create -vserver vs1 -volume vol1 -aggregate aggr1 -state online -junction-path /vol1 -size 1G -space-guarantee volume

Step 2. Create a LUN over the volume in SVM Netapp Cluster Mode


In this step we will create a LUN over a volume. As per netapp best practice recommendation we should create a thick volume. In this command the “-space-reserve enable” makes the LUN as thick.

lun create -vserver vs1 -path /vol/vol1/lun1 -size 1GB -ostype windows_2008 -space-reserve enabled

If your host operating system is Windows 2012, you must use the windows_2008 ostype. Space-reserve is enabled by default. If you want a non-space-reserved LUN, you must set the space-reserve option to disabled.



Step 3. Create PortSet in SVM Netapp Cluster Mode


Port Set are nothing but grouping of target iSCSI lifs. It is better to use ports sets when we have multiple targets on a node and you want to restrict access of a certain target to a specific initiator. Do not confuse port set with the physical ports.

Below is the command which will create a port set and add two iSCSI target lif.

portset create -vserver vs1 -portset portset1 -protocol iSCSI -port-name iscsilif1 iscsilif2

You can see the port set details by executing the below command.

portset show -vserver vs1



Step 4. Create an Initiator group in SVM Netapp Cluster Mode


In this step we are going to create initiator group  in SVM. This is also called igroup which is nothing but collection of initiator IQN number. In iSCSI lun allocation IQN are similar to WWPN in FC protocol.  

igroup create -vserver vs1 -igroup igroup1 -protocol iscsi -ostype windows_2008 -initiator iqn.1991-05.com.microsoft:hostA



Step 5. Bind the Igroup to portset in SVM Netapp Cluster Mode


In this step we will bind the igroup to the portset. Once this step is completed the the initiator will be able to communicate to the iSCSI target lif which are present in port set. Below is the command to bind an igroup to portset in SVM.

lun igroup bind -vserver vs1 -igroup igroup1 -portset portset1



Steps 6: Map iSCSI LUN to Igroup In SVM Netapp Cluster Mode


In this step we will map or present the lun to the igroup1 and then the lun will be visible to initiator. Below is the command to map the iscsi lun to an initiator.

lun mapping create -vserver vs1 -path /vol/vol1/lun1 -igroup igroup1


Step 7. Discover New iSCSI Lun  in Windows Server

LUNs on your Storage Virtual Machine (SVM) appear as local disks to the Windows host. You must manually rescan disks to discover the new LUN. Below are the steps to do it for windows 2008 server

Steps 1. Open the Windows Computer Management utility:

Navigate to Computer Management Windows Server 2008 Start > Administrative Tools > Computer Management

2. Expand the Storage node in the navigation tree.

3. Click Disk Management

LUNs appear in Windows Disk Management as disks. You need to initialize the disk as a basic disk with a GPT or MBR partition table to create a drive. You need to format the LUN with a file system such as NTFS, below are the steps to do it.

Steps 1. Start Windows Disk Management.
Steps 2. Right-click the LUN, and then select the required disk or partition type.
Steps 3. Follow the instructions in the wizard.


Once these steps are completed you can go to My Computer and can see new drive. Make sure that you create and delete files in the drive. This concludes the steps on iscsi lun creation in SVM and present it to a windows server. Below is a Youtube video which explains more on each steps and commands. You can also like and subscribe to You Tube channel for more such videos.



                 

How To Configure iSCSI In SVM And Windows Server Netapp Cluster Mode

How To Configure iSCSI In SVM And Windows Server Netapp Cluster Mode


Today we will discuss how we can configure iscsi in SVM NetApp Cluster Mode. Basically iSCSI protocol is used for LUN allocation to various host.  In iSCSI the data transfer happens via network. This is why the performance is less in comparison to the FC protocol. You can try increase the performance by using 10G network port and by enabling Jumbo Frames. Below are the overall steps need to perform in order to configure iSCSI in SVM NetApp Cluster Mode.

How To Configure iSCSI In SVM And Windows Server Netapp Cluster Mode

Complete Steps to configure iscsi in SVM NetApp Cluster Mode.

1. Add iSCSI License is Netapp Custer
2. Add iSCSI protocol in SVM allowed Protocol List
3. Create iSCSI Server in SVM Netapp
4. Create iSCSI Lif in each node of the cluster
5. Discover iSCSI target in windows server

We are going to discuss about each step one by one along with the command that we need to use to enable iSCSI in SVM NetApp cluster mode.

Step 1: Add iSCSI License is Netapp Custer Mode


Below command will add the iSCSI licence in NetApp  cluster mode.

cluster1::> system license add -license-code AAAAAAAAAAAAAAAAAAAAAAAAAAAA

Once the command is executed you can execute the below command to see if iSCSI licence added or not ?

cluster1::> system license show

Step 2: Add iSCSI Protocol in SVM allowed protocol list


Before we use any Protocol in SVM we need to check whether that particular protocol is present in the protocol list of SVM or not.  Below command will show what are the protocol present in SVM.

cluster1::> vserver show-protocols -vserver vs1

If you see iSCSI in the output of above command then we can proceed for the next step.  Else we need to add the iSCSI protocol in the SVM by using the below command

cluster1::> vserver add-protocols -vserver vs1 -protocols iSCSI

Step 3: Create iSCSI server in SVM Netapp Cluster Mode


In this step we are going to enable iSCSI Protocol in SVM once we done with this step then only we will be able to perform iSCSI operations in SVM.

cluster::> vserver iscsi create -vserver vs1

In order to verify if iSCSI service is enabled or not you can execute the below command

cluster::> iSCSI show -vserver vs1

Step 4 Create iSCSI LIF In SVM Netapp Cluster Mode


In this step we will create iSCSI lif. iSCSI lif creation is similar to normal lif creation only difference is that we have to mention iscsi protocol while creating the lif. In order to maintain the multipath we must create lif in each node of the cluster. Below is the command to create lif on node 1.



cluster::> network interface create -vserver vs1 -lif iscsilif1 -role data -data-protocol iscsi -home-node node1 -home-port e0e -subnet-name subnet1

In above command we have used subnet to create the lif. You can click here to see how subnet work in netapp cluster mode.

Now all the steps from Netapp side is completed. Now follow the below steps to complete the configuration from Windows Side.

Steps 5: Discover iSCSI target in windows server


1. Open the iSCSI Initiator Properties dialog box:

Windows Server 2012 Server Manager > Dashboard > Tools > iSCSI Initiator
Windows Server 2008 Start > Administrative Tools > iSCSI Initiator

2. On the Discovery tab, click Discover Portal or Add Portal, and then enter the IP address of the
iSCSI target port.

3. On the Targets tab, select the target you discovered, and then click Log on or Connect.

4. Select Enable multi-path, select Automatically restore this connection when the computer
starts or Add this connection to the list of Favorite Targets, and then click Advanced.

5. For Local adapter, select Microsoft iSCSI Initiator.

The following example is from Windows Server 2008:

iSCSI Configuration In Windows Netapp Cluster Mode
iSCSI Configuration In Windows Netapp Cluster Mode


6. For Source IP or Initiator IP, select the IP address of a port on the same subnet or VLAN as one
of the iSCSI target LIFs.

7. Retain the default values for the remaining check boxes, and then click OK.

Once the steps from Windows side is done. We will be able to see the iSCSI initiator in SVM as well. Below is the command to see them.

cluster::> iSCSI initiator show -vserver vs1

Now the SVM is ready to server iSCSI traffic. Next step is to create a lun and map it to the windows server. In windows server the lun will be mapped as local drive and can be used for data operation. Check Out the YouTube Video which explains each steps in details along with the command line Demo. Subscribe to our YouTube Channel as well.


                

Detail Explanation Of Inode - Netapp Cluster Mode

Detail Explanation Of Inode - Netapp Cluster Mode



This video explains all possible things that you should know about inode in Netapp Cluster Mode.

Detail Explanation Of Inode Netapp Cluster Mode
Detail Explanation Of Inode Netapp Cluster Mode

What is Inode In Netapp Cluster Mode ?


An inode is a data structure or object which contain information about files in Netapp Cluster Mode. An inode is a data structure that defines a file, with an exception of filename which is stored in the directory entry. The inode number is an integer unique to the volume. Whenever a user create a new file an inode is assigned to contain all the information about the file.


What is the Size of One Inode In Netapp Cluster Mode ?


The size of a inode depends upon model to model. Based on the model and the block size of the volume we can say what would be the size of one inode in NetApp cluster mode. If a netapp volume has block size of 4 KB then the one inode will consume 4 KB of space and if the block size of volume is 32 KB then it will consume 32 KB of space.

Command to check block size of volume in netapp cluster mode.

In order to get the block size of netapp volume we need to run node level command. Below command output will give you the block size of all volume which belongs to node 01.

run -node Cluster-01 -command vol status -b

How To Calculate Maximum Inode Of Volume In Netapp Cluster Mode ?


The simple formula is total capacity of volume in KB divided by block size of the netapp. Below is an example where the total volume size is 20 MB or 20480 KB and the block size is 4 KB.

Formula For Calculating Maximum Inode Of Volume  In Netapp Cluster Mode


Total Approx Inode = Total Size Of the Volume in KB/Block Size of the Volume


Total Approx Inode = 20480/4 = 5120


5120 is approximate value for maximum inode. If you want to know the exact value then select a value which is much higher than 5120 and try to increase the Inode. The Ontap will give you error and it will also have the exact value of inode that a volume can have.

How to Check Total Number Of Inode of Volume In Netapp Cluster Mode ?


We can check the total number of  inode of volume in NetApp cluster mode by using two commands.


Command To Check Number Of Inode Of Volume In Netapp Cluster Mode

 df -h vol1


Output of above command will show the total number of free inode and the used inode of a volume and the sum of those will give you the total number currently allocated inode for the volume. You can also use the below SVM level command to get total number currently allocated inode.

Command To Check Number Of Inode Of Volume In SVM Netapp Cluster Mode


vol show -vserver vs1 -volume vol1 -fields files


Output of above command will give the total number files that can be created in a volume which is also is the inode of the volume.


How To Increase Inode Of Volume In Netapp Cluster Mode ?



We need to increase the number of file of volume to increase the inode. As per Netapp best practice recommendation inode should be increased by 2%.

Command to Increase Inode Of Volume In Netapp Cluster Mode.


vol modify -volume vol1 -files 2000


If the value is larger than the maximum inode capacity the ontap will throw an error. This concludes the blog on Inode. Below is an YouTube Video to see the demo on how to perform all steps to increase the inode in Netapp Cluster Mode.



                 

Most Common Interview Question And Answer For Storage Administrator

Most Common Interview Question And Answer - Storage Administrator


In this blog we will discuss some of the most common interview question for storage administrator. In my opinion and experience these interview question are very common. I have taken and given almost more than 30 interview in my storage administrator career and I feel you must prepare these interview question before you attend any interview for storage admin.

Some expert says that you have to give your best during the interview. I strongly beg to differ there. Your interview process starts the moment you decided to switch. You must research about the Job Profile and the possible interview question and its answer. You should not only get the answer but you need wake up your inside actor and rehearsal the answer as well.

Below are the most common interview questions for storage admin job which you should prepare before attending any interview.


Common interview question for storage admin
Storage Admin Interview Question

Question 1: Tell Me about yourself ?


This question is very common and important interview question but the answer of this question will decide how your,s entire interview round will go. Based on your answer only, interview panel will generate next set of question. So take your time and prepare a good answer. Below are the some points which may help you.

Speak for at least two minutes unless the panel stops you. Try to segment your roles into various section. Such as what you have done during your initial days and for how many years. Then mention about your new role. Don't forget to add that the new role was assigned based on your good performance. If you are fresher along with your day to day operation mention what high level activity you have done. It may be simple implementation or any severity calls you were joining.

If you have experience with many companies then divide your answer based on roles assigned to you in each of the company. Finally Conclude your statement by saying what is your current roles and responsibility.

Question 2: Why You Are Looking For Change ?


Along with the interview panel you also know why you are looking for change and the answer is hike but in this case honesty is not the best policy you should never mention that hike is the reason for Job Change. Below are some points which may help you to build the answer for it.

Try to answer in a diplomatic way. Think of an answer which will show your positive attitude. Your answer must indicate your learning attitude a well. Do not complain about your current company, package or about your manager no matter how frustrated you are with them.

Some possible answer may be that your current project’s contract is going to over and you will be on bench for uncertain period and you do not like to be on bench. Another possible answer is that your project does not have much scope in technical field and you want to pursue your career in technical aspect.

Question 3: What Is Your Salary Expectation ?


Yes I agree that this interview question can make your dream true where money is falling from the sky and you are the only one to take all of it. But wake up from the dream, take a breath and start answering in such a way that the interview panel should feel money is not the only thing you are looking in this job. Below are the few point which may help you prepare an answer.

Research about the package for your level of experience from various source and then decide the best package that you can get it from the company. Always start with an explanation on your salary expectation. Always say salary expectation in range for example 10.5 to 11 so that there will always be a room for negotiation. Conclude your statement by mentioning that the salary expectation is negotiable. 

Possible answer is that I have read the job profile and i am suitable for this requirement and based on my technical expertise I feel XX-YY Lakhs will be an undeniable offer for this job.

Question 4: What Are The Storage Frame You Have Worked On ?


The main purpose of this question is to know how technically strong you are in storage. So you need to mention all storage technology that you have work worked on. You should not mention the storage technology that you have only heard of. You should mention the technology for which you have hands on experience.

Try to answer it in hierarchy way starting with most generalized field. For Example SAN or NAS. Then mention the various vendor and the respective storage frame. Don’t say the technology which you have only heard of. Mention those storage frames for which you have hands on experience.  If you have any extra skills apart from SAN and NAS then mention it as well for example scripting. If you are learning a new technology then mention it in your concluding statement.

Possible Answer: I do have knowledge on both SAN and NAS Technology Under SAN I have knowledge on EMC VNX and VMAX. I do have experience on  HP product like HPEVA, HP3PAR. I also have experience on Brocade and Cisco Switches. Once you complete the SAN part then jump to NAS part and mention the storage frame for which you have hands on experience.

Question 5: Have You Worked On Any Major Incident


The main purpose of the question is to know how capable you are in handling major incident. If you have not faced any major  incident do not say simply No think of a storage issue for which you have worked on from end to end and then convert that experience into an answer. Below are the few points which may help you to build the answer.

Tell about any incident that you have actually worked on. Mention what was your role in it. Try to answer it in narrative way. Conclude your statement by mentioning that the solution of the incident was properly documented by you.

Question 6: What Extra Value You Can Add To Company


This is the question where you can say about your extra skills that you have and how you can implement that skill to improve team performance. You should mention those skills only which are related to storage profile.

Mention about the extra skills that you have which was not there in job description. Don’t say about skills which are not related to job position. If you don’t have any extra skills then mention you are planning to learn something new. Try to say about the technology which is on trending. E.g. Scripting and Automation

Question 7: Do You Have Any Question For Us?


The answer of this question will help you to give an indication to the panel that how much you are interested for this job. You should not skip this question you must think of a question to ask the interview panel.

If you don’t have any question to ask don’t say simply no. Mention them that you have already researched about the profile and company and all your doubt were clarified. You can ask for any suggestion on your next step if you are through all rounds. You can ask any technical question which you were unable to answer. If the panel answer your question then don’t forget to say thank you.

This concludes the blog on the most Common interview questions for storage administrator. if you have a different answer then what is mentioned in this blog then please comment or if you have any different question as well the please share it to us by commenting. Share this blog to your friends and colleagues who are looking for change and do not forget to Subscribe to our YouTube Channel.



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 ...