Specifications
VMware, Inc. 153
Chapter 10 Creating Virtual Machines
Mapping a SAN LUN
ForvirtualmachinesrunningonanESXServerhost,insteadofstoringvirtualmachine
datainavirtualdiskfile,youcanstorethedatadirectlyonaSANLUN.Thisisuseful
ifyouarerunningapplicationsinyourvirtualmachinesthatmustknowthephysical
characteristicsofthestorage
device.
WhenyoumapaLUNtoaVMFSvolume,VirtualCentercreatesafilethatpointstothe
rawLUN.EncapsulatingdiskinformationinafileallowsVirtualCentertolockthe
LUNsothatonlyonevirtualmachinecanwritetoit.
To map a SAN LUN
1FromtheSelectaDiskpage,selectMapped
SANLUN.
2ClickNext.
3 SelectaLUNfortherawdisk.
4ClickNext.
5 SelectadatastoreontowhichtomaptheLUN.
6ClickNext.
7 Selectacompatibilitymode,eitherphysicalorvirtual.
Physicalcompatibilitymodeallowstheguestoperatingsystemtoaccessthe
hardwaredirectly.PhysicalcompatibilityisusefulifyouareusingSAN‐aware
applicationsinthevirtualmachine.However,aLUNconfiguredforphysical
compatibilitycannotbecloned,madeintoatemplate,ormigratedifthe
migrationinvolvescopyingthedisk.
VirtualcompatibilitymodeallowsthevirtualmachinetouseVMware
snapshotsandotheradvancedfunctionality.Virtualcompatibilityallowsthe
LUNtobehaveasifitwereavirtualdisk,soyoucanusefeatureslikedisk
modes.Whenyouclonethedisk,makeatemplateoutofit,ormigrateit
(ifthe
migrationinvolvescopyingthedisk),thecontentsoftheLUNarecopiedinto
avirtualdisk(.vmdk)file.
Subsequentscreensofferdifferentoptions,dependingonyourchoice.
N
OTEThisfilehasa.vmdkextension,butthefilecontainsonlydiskinformation
describingthemappingtotheLUNontheESXServersystem.Theactualdataisstored
ontheLUN.
YoucannotdeployavirtualmachinefromatemplateandstoreitsdataonaLUN;you
canonly
storeitsdatainavirtualdiskfile.