Upload
sreenivas-reddy-g
View
217
Download
0
Embed Size (px)
Citation preview
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 1/63
Storage solutionsStorage solutions
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 2/63
17/03/15 2
TopicsTopics
FC SAN (Fiber Channel Storage Area Network)FC SAN (Fiber Channel Storage Area Network) iSCSI (Internet Small Computer System Interface)iSCSI (Internet Small Computer System Interface)
NAS (Network Attached Storage)NAS (Network Attached Storage)
VFS (Virtual achine File System)VFS (Virtual achine File System)
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 3/63
Fibre ChannelFibre Channel SAN StorageSAN Storage
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 4/63
17/03/15 4
Components of FC SANComponents of FC SAN
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 5/63
17/03/15 5
Basic concepts of storageBasic concepts of storage
Storage SystemStorage System !! "his is the hardware itself#"his is the hardware itself# which manageswhich managesdisksdisks intointo logical unitlogical units ($AI%)&s ($AI%)&
LUNLUN ! 'ogical nit Number !! 'ogical nit Number ! A part of A part of logical unit&logical unit& ne logicalne logicalunit can consist of multiple 'Nsunit can consist of multiple 'Ns (and usually does)(and usually does)
RAID, JBOD (Just a Bunch of Disks), !ot S"are, #arityRAID, JBOD (Just a Bunch of Disks), !ot S"are, #arity
S#S# ! Storage *rocessor! Storage *rocessor $$N$$N ($or%&'$i&e Name)($or%&'$i&e Name) ! +, -it number# to which we can! +, -it number# to which we canattach a labelattach a label
aricaric ! part of SAN storage#! part of SAN storage# components which are part ofcomponents which are part ofone access pathone access path (ser.erport# switch# storage port)(ser.erport# switch# storage port)
!BA!BA ! /ost -us Adapter !! /ost -us Adapter ! the card which connects a host tothe card which connects a host tothe Fiber Channel network (SAN Switch)the Fiber Channel network (SAN Switch)
A non!"A#$ %is& arc'itecture
((A parity bit is a )it t'at is a%%e% to ensure t'at t'e num)er
of )its *it' t'e +alue one in a set of )its is e+en or o%%, -arit.
)its are use% as t'e simplest form of error %etecting co%e,
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 6/63
17/03/15
Basic concepts of storageBasic concepts of storage
Storage securityStorage security ! 0hich 1S2 host! 0hich 1S2 hostshould see which 'N3should see which 'N34 SAN *oningSAN *oning ! A method# which makes it! A method# which makes it
possible to create logical groups containingpossible to create logical groups containing
00N nodes o.er the physical Fabric Channel00N nodes o.er the physical Fabric Channelnetwork5 it is applied on the FC switch le.el5 itnetwork5 it is applied on the FC switch le.el5 itis similar to V'ANs used in 1thernet networksis similar to V'ANs used in 1thernet networks
4 LUN +askingLUN +asking ! A method# which makes it! A method# which makes itpossible to 6hide7 certain 'uns from certainpossible to 6hide7 certain 'uns from certain
hosts5 usually implemented on /-A le.elhosts5 usually implemented on /-A le.el - SAN S.itch - SAN S.itch !! "he most important"he most important
component of the FC network# the /-Ascomponent of the FC network# the /-Ascan be connected to the SAN switchcan be connected to the SAN switch
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 7/63
17/03/15 7
SAN onesSAN ones
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 8/63
17/03/15
N oning as&ingN oning as&ing
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 9/63
17/03/15
oningoning
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 10/63
17/03/15 10
Storage multipat'Storage multipat'
Storage multipath is a method whichStorage multipath is a method whichis .ital in order to achi.e andis .ital in order to achi.e andmaintain high a.ailablitymaintain high a.ailablity
Acti.e8Acti.e array (rarely used)Acti.e8Acti.e array (rarely used) Acti.e8*assi.e array (fre9uently used)Acti.e8*assi.e array (fre9uently used)
"here are two types of multipathing"here are two types of multipathingpolicies in an 1S2 e.ironment:policies in an 1S2 e.ironment:4 Fi;ed ! "he 1S2 only uses theFi;ed ! "he 1S2 only uses the
preferred path# path failo.er policy willpreferred path# path failo.er policy willonly be used in case of failure&only be used in case of failure&
4 $ (ost $ecently sed) : "he path$ (ost $ecently sed) : "he pathused most recently will be used in caseused most recently will be used in caseof a failure# this is set by the 1S2of a failure# this is set by the 1S2automatically& $ound$obin !automatically& $ound$obin !1;perimental only1;perimental only
"his is automatically set by the 1S2#"his is automatically set by the 1S2#but can be changed&but can be changed&
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 11/63
17/03/15 11
A%%ressing SAN 6Ns in 8&ernel A%%ressing SAN 6Ns in 8&ernel
"he Vkernel is addressing the 'Ns and disk partitions the following way:"he Vkernel is addressing the 'Ns and disk partitions the following way:
Examples: LUN addressesExamples: LUN addresses Partition addressesPartition addresses
.mhba<:<:==.mhba<:<:== .mhba<:<:==:>.mhba<:<:==:>
.mhba=:=:=?.mhba=:=:=? .mhba=:=:=?:=.mhba=:=:=?:=
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 12/63
17/03/15 12
9:ample for a%%ressing in practice9:ample for a%%ressing in practice
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 13/63
iSCSI storageiSCSI storage
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 14/63
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 15/63
17/03/15 15
'at is iSCS#'at is iSCS#
SCSI transport protocol# creating connection toSCSI transport protocol# creating connection tostorage de.ices o.er stanard "C*8I* protocolstorage de.ices o.er stanard "C*8I* protocol
It maps SCSI block@based storage o.er "C*8I*It maps SCSI block@based storage o.er "C*8I*4 "he task itself does not differ from Fiber Storage"he task itself does not differ from Fiber Storage
connectionconnection "he Initiators# for e;ample an /-A in the 1S2#"he Initiators# for e;ample an /-A in the 1S2#
send SCSI commands towards the targets withinsend SCSI commands towards the targets withinthe iSCSI Storage Systemthe iSCSI Storage System
IP
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 16/63
17/03/15 1
T.pes of iSCS# connectionsT.pes of iSCS# connections
-ooting 1S2 ser.er from iSCSI-ooting 1S2 ser.er from iSCSI
StorageStorage
4 nly possible with hardware initiatornly possible with hardware initiator
VFS onVFS on iSCSI 'NiSCSI 'N
4 sable ust like on an FC SAN Storagesable ust like on an FC SAN Storage
VBs access to raw iSCSI 'NsVBs access to raw iSCSI 'Ns Votion ser.ice for Vs which are onVotion ser.ice for Vs which are on
iSCSI 'NsiSCSI 'Ns
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 17/63
17/03/15 17
Components of iSCS# SANComponents of iSCS# SAN
* Software implementation
IP Network
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 18/63
17/03/15 1
A%%ressing of #- SAN A%%ressing of #- SAN
iSCSI initiator name
iqn.1998-01.com.vmware:train1
iSCSI alias
train1
IP address
192.168.36.88
iSCSI target nameiqn.1992-08.com.netapp:stor1
iSCSI alias
stor1
IP address
192.168.36.101
IP Network
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 19/63
17/03/15 1
;o* iSCS# 6Ns can )e reac'e%;o* iSCS# 6Ns can )e reac'e%
iSCSI target 192.168.36.101:3260
192.168.36.101:3260
en!"ar#ets
req$est
en!"ar#etsresponse
IP Network
"wo disco.ery methods are"wo disco.ery methods are
supported:supported:
4 Static configurationStatic configuration
4 Send"argetsSend"argets
iSCSI de.iceiSCSI de.ice sends target info onsends target info on
re9uestre9uest
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 20/63
17/03/15 20
;o* iSCS# storage aut'enticates t'e 9S< Ser+er ;o* iSCS# storage aut'enticates t'e 9S< Ser+er
C/A* (Challenge@/andshake Authentication *rotocol)C/A* (Challenge@/andshake Authentication *rotocol)
sing this authentication method makes it possible to authenticatesing this authentication method makes it possible to authenticate
through the network without actually sending it&through the network without actually sending it&
CHAP password: % CHAP password: %
6og into target
=onl. re>uest?
Create ran%om 'as'/computation +alue @C
sen% +alue )ac& to 9S< Ser+er
perform local computation against using C
to come up *it' ",&Computes using
formula against using C an% sen%s
result "
'Compares local " against returne% "
#f matc' t'en 9S< Ser+er is aut'enticate%,
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 21/63
17/03/15 21
iSCS# soft*are an% 'ar%*are initiator iSCS# soft*are an% 'ar%*are initiator
1S2 Ser.er >1S2 Ser.er > pro.ides full support to software initiatorspro.ides full support to software initiators
Soft*are #nitiator ;ar%*are initiator
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 22/63
17/03/15 22
Set up net*or&ing for iSCS# soft*are initiator Set up net*or&ing for iSCS# soft*are initiator
-oth Ser.ice Console and Vernel has to be able to reach-oth Ser.ice Console and Vernel has to be able to reachthe iSCSI Storagethe iSCSI Storage
"here are two possibilities for this"here are two possibilities for this::
=&=&Ser.ice Console and Vernel port share a .irtual switch#Ser.ice Console and Vernel port share a .irtual switch#in the same subnet&in the same subnet&
?& 'ocal routing# so that Ser.ice Console and?& 'ocal routing# so that Ser.ice Console andVernel both reach the iSCSI storageVernel both reach the iSCSI storage
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 23/63
17/03/15 23
Soft*are iSCS# client 'as to )e ena)le% in t'e fire*allSoft*are iSCS# client 'as to )e ena)le% in t'e fire*all
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 24/63
17/03/15 24
Configure iSCS# soft*are a%apter Configure iSCS# soft*are a%apter
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 25/63
17/03/15 25
Configure soft*are initiatorD Eeneral propertiesConfigure soft*are initiatorD Eeneral properties
1nable iSCSI initiator1nable iSCSI initiator
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 26/63
17/03/15 2
Configure soft*are initiatorD Eeneral properties =2?Configure soft*are initiatorD Eeneral properties =2?
"he"he iSCSIiSCSI name and alias will be filled automaticallyname and alias will be filled automaticallyafter acti.ation of the initiatorafter acti.ation of the initiator
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 27/63
17/03/15 27
Configure soft*are initiatorD $.namic %isco+er.Configure soft*are initiatorD $.namic %isco+er.
the I* addressthe I* address
of all target canof all target can
be gi.en onbe gi.en on
%ynamic%ynamic%isco.ery tab%isco.ery tab
All pingingAll pinging
targets willtargets will
appear on Staticappear on Static%isco.ery tab%isco.ery tab
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 28/63
17/03/15 2
Configure soft*are initiatorD C;A- Aut'enticationConfigure soft*are initiatorD C;A- Aut'entication
C/A* isC/A* isturned off byturned off by
defaultdefault
After enablingAfter enablingit a usernameit a username
and passwordand password
can becan besuppliedsupplied
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 29/63
17/03/15 2
$isco+er iSCS# 6Ns$isco+er iSCS# 6Ns
A rescan is needed after any modification in iSCSI configurationA rescan is needed after any modification in iSCSI configuration
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 30/63
17/03/15 30
ultipat'ing *it' iSCS#ultipat'ing *it' iSCS#
Send"argets ad.ertisesSend"argets ad.ertisesmultiple routesmultiple routes4 It reports different I*It reports different I*
addressesaddressesto allow different paths toto allow different paths tothe iSCSI 'Nsthe iSCSI 'Ns
$outing done .ia I*$outing done .ia I*networknetwork
For the software initiatorFor the software initiator4 Counts as one networkCounts as one network
interfaceinterface4 NIC teaming and multipleNIC teaming and multiple
S*s allow for multipleS*s allow for multiplepathspaths
IP Network
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 31/63
17/03/15 31
anaging multiple pat'sanaging multiple pat's
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 32/63
8FS %atastore8FS %atastore
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 33/63
17/03/15 33
TopicsTopics
VFS@>VFS@> filesystemfilesystem CreatingCreating VFS partiVFS partitiontion VFS partition alignVFS partition align
VFS etadataVFS etadata VFS I%VFS I% VFS 1;tendingVFS 1;tending %istributed 'ock /andling%istributed 'ock /andling Importance ofImportance of SCSI I%# 'NSCSI I%# 'N
ssyncroniDationyncroniDation# %$ site scenario# %$ site scenario $aw %e.ice apping$aw %e.ice apping
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 34/63
17/03/15 34
'at is 8FS'at is 8FS
A filesystem optimiDed for .irtualiDation#A filesystem optimiDed for .irtualiDation#capable of clusteringcapable of clustering
In case of shared storage solution#In case of shared storage solution#
capability of SAN interruptscapability of SAN interrupts In ser.ice console 8.mfs8.olumes containsIn ser.ice console 8.mfs8.olumes contains
the VFS .olumesthe VFS .olumes4 1ach .irtual machineBs files are located in its1ach .irtual machineBs files are located in its
own subdirectoryown subdirectory Storing further filesStoring further files
4 "emplates"emplates## IS imagesIS images
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 35/63
17/03/15 35
Creating a 8FSCreating a 8FS
Choose de.ice location (iSCSI or FC 'N)Choose de.ice location (iSCSI or FC 'N)
Choose datastore nameChoose datastore name
a;imum file siDe and Capacity can be modifieda;imum file siDe and Capacity can be modified
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 36/63
17/03/15 3
Creating a 8FSCreating a 8FS
$ecommended from EI (partition align)$ecommended from EI (partition align)
Choosing the block siDe:Choosing the block siDe:
4 =- block siDe ! ?+E- ma;imum file siDe=- block siDe ! ?+E- ma;imum file siDe
4 ?- block siDe ! =?E- ma;imum file siDe?- block siDe ! =?E- ma;imum file siDe4 ,- block siDe ! =<?,E- ma;imum file siDe,- block siDe ! =<?,E- ma;imum file siDe
4 G- block siDe ! ?<,GE- ma;imum file siDeG- block siDe ! ?<,GE- ma;imum file siDe
"he siDe of the smallest files will be the"he siDe of the smallest files will be the
block siDeblock siDe
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 37/63
17/03/15 37
8FS -artiton align8FS -artiton align
isaligned partitons cause performance problems (I8)isaligned partitons cause performance problems (I8)
Formatting from VI will result in automatic alignment butFormatting from VI will result in automatic alignment but
the recommendations of the manufacturer should be takenthe recommendations of the manufacturer should be taken
into considerationinto consideration
V Euest S align (the file system of the guest S has toV Euest S align (the file system of the guest S has tobe aligned as well)be aligned as well)
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 38/63
17/03/15 3
8FS partition align8FS partition align
isaligned VFS and Euest S partitionsisaligned VFS and Euest S partitions
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 39/63
17/03/15 3
8FS partition align8FS partition align
Aligned VFS and Euest S partitionsAligned VFS and Euest S partitions
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 40/63
17/03/15 40
8FS properties8FS properties
0hat is to be found in VFS metadata0hat is to be found in VFS metadata4 -lock siDe-lock siDe4 Number of e;tentsNumber of e;tents4 Volume siDeVolume siDe
4 Version of VFSVersion of VFS4 'abel'abel4 VFS I%VFS I%
Vmfstools !* !h H'abel (e&g:Vmfstools !* !h H'abel (e&g:
.mkfstools !* !h 'NJ).mkfstools !* !h 'NJ)4 @*@* read metadataread metadata4 @h@h set unit of .olume siDeset unit of .olume siDe
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 41/63
17/03/15 41
8FS properties8FS properties
I%: ni.ersal ni9ue I%I%: ni.ersal ni9ue I% "his identifies the VFS .olume"his identifies the VFS .olume Similar to SI% (A%)# but in this case notSimilar to SI% (A%)# but in this case not
the $I% master FS creates them# butthe $I% master FS creates them# butthe 'V ('ogical Volume anager)the 'V ('ogical Volume anager)
Structure of I%: =?>abcKG@=?abc,+@Structure of I%: =?>abcKG@=?abc,+@bd=?@<<<+Kab+bf bd=?@<<<+Kab+bf 4 ==?>abcKG?>abcKG "ime of VFS creation or resigniture"ime of VFS creation or resigniture
4 =?abc,+=?abc,+ C* timestamp counter .alueC* timestamp counter .alue4 -d=?-d=? $andom number$andom number4 <<<+Kab+bf <<<+Kab+bf AC address of ser.ice console IF (whichAC address of ser.ice console IF (which
created or resignatured the I%)created or resignatured the I%)
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 42/63
17/03/15 42
$istri)ute% 6oc& ;an%ling ). 8FS!3$istri)ute% 6oc& ;an%ling ). 8FS!3
1S2= and 1S2? mount a VFS .olume1S2= and 1S2? mount a VFS .olume "he host I%s appear in the VFS heartbeat"he host I%s appear in the VFS heartbeat "he host I%s are updated regularly"he host I%s are updated regularly 1S2= locks the file# for identification the host I% is used1S2= locks the file# for identification the host I% is used In case 1S2= stops or loses connection to the .olume# the lock willIn case 1S2= stops or loses connection to the .olume# the lock will
be out of date (the %istributed 'ock anager ! %' sees that abe out of date (the %istributed 'ock anager ! %' sees that a 6dead7 host owns a file) e&g& /A failo.er 6dead7 host owns a file) e&g& /A failo.er
1S2? tries to lock the file pre.iously locked by 1S2=1S2? tries to lock the file pre.iously locked by 1S2= 1S2? looks up the host I% record of 1S2= in its VFS heartbeat1S2? looks up the host I% record of 1S2= in its VFS heartbeat If the host I% record is not updated by 1S2=# 1S2? takes o.er theIf the host I% record is not updated by 1S2=# 1S2? takes o.er the
locklock "he other hosts donBt try to lock the file agains 1S2?"he other hosts donBt try to lock the file agains 1S2? "ries to rollback the VFS file ournal"ries to rollback the VFS file ournal %' 6asks7 the ournaling module to reco.er the filesystem (if%' 6asks7 the ournaling module to reco.er the filesystem (if
necessary)necessary) "he lock is at the %' which uses the out@of@date lock"he lock is at the %' which uses the out@of@date lock "he old lock is unregistered# and 1S2? gets to lock the file"he old lock is unregistered# and 1S2? gets to lock the file
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 43/63
17/03/15 43
8FS properties8FS properties
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 44/63
17/03/15 44
9:ten% 8FS9:ten% 8FS
"he siDe of a VFS is dynamically e;tendable"he siDe of a VFS is dynamically e;tendable *ossible to add more space to a VFS*ossible to add more space to a VFS on%ineon%ine *ossible to create filesystems bigger than ? "-*ossible to create filesystems bigger than ? "-
vm(ba0:0:3:1
Before spanning After spanning
vm(ba0:0:6:1 vm(ba0:0:3:1 vm(ba0:0:6:1
Extent
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 45/63
17/03/15 45
$atastore$atastore
%atastores consist of VFS partitions%atastores consist of VFS partitions a;& >? e;tent (similar to windows)a;& >? e;tent (similar to windows) Ideal for creating big datastoresIdeal for creating big datastores Sometimes it might be necessary (the customerSometimes it might be necessary (the customer
is increasing the datastore 6slowly7)is increasing the datastore 6slowly7) If the 6master7 is lost# data from all e;tents areIf the 6master7 is lost# data from all e;tents are
also lostalso lost All 1S2 has to 6see7 all e;tents 'N# otherwiseAll 1S2 has to 6see7 all e;tents 'N# otherwise
the whole datastore 6falls apart7 the whole datastore 6falls apart7 -ecause of these the master VFS can not be on-ecause of these the master VFS can not be on
local storage because then not all V can see thelocal storage because then not all V can see thedatastore# or if it is so# all VFS has to be ondatastore# or if it is so# all VFS has to be onlocal storage# and then only one V can 6see7 itlocal storage# and then only one V can 6see7 it
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 46/63
17/03/15 4
A%%ing ne* e:tent to 8FS A%%ing ne* e:tent to 8FS
"he partiton can not be VFS to which you want to e;tend"he partiton can not be VFS to which you want to e;tend
If you choose one which contains data# the program (VI)If you choose one which contains data# the program (VI)
will notify you that the data will be lostwill notify you that the data will be lost
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 47/63
17/03/15 47
A%%ing ne* e:tent to 8FS A%%ing ne* e:tent to 8FS
If one 'N can be ma;imum ? "- of siDe# how isIf one 'N can be ma;imum ? "- of siDe# how isit possible to create a ma; +, "- file system3it possible to create a ma; +, "- file system3
Solution: e;tending: >? ; ? "- L +, "-Solution: e;tending: >? ; ? "- L +, "-
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 48/63
17/03/15 4
8FS e:tent list up%ate%8FS e:tent list up%ate%
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 49/63
17/03/15 4
SCS# #$SCS# #$
SCSI I% formats known by 1S2SCSI I% formats known by 1S24 Network Address Authority (fre9uent)Network Address Authority (fre9uent)
4 Serial Number (I- Shark)Serial Number (I- Shark)
4Symm+ (Symmetri; + and pre)Symm+ (Symmetri; + and pre)
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 50/63
17/03/15 50
#mportance of SCS# #$s#mportance of SCS# #$s
0hen a VFS@> .olume is created on a 'N# the0hen a VFS@> .olume is created on a 'N# theSCSI I% comes from the SAN storage (uni9ue)SCSI I% comes from the SAN storage (uni9ue)and is stored in the header of the 'Vand is stored in the header of the 'V
0hen an 1S2 scans the 'Ns of the storage and0hen an 1S2 scans the 'Ns of the storage and
finds a VFS@> file system# it compares the SCSIfinds a VFS@> file system# it compares the SCSII% information of the storage and the one storedI% information of the storage and the one storedin the VFS 'V metadatain the VFS 'V metadata
"his is why it does not mount a replicated 'N#"his is why it does not mount a replicated 'N#because the SCSI I% is not recogniDedbecause the SCSI I% is not recogniDed
It can not be mounted because the I% is theIt can not be mounted because the I% is thesame as the originalBs and a V can not mountsame as the originalBs and a V can not mountVFS .olumes which ha.e the same I%VFS .olumes which ha.e the same I%
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 51/63
17/03/15 51
9na)le"esignature +s, $isallo*SnapS'ot6N9na)le"esignature +s, $isallo*SnapS'ot6N
'V&1nable$esignature'V&1nable$esignature'V&%isallowSnapShot'N'V&%isallowSnapShot'N
0hen a 'N is cloned ('N= replicated to 'N?)0hen a 'N is cloned ('N= replicated to 'N?)
to another storage# the 1S2 hosts do not find theto another storage# the 1S2 hosts do not find the
cloned 'N when rescanningcloned 'N when rescanning
%isallowSnapShot'N ! 1S2 - cannot see 'N=%isallowSnapShot'N ! 1S2 - cannot see 'N=
1nable$esignature ! If 1S2 - can see 'N=1nable$esignature ! If 1S2 - can see 'N=
resignature is necessary# otherwise there will be aresignature is necessary# otherwise there will be a
conflict because of the I%conflict because of the I%"his also means that the Vs need to be"his also means that the Vs need to be
reregistered under the VI because the I% isreregistered under the VI because the I% is
also stored in the .m; filesalso stored in the .m; files
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 52/63
17/03/15 52
9na)le"esignature +s, $isallo*SnapS'ot6N9na)le"esignature +s, $isallo*SnapS'ot6N
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 53/63
17/03/15 53
"$"$
$% ! $aw %e.ice apping$% ! $aw %e.ice apping %irect link to a raw 'N on a storage%irect link to a raw 'N on a storage ItBs slightly faster the VFS (e&g& database) but itItBs slightly faster the VFS (e&g& database) but it
depends on the applicationdepends on the application
*hysical and .irtual compatibility mode*hysical and .irtual compatibility mode *hysical: the most direct access for a V*hysical: the most direct access for a V
/owe.er we lose some options like template/owe.er we lose some options like templatecreating# snapshoting (VC- backup) migrationscreating# snapshoting (VC- backup) migrationswhich cause mo.ing of disks5 these arewhich cause mo.ing of disks5 these are
prere9uisites for some ser.ices# such as icrosoftprere9uisites for some ser.ices# such as icrosoftClustering under V0areClustering under V0are Virtual: 0e ha.e the opportunity to fully useVirtual: 0e ha.e the opportunity to fully use
V0are functions (snapshot# cloning# migrating)V0are functions (snapshot# cloning# migrating)
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 54/63
NAS Storage an% NFSNAS Storage an% NFS
%atastores%atastores
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 55/63
17/03/15 55
TopicsTopics
NAS storageNAS storage
NAS components# addressingNAS components# addressing
NAS datastore configurationNAS datastore configuration
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 56/63
17/03/15 5
'at &in% of NAS is supporte% ). 9S<'at &in% of NAS is supporte% ). 9S<
"he Vkernel only supports NFS"he Vkernel only supports NFS4 Actually it is NFS.> o.er "C*Actually it is NFS.> o.er "C*
NFS .olumes are the same in FC and iSCSINFS .olumes are the same in FC and iSCSI "hey are capable of storing the Vs disks"hey are capable of storing the Vs disks
4 IS templatesIS templates4 V templatesV templates
0hen the Vs disks are on a NAS# they can be0hen the Vs disks are on a NAS# they can be 6.otion@ed7 in case: 6.otion@ed7 in case:
C* compatibilityC* compatibility All necessary network and storage are reachableAll necessary network and storage are reachable
on the target as wellon the target as well
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 57/63
17/03/15 57
'at is NAS an% NFS'at is NAS an% NFS
NASNAS4 Network Attached StorageNetwork Attached Storage
4 Storage shared o.er the network at a filesystem le.elStorage shared o.er the network at a filesystem le.el
0hy use NAS30hy use NAS3
4 A low cost# moderate@performance optionA low cost# moderate@performance option "here are two key NAS protocols"here are two key NAS protocols
4 NFS (the 6Network File System7)NFS (the 6Network File System7)
4 S- (0indows networking# also known as CIFS)S- (0indows networking# also known as CIFS)
aor NAS applicances support both NFS andaor NAS applicances support both NFS andS-S-4 Notably those from the Network Appliance and 1CNotably those from the Network Appliance and 1C
Ser.er S support bothSer.er S support both
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 58/63
17/03/15 5
NAS %e+ice
or ser+er
8olume *'ic' *e
s'are *it' 9S<
o+er t'e net*or&
9S< ser+er *it'
a p'.sical N#Cattac'e% to a
+irtual s*itc'
8&ernel port on t'e+irtual s*itc'
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 59/63
17/03/15 5
A%%ressing an% access control *it' NFS A%%ressing an% access control *it' NFS
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 60/63
17/03/15 0
Before .ou )egin using NAS/NFSBefore .ou )egin using NAS/NFS
Create a port on a .irtual switchCreate a port on a .irtual switch
A seperate I* is necessary forA seperate I* is necessary for
using NAS# different than theusing NAS# different than the
Ser.ice Console I*Ser.ice Console I*
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 61/63
17/03/15 1
Configure an NFS %atastoreConfigure an NFS %atastore
%escribe the NFS share%escribe the NFS share
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 62/63
17/03/15 2
Configure an NFS %atastore =cont,?Configure an NFS %atastore =cont,?
Verify that the NFS datastore has been addedVerify that the NFS datastore has been added
8/9/2019 134529164-Storage
http://slidepdf.com/reader/full/134529164-storage 63/63
Summar.Summar.
An NFS datastore can be used toAn NFS datastore can be used to
hold templates# IS images and thehold templates# IS images and the
files that make up a Vfiles that make up a V
1S2 Ser.er supports NFS .ersion >1S2 Ser.er supports NFS .ersion >
o.er "C*o.er "C*
A Vkernel port must be configuredA Vkernel port must be configured
in order for the Vkernel to accessin order for the Vkernel to accessthe I*@based storagethe I*@based storage