




已阅读5页,还剩17页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
磁盘管理,:,6,DiskandStorageOverview,VMwarevSphereandAutomatedUptimeLayersupportavarietyofinternalandexternalstoragedevicesandfeaturesInternalSASdisks(bootordataonly)FibreChannelexternalstoragesystemslikeftScalableStorage(bootordataonly)iSCSIexternalstoragesystems(dataonly)NetworkFileSystem(NFS)shares(dataonly),2,InternalDiskManagement,InternaldiskssupportRAID-1mirroringonlyEachdiskpaircontainsasinglevolumethatusesallofthespaceoneachdiskAlwaysmirrorthedisksinoneCPU-I/OenclosurewithcorrespondingdisksintheotherenclosureAlldisksshouldbesuppliedbyStratusAlldisksshouldbeofthesamecapacityandtype,3,DeviceNames,InternaldiskshavetwotypesofnamesStatic,persistentpathnamesarebasedontheslotsthattheyoccupy(forexample,10/40/1isthediskinslot1ofI/Oelement10).Dynamickerneldevicenamesarebasedontheorderinwhichthesystemsoftwarediscoversthem,usingtheformatvmhbann0000:Cx,wherenn=theI/Oelementnumber,andxisthediscoveryorder.,4,DeviceNames(Continued),Usethe/opt/ft/bin/ftsmaintcommandtodeterminethekerneldevicenameofadiskinaparticularslot.Forexample,executethefollowingcommandtodeterminethekerneldevicenameofthediskinslot1ofI/Oelement11:#/opt/ft/bin/ftsmaintls11/40/1H/WPath:11/40/1Description:DiskDriveKernelDeviceNames:vmhba110500:C0:T0:L0,5,RAIDVolumes,UsetheesxclistoragempmcommandtocreateaRAID-1volumeonapairofdisks.Thevolumenamecanbempmn,wherenisanumberfrom0to7.Forexample,usethenamempm1tocreateamirroredvolumeonthedisksinslot2ofeachCPU-I/Oenclosure.,6,TheesxclistoragempmCommand,UsetheesxclistoragempmcommandtocreateandmanageRAID-1volumesoninternalSASharddisks.Manyesxclistoragempmcommandargumentsrequireavolumename,diskname,orboth.Forexample,toaddthediskvmhba110500:C0:T1:L0tovolumempm1,issuethefollowingcommand:#esxclistoragempmadd-vmpm1-dvmhba110500:C0:T1:L0Useesxclistoragempmlisttogetalistofallvolumesanddisksinyoursystem.,7,CAUTION:Disknamesandkerneldevicenamescanchangewheneveryourrebootyoursystemormovedisksfromslottoslot.Verifythelocationsofdisksbeforeyouoperateonthemwiththeesxclistoragempmcommand.Otherwise,youriskdataloss.,8,TheesxclistoragempmCommand(Continued),Youcanusethe-scanargumentwiththeesxclistoragempmcommand.Forexample,issuethefollowingcommandtoscanforinternaldisksthatarepartofexistingRAIDvolumesand,ifpossible,automaticallyassemblethoseRAIDvolumesintomirroredvolumes:#esxclistoragempmassemble-scanYourftServersystemexecutesthiscommandeachtimethesystembootstoautomaticallystartyourfault-tolerantvolumes.,9,TheesxclistoragempmCommand(Continued),CreatingaRAIDVolume,SelectapairofidenticaldisksandinsertthemintotwocorrespondingslotsindifferentCPU-I/Oenclosures.(Forexample,inthebottomleft-handslotsofbothenclosures,10/40/2and11/40/2).,10,Afterverifyingtheslotlocationofthepartnerdisk,usetheesxclistoragempmlistcommandtoverifythatthekerneldevicenamesforthedisksaredisplayedandthatthedisksaremarkedasunused(notpartofarunningmirroredvolume).#esxclistoragempmlistinfo-mpm0:488281664blocks(476837MB)2/2_vmhba100500:C0:T0:L0(10/40/1)in_sync_vmhba110500:C0:T0:L0(11/40/1)in_syncUnuseddisks:-vmhba100500:C0:T1:L0(10/40/2)-vmhba110500:C0:T1:L0(11/40/2),11,CreatingaRAIDVolume(Continued),ToensurethatthediskswerenotpreviouslyassignedtoaRAIDvolume,usethecommandesxclistoragempmexaminetoexaminethesuperblockofeachdisk,asdescribedintheStratusftServerSystemAdministratorsGuideforVMwarevSphere(R002E).Then,dooneofthefollowing:Ifbothdisksareblank,oryouarepreparedtooverwritethedatatheycontain,continuewithstep4.Ifyoudonotwanttoriskoverwritingdisksthatcontainvalidsuperblockinformation,removeoneorbothdisksandinsertblankdisks.Repeatsteps1-3.,12,CreatingaRAIDVolume(Continued),Tocreateamirroredvolumeonthetwodisks,executethefollowingcommand:#esxclistoragempmcreate-vvolume-disk1=disk1-disk2=disk2wherevolumeisthelogicalvolumenameforthemirroredset,anddisk1anddisk2arethekerneldevicenamesforthetwodisks.Thefollowingcommandcreatesandassembles(starts)theRAIDarray.Inthecommand,mpm1isthelogicalvolumenameforasetofdisksinphysicalslot1,andthedisknamesarethekerneldevicenames.,13,CreatingaRAIDVolume(Continued),#esxclistoragempmcreate-vmpm1-disk1=vmhba100500:C0:T1:L0-disk2=vmhba110500:C0:T1:L0,CreatingandMountingaFileSystem,YoucancreateandmountafilesystemusingvSphereClientasdescribedbelow:OpenvSphereClientandlogontotheESXihost.ClicktheConfigurationtabfortheESXihost.OntheConfigurationtab,intheHardwarebox,clickStorage.TheStoragepageappears.ClickAddStorageandusetheAddStoragewizardtocreateaVMFSdatastoreontheappropriateLocalSTRATUSDisk(mpmn)device.Formoredetails,seetheStratusftServerSystemAdministratorsGuideforVMwarevSphere(R002E).,14,ThescreencaptureshownbelowdisplaysthepropertiesofaVMFSdatastorecreatedonmirroredinternaldisks.,15,CreatingandMountingaFileSystem(Continued),RAIDVolumeStatus,UseesxclistoragempmandftsmainttocheckonthestatusofaRAIDvolume.UseesxclistoragempmlisttogetalistofRAIDvolumes,members,andanyunuseddisks.Forthestatusofthempm1volume,issuethefollowingcommand:#esxclistoragempmlist-vmpm1mpm1:71484736blocks(69809MB)2/2|resync=26.0%(18648000/71484736)finish=5.8min(150246K/s)_vmhba100500:C0:T1:L0(10/40/2)in_sync_vmhba110500:C0:T1:L0(11/40/2)in_syncVolumeresynchis26.0%completeandwillfinishin5.8minutes(orless,iffastresyncispossible).,16,RAIDVolumeStatus(Continued),Youcanalsouseftsmaintlscommandtocheckthestatusofamirroredvolume.Specifyingthepathofeitherdiskinavolumegivesoutputsimilartothefollowing:#ftsmaintls10/40/2H/WPath:10/40/2Description:DiskDriveState:ONLINEOpState:DUPLEX.DeviceName:disk_bUdevDeviceNames:-KernelDeviceNames:vmhba100500:C0:T1:L0.WhentheftsmaintoutputindicatesthattheOpStateofadiskisDUPLEX(insteadofONLINEorSIMPLEX),synchronizationiscompleteandthevolumeisfaulttolerant.,17,ConnectingRemoteDevicesviavSphereClient,CD/DVDdrivesandUSBstoragedevicesaredisabledbydefaultbecausethesubsystemthatsupportsthemisnotfaulttolerant.ConnectCD/DVDs,ISOfiles,andUSBdevicesfromaremotemanagementsystemtotheftSysManagementAppliancebyusingvSphereClient.SeeStratusAutomatedUptimeLayerforVMwarevSphere-basedftServerSystems:InstallationandConfiguration(R004E)fordetailedprocedures.Afterusingremotemedia,useumountcommands(e.g.,umount/mnt/flash)tounmountthemediaintheftSysManagementAppliancebeforedisconnectingitinvSphereClient.,18,USBStorage,WhenyouusevSphereClienttoconnectaUSBdevicetotheftSysManagementAppliance,theSCSIdriverscansitandassignsaname(forexample,/dev/sde1)Youcanusethedmesg,mkdir,andmountcommands(asshownonthenextslide)todeterminetheUSBdevicename,createadirectoryasamountpoint,andmountthedevice.,19,#dmesg|tail-20Vendor:GenericModel:STORAGEDEVICERev:1033Type:Direct-AccessANSISCSIrevision:00SCSIdevicesdb:512000512-bytehdwrsectors(262MB)sdb:WriteProtectisoffsdb:ModeSense:02000000sdb:assumingdrivecache:writethroughSCSIdevicesdb:512000512-bytehdwrsectors(262MB)sdb:WriteProtectisoffsdb:ModeSense:02000000sdb:assumingdrivecache:writethroughsdb:sdb1sd1:0:0:0:Att
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论