0% found this document useful (0 votes)
78 views2 pages

Vsphere Datacenter

The document discusses storage architecture in vSphere, including: 1) Virtual machines access storage through virtual disks stored on datastores, which can hide the physical storage layer. 2) Datastores are storage entities that store virtual machine files and can be either VMFS or NAS. 3) VMFS datastores are created by formatting disks and are automounted on all ESX/ESXi hosts, while NAS datastores must be mounted individually on each host.

Uploaded by

Abhijeet Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views2 pages

Vsphere Datacenter

The document discusses storage architecture in vSphere, including: 1) Virtual machines access storage through virtual disks stored on datastores, which can hide the physical storage layer. 2) Datastores are storage entities that store virtual machine files and can be either VMFS or NAS. 3) VMFS datastores are created by formatting disks and are automounted on all ESX/ESXi hosts, while NAS datastores must be mounted individually on each host.

Uploaded by

Abhijeet Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

vSphereAPI/SDKDocumentation>vSphereWebServicesSDKDocumentation>vSphereWebServicesSDK

ProgrammingGuide>Storage

IntroductiontoStorage
TheVMwarevSpherestoragearchitectureconsistsoflayersofabstractionthathideandmanagethecomplexityand
differencesofphysicalstoragesubsystems,showninStorageArchitecture.
StorageArchitecture

HowVirtualMachinesAccessStorage
Virtualmachinesusevirtualdisksfortheiroperatingsystem,applicationsoftware,andotherdatafiles.Avirtualdiskis
storedasaVMDKfileonadatastore.Thevirtualdiskhidesthephysicalstoragelayerfromthevirtualmachines
operatingsystem.Regardlessofthetypeofstoragedevicethatyourhostuses,thevirtualdiskalwaysappearstothe
virtualmachineasalocalSCSIdevice.Asaresult,youcanrunoperatingsystemsthatarenotcertifiedforspecific
storageequipment,suchasSAN,inthevirtualmachine.
Whenavirtualmachinecommunicateswithitsvirtualdiskstoredonadatastore,itissuesSCSIcommands.Because
datastorescanexistondifferenttypesofphysicalstorage,thesecommandsareencapsulatedintootherforms,
dependingontheprotocolthattheESX/ESXihostusestoconnecttothephysicalstoragedevice.
Totheapplicationsandguestoperatingsystemsrunningoneachvirtualmachine,thestoragesubsystemappearsasa
virtualSCSIcontrollerconnectedtooneormorevirtualSCSIdisksasshowninthetophalfofStorageArchitecture.
ThesecontrollersaretheonlytypesofSCSIcontrollersthatavirtualmachinecanseeandaccess,andincludethe
objectsthatextendVirtualSCSIController:

ParaVirtualSCSIController

VirtualBusLogicController

VirtualLsiLogicController

VirtualLsiLogicSASController

Howpreciselyavirtualmachineaccessesstoragedependsonthesetupofthehost.StorageAPIArchitecturegivesan
overviewofthedifferentpossibilities.
StorageAPIArchitecture

Datastores
Adatastoreisamanageablestorageentity,usuallyusedasarepositoryforvirtualmachinefilesincludinglogfiles,
scripts,configurationfiles,virtualdisks,andsoon.vSpheresupportstwotypesofdatastores,VMFSandNAS.

IfyouwanttouseaNASvolume,mountitusingCreateNasDatastoreandunmountitusing
RemoveDatastore.Thetwocommandsarehostspecific,youmustinvokethecreateandremovemethodson
eachhostonwhichyouwanttomountorunmountthedatastore.

TocreateaVMFSdatastore,callCreateVmfsDatastore,passinginanyexistingdisk.Asaresultofthecall,
thediskisformattedwithVMFSandthedatastoreisautomountedonallESX/ESXihostsonwhichthediskis
visiblethenexttimeyouperformarescan.WhenyoucallRemoveDatastoreonaVMFSdatastore,thedatastore
isdestroyed.Afterarescan,thedatastoreisnolongeravailabletoanyESX/ESXisystems.IncontrasttoNAS
datastores,youdonothavetoinvokeamethodsforcreationandremovalofthedatastoreoneachhost.

AnESX/ESXihostautomaticallydiscoverstheVMFSvolumeonattachedLogicalUnitNumbers(LUNs)onstartupand
afterrescanningthehostbusadapter.WhenyoucreateaVMFSdatastore,thedatastorelabelisbasedontheVMFS
volumelabel.Ifthereisaconflictwithanexistingdatastore,thelabelismadeuniquebyappendingasuffix.TheVMFS
volumelabelremainsunchanged.
DestroyingaVMFSdatastoreremovesthepartitionsthatcomposetheVMFSvolume.
Datastorescanspanmultiplephysicalstoragedevices.AsingleVMFSvolumecancontainoneormoreLUNsfroma
localSCSIdiskarrayonaphysicalhost,aFibreChannelSANdiskfarm,oriSCSISANdiskfarm.TheESX/ESXi
systemdetectsnewLUNSthatareaddedtoanyofthephysicalstoragesubsystems.Whentheuserqueriesforalist
ofavailabledevices,thenewlydiscovereddevicesareincluded.YoucanextendstoragecapacityonanexistingVMFS
volumewithoutpoweringdownphysicalhostsorstoragesubsystems.
IfanyoftheLUNswithinaVMFSvolumefailsorbecomesunavailable,onlyvirtualmachineswithdataonthatLUNare
affected.AnexceptionistheLUNthathasthefirstextentofthespannedvolume(multiextentvolume).Allothervirtual
machineswithvirtualdisksresidingonotherLUNscontinuetofunctionnormally.
Helpusimprovethisinformation.Sendfeedbacktodocfeedback@vmware.com.

You might also like