Showing posts with label San. Show all posts
Showing posts with label San. Show all posts

Wednesday, 22 February 2012

NetApp Interview Question

NetApp Interview Question 


How to improve the Netapp storage performance?

  1. There is no direct answer for this question but we shall do it in several way. 
  2. If volume/lun present in ATA/SATA harddisk aggregate, then the volume can be migrated to FC/SAS disk aggregate. 
  3. For NFS/CIFS instead of accessing from single interface, multi mode vif can be configured to get better bandwidth and fault tolerance. 
  4. Always advised to keep aggr/vol utilization below 90%. 
  5. Avoid doing multiple volume backup in single point of time. 
  6. Aggr/volume/lun reallocation can be done to re–distribute the data to multiple disk for better striping performance. 
  7. Schedule scrubbing and deduplication scanning after business hours. 
  8. Avoid connecting different types of shelf in a same loop. 
  9. Avoid mixing up different speeds of disk and different types of disk in a same aggregate. 
  10. Always keep sufficient spare disk to replace incase of disk failure. Because reconstruction time will take more time and cause negative performance. 
  11. Keep the advised version of firmware/software which is recommended by netapp. 
  12. Better to have nearstore functionality to avoid backing up data from source filer. 

Unable to map lun to solaris server, but solaris server side no issue. How to resolve the issue?

FROM STORAGE SIDE:
  1. Verify iscsi/fcp license is added in storage 
  2. Verify iscsi/fcp session is logged in from server side 
  3. Verify luns are mapped to the corresponding igroup. 
  4. Verify whether correct host type is mentioned while creating igroup and lun 
  5. Verify whether correct iqn/wwpn number is added to igroup 
  6. Verify zoning is properly configured from switch side. 
How to create the LUN for solaris server?
  1. lun create –s size –t solaris /vol/vol1/lunname 

How to create qtree and provide the security?

Qtree create /vol/vol1/qtreename
Qtree security /vol/vol1/qtree unix|ntfs|mixed

How to copy filer to filer?

ndmpcopy or snapmirror

How to resize the aggregate?

Aggr add agg(name) no.of.disk

How to increase the volume?

Traditional

Vol add vol(name) no.of.disk

Flexiable

Vol size vol(name) +60g

What is qtree?

Qtree are Logical partition of the volume

What is the default snap reserve in aggregate?

5%

What is snapshot?

Copy(read only) of active file system

What are the raid groups netapp supporting?, what is the difference between them?

Raid_dp(double parity,diagonal parity) ,raid4(striping&dedicated parity)

What are the protocols you are using?

Say some protocols like NFS, CIFS, ISCSI and FC
What is the difference between iscsi and fcp?

Iscsi-sending block through(tcp,ip)

Fcp-send through fibre medium
What is the iscsi port number your are using?

860 and 3260

What is the difference between ndmp copy and vol copy?

Ndmp copy –network data management protocol(used for tape backup)

Vol copy – is used to transfer volume to same or another aggr 


What is the difference between ONTAP 7 & 8?

In ONTAP 7 the individual aggregate is limited to maximum of 16 TB. Where ONTAP 8 supports the new 64 bit aggregate and hence the size of the individual aggregate extends to 100 TB.

What are the steps need to perform to configure SnapMirror?

The SnapMirror configuration process consists of the following four steps:

a. Install the SnapMirror license on the source and destination systems: license add <code>

b. On the source, specify the host name or IP address of the SnapMirror destination systems you wish to authorize to replicate this source system.

options snapmirror.access host=dst_hostname1,dst_hostname2

c. For each source volume or qtree to replicate, perform an initial baseline transfer. For volume SnapMirror,

restrict the destination volume first: vol restrict dst_vol

Then initialize the volume SnapMirror baseline, using the following syntax on the destination:

snapmirror initialize -S src_hostname:src_v

oldst_hostname:dst_vol

For a qtree SnapMirror baseline transfer, use the following syntax on the destination:

snapmirror initialize –S src_hostname:/vol/src_vol/src_qtree

dst_hostname:/vol/dst_vol/dst_qtree

d. After the initial transfer completes, set the SnapMirror mode of replication by creating the

/etc/snapmirror.conf file in the destination’s root volume.

For reference:


While doing baseline transfer you’re getting error message. What are the troubleshooting steps you’ll do?


Check both the hosts are reachable by running “ping” command
Check whether the TCP port 10566 & 10000 are open
Check whether the snapmirror license are installed in both and destination

Explain the different types of replication modes.

The SnapMirror Async mode replicates Snapshot copies from a source volume or qtree to a destination

volume or qtree. Incremental updates are based on a schedule or are performed manually using the

snapmirror update command. Async mode works with both volume SnapMirror and qtree SnapMirror.

SnapMirror Sync mode replicates writes from a source volume to a destination volume at the same time it is

written to the source volume. SnapMirror Sync is used in environments that have zero tolerance for data loss.

SnapMirror Semi-Sync provides a middle-ground solution that keeps the source and destination systems more

closely synchronized than Async mode, but with less impact on performance.

How do you configure multiple path in Snapmirror?

Add a connection name line in the snapmirror.conf file
/etc/snapmirror.conf
FAS1_conf = multi (FAS1-e0a,FAS2-e0a) (FAS1-e0b,FAS2-e0b)

Explain how De-Duplication works?

In the context of disk storage, deduplication refers to any algorithm that searches for duplicate data objects (for example, blocks, chunks, files) and discards those duplicates. When duplicate data is detected, it is not retained, but instead a “data pointer” is modified so that the storage system references an exact copy of the data object already stored on disk. This deduplication feature works well with datasets that have lots of duplicated date (for example, full backups). 


What is the command used to see amount of space saved using deduplication?

df –s <volume name>

Command used to check progress and status of deduplication?

sis status
How do you setup Snapvault Snapshot schedule?

pri> snapvault snap sched vol1 sv_hourly 22@0-22

This schedule is for the home directories volume vol1
Creates hourly Snapshot copies, except 11:00 p.m.
Keeps nearly a full day of hourly copies

What is metadata? 

Metadata is defined as data providing information about one or more aspects of the data,

1. Inode file
2. Used block bitmap file
3. Free block bitmap file
How do you shutdown filer through RLM?

telnet “rlm ip address”
RLM_Netapp> system power on

After creating LUN (iSCSI) & mapped the lun to particular igroup, the client not able to access the LUN. What are the trouble shooting steps you take?

Check whether IQN number specified is correct
Check whether the created LUN is in “restrict” mode
Check the iscsi status

In CIFS how do you check who is using most?

Cifs top

How to check cifs performance statistics

cifs stat

What do you do if a customer reports a particular CIFS share is responding slow?

Check the r/w using "cifs stat" & "sysstat -x 1".
If disk & cpu utilization is more then problem is with filer side only.
CPU utilization will be high if more disk r/w time, i.e.,during tapeback up & also during scrub activities.

what is the degraded mode? You have parity for failed disks then why the filer goes to degraded mode?

If the spare disk is not added within 24hours,then filer will be shutdown auomatically to avoid further disk failures and data loss.

Did you ever do ontap upgrade? From which version to which version and for what reason?

Yes i have done ontap upgrade from version 7.2.6.1 to 7.3.3 due to lot of bugs in old version.

How do you create a lun ?

lun create -s <lunsize> -t <host type> <lunpath>

Production Manager?

Production manager will do the planning,co-ordinating and controlling the process.

Performance Manager?

Performance manager will analyses the performance trends of application.systems and services.

How do you monitor the filers?

Using DFM(Data Fabric Manager) or also using SNMP you can monitor the filer.

What are the prerequisites for a cluster?

cluster interconnect cable should be connected.

shelf connect should be properly done for both the controllers

cluster license should be enabled on both the nodes

Interfaces should be properly configured for fail over

cluster should be enabled

What are the scenarios you have for a cluster failover?

If disk shelf power or shelf port is down, then failover will not happen. It cannot access the mail box disk. Mail box disk stores the cluster configuration data.

What is the diff bet cf takeover and cf force takeover?

If partner shelf power is off (metrco cluster), the forcetakover will work else normal takeover will work.


Please write your valuable comments, about my blogspot.

Tuesday, 20 December 2011

SAN Interview Questions


1. What is LUN?
Ans:
  •  lun is logical unit of number, which represent the physical unit of storage disk
  • It is block level access
  • Supporting operating system like Windows, Solaris, Linux, aix, and more
  • Supporting protocols is FC and ISCSI

2. What kind of configuration FC or ISCSI? 



Ans:  Fc configuration (multi path)

3. What kind of Configuration is this? 


Ans: ISCSI (single filer)

4. What distinguishes FCP from iSCSI in a SAN environment?
Ans: 


FC
ISCSI
Block level access
transfer through Fc switch
fast and  flexible
Block level access
Ethernet
slower than Fc







5. Give an example of an attribute that needs to specified when creating a LUN

Ans:  lun size, volume or qtree name, igroup name, operating system type

6. Name three ways to create a LUN
Ans: 
  • lun create in cmd
  • Lun setup in cmd
  • Filer view
  • Snap drive in host side

7. TO DISPLAY LUN:
Ans: lun show [path] [/vol/vol_name/lun_name]

8. TO CHECK ALL LUN/IGROUP/FCP SETTINGS FOR CORRECTNESS:

Ans: lun config_check [lun path]

9. TO GET THE SERIAL NUMBER, TYPE AND MAPPING OF A LUN:
Ans: lun show -v

10. SHOW THE MAPPING OF A LUN:
Ans: lun show

11. TO SHOW SPLITTING LUN CLONES:
Ans: lun show -c

12. TO CREATE A LUN:
Ans:

Syntax : lun create –s(size) –t (os type) lun path

Example: lun create –s 100g –t windows /vol/vol_name/lun_name

13. TO DESTROY A LUN:

Ans: lun destroy [-f] lun_path [lun_path ...]

14. TO ENABLE THE LUN and TO DISABLE THE LUN:
Ans:

Enable lun : lun online [lun path]
Disable lun : lun offline[ lun path]

TO MAP THE LUN TO THE IGROUP and TO UNMAP A LUN:
Ans:

lun map: lun map /vol/vol1/lun1 igroup_name

lun un map: lun unmap /vol/vol1/lun1 igroup_name

15. TO FIND MAXIMUM SIZE OF A LUN FOR A VOLUME OR QTREE:
Ans:

lun maxsize /vol/vol3/

It shows:

With out snapshot reserve: 102.0m (106928640)
With snapshot reserve: no space
With complete snapshot reserve: no space

16. TO CHANGE THE SIZE OF A LUN:
Ans: lun resize /vol/vol3/lun3 +20m

17. TO CREATE A LUN CLONE:

Ans:

To create lun clone we must create one snapshot for lun contain volume

Snap create vol_name snap_name

lun clone create [new lun path] –b [parent lun path] snaphot name

18. TO SPLIT A LUN CLONE FROM A PARENT LUN:
Ans:

Once we created lun clone, new colne is attached to the parent lun, manually we need to split.
lun clone split start -d /vol/vol3/clone_lune

19. TO STOP A LUN CLONE SPLITTING PROCESS:
Ans:

lun clone split stop <lun_path>

20. TO SEE THE STATUS OF LUN CLONNING:
Ans:

lun clone split status

21. TO SEE THE COMMENT FOR A LUN:
Ans:

lun comment <lun path>

22. TO RENAME A LUN:
Ans:

lun move <old lun_path> <new_lun_path>

23. TO GET THE SERIAL NUMBER OF LUN:
Ans:

lun serial [lun path]
lun show -v

24. TO GET SERIAL NUMBER OF LUN IN HEX FORMAT:
Ans:

lun serial -x [lun path]

25. TO SET THE SERIAL NUMBER OF LUN:
Ans: 

lun set


Please write your valuable comments, about my blogspot.

Saturday, 10 December 2011

Netapp lun to Linux Server

Controller name : Bangalore1

Controller IP : 192.168.1.5

Aggregate name: aggr1

Vol name: vol1

Lun name: /vol/vol1/newlun

Igroup name: igroup_name

Fas3070> aggr create aggr1 20
Fas3070> aggr status
Fas3070> vol create vol1 aggr1 10g
Fas3070> vol status
Fas3070> ping <windows ip address>
Fas3070> lun create -s 7g -t linux /vol/vol1/newlun
Fas3070> lun show
Fas3070> igroup create -i -t linux igroup_name iqn.1993-08.com.linux:server
Fas3070> igroup status
Fas3070> lun map /vol/vol1/newlun igroup_name
Fas3070> lun show
Fas3070> iscsi start
Fas3070> iscsi status


Will post balance soon..


Please write your valuable comments, about my blogspot.

Wednesday, 2 November 2011

SAN Topology


SAN: Storage Area Network

  • Its block level storage
  • Space created from the storage side and file system created on the server side like Windows and unix operating system.
  • After space created the name called LUN(Logical Unit Number).
  • Supporting protocols like Fibre Channel (FC), Fibre channel over Ethernet (FCoE), Internet Small Computer System Interface (iSCSI)
  • In FC protocol : we will use switch to connect Filer and Server.
  • In ISCSI protocol : we will use initiator software to connect Filer and Server. 

Two types of Lun

1.Boot Lun (C drive)
2.Application Lun (D & E drives )


Boot lun :

The server that don't have hard disk in the machine.
For installing operating system, disk will provide from storage side.
Lun means in windows we calling D,E,F drive, in In unix Slide, mount point...etc.
we need to do some configure in HBA, it may be through FC or ISCSI  to communicate server and storage.
when using FC Protocol we need to zone the server wwpn and storage wwpn for basic level.
when using Iscsi protocol we need to give storage Ip address in the server HBA  and Server Mac-Address to storage.
After restarted the server , The Bios will get Lun from the storage.


This is the storage part, beyond this process server team will take care.


Application Lun :

Application lun is nothing like in windows we saying D drive and E drive, that is called LUN.











Please write your valuable comments, about my blogspot.

Tuesday, 1 November 2011

Storage Topology

San      =          Storage Attached Network 
Nas      =          Network Attached Storage
Das      =          Direct attached storage (Disk is managed by Operating system)