MSA1000-如何使用-console-配置阵列_第1页
MSA1000-如何使用-console-配置阵列_第2页
MSA1000-如何使用-console-配置阵列_第3页
MSA1000-如何使用-console-配置阵列_第4页
MSA1000-如何使用-console-配置阵列_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1.首先要确保在MSA1000的第一个控制器插槽按装一个控制器2.使用串口线将主机与控制器相连3.设置超级终端连接a.AccessHyperTerminal.b.OpenHyperTerminal.如果是第一次访问,将会出现一个新建对话框,如下图.SeeFigure1foranexampleoftheNewConnectiondialogbox.Fiaur1:Hvtorrmir)alNwConnccliondkiEoaboxc.输入连接名,点击OK.TheConnectTodialogboxisdisplayed.SeeFigure2foranexampleoftheConnectTodial

2、ogbox.?|卞|rinrCTrl亡如rtedtTmjMS酎QadannHonEHerdb口1$qiIhcphflrfinumba*&21旳uwaulqdaiOK匚包Rguru2;HypcrTwjninQlCorincdTodial-ogboxd.在上面的对话框里,点击ConnectUsing下拉菜单,选择正确的端口。会出现如下图所示的端口属性对话框,Figure3isanexampleoftheCOM1Propertiesdialogbox.Figure3:HyperFsnriEnalC0M1卩roparlicdialogbox|OM1fWnTbiese.在上面的对话框里,设置正确的值,如

3、下所示,点击OK.BitsperSecond:19200Databits:8Parity:NoneStopbits:1Flowcontrol:NoneTheCLIinputscreenisdisplayed.f.在出现的CLI窗口里点击回车键,会出现cli提示符,此时可以输入配置命令了下面介绍一些常用的命令创建逻辑驱动器CreatingLUNs基本命令BasiccommandADDUNIT命令参数选项CommandoptionsDATA=“DISKzzzth”enumberofanindividualdrivetoincorporateintotheLUN.Disksareidentified

4、byboxnumberandbaynumber.Forexample,DISK110identifiesdisk10inboxnumber1.DATA=“IDSKxxx-DISKyyy”arangeofdrivesistobeincorporatedintotheLUN.Disksareidentifiedbyboxnumberandbaynumber.Forexample,DISK101-DISK105identifiesdisks1through5inboxnumber1.Note:Quotationmarksmustbeenteredbothbeforeandafterthedatadi

5、skdrivesthataretobeincludedintheLUN.RAID_LEVEL=xxxtheRAIDfault-toleranceleveltouse,wherexxxrepresents:0=RAID0(nofaulttolerance)1=RAID1(mirroring)5=RAID5(distributedparity)ADG=AdvancedDataGuarding(ADG)Note:IfmorethanonepairofdrivesareincludedinaRAID1array,thedataisstripedacrossthefirsthalfofthedrives

6、inthearrayandtheneachdriveismirroredtoadriveintheremaininghalfofthedrivesforfaulttolerance.ThismethodisreferredtoasRAID1+0.STRIPE_SIZE=xxx(optional)thestripesizetoassign(inKB),wherexxxrepresents8,16,32,64,128,or256Kilobytes.RAID0usesstripesizes8,16,32,64,128,and256(Default:128KB)RAID1usesstripesizes

7、8,16,32,64,128,and256(Default:128KB)RAID5usesstripesizes8,16,32,and64(Default:16KB)RAIDADGusesstripesizes8,16,32,and64(Default:16KB)SIZE=xxxxyy(optional)howmuchoftheavailablespaceontheindicateddrivesistobeusedfortheLUN,wherexxxxrepresentstheLUNsizeandyyindicatesMBorGB.(WhenGBisentered,allreturndispl

8、ayswillbeconvertedtoMB.)Ifnosizeisspecified,themaximumavailablespaceoftheincludeddiskswillbeassignedtotheunit.See“CreatingMultipleLUNsonaGroupofDrives”foranexampleofusingtheSizecommandoption.SPARE=DISKxxx(optional)disk(s)toassignasasparetotheunit,wherexxxrepresentsthedisknumber.Morethanonediskcanbea

9、ssignedasasparetoaLUN.MAXBOOT=ENABLE/DISABLE(optional)changesthesizeofthebootpartition.Enable=8-GBbootpartition(default)Disable=4-GBbootpartitionCACHE=ENABLE/DISABLE(optional)determineswhethertousethearraycontrollercachefortheLUN.Enable=(default)usethearraycontrollercacheDisable=notusethearraycontro

10、llercacheCreatingasingleLUNfromagroupofdrivesTocreateoneLUNfromanindividualdriveorgroupofdrives:ExamplecommandCLIADDUNIT0DATA=”DISK101-DISK107DISK110”RAID_LEVEL=ADGSTRIPE_SIZE=64Note:Maintainarecordoftheunitsastheyarecreated.TheseUnitIDnumbersareusedinotherCLIcommands.Inadditiontorecordingtheunitnum

11、ber,thedrivesincluded,RAIDtypeandsize,recordtheorderinwhichtheyarecreated.Commandoptions0LUN0istobecreated.DATA=”DISK101-DISK107DISK110”drives1through7anddisk10inboxnumber1aretoincorporatedintotheLUN.RAID_LEVEL=ADGRAIDlevelADGwillbeusedwhencreatingLUN0.STRIPE_SIZE=64stripesizeof64willbeusedwhencreat

12、ingLUN0.ExampleCLIresponseFirstvolumetobeconfiguredonthesedrives.LogicalUnitsize=69460MBRAIDoverhead=0MBTotalspaceoccupiedbynewunit=69460MBFreespaceleftonthisvolume=0MBUnit0iscreatedsuccessfully.创建多个逻辑驱动器CreatingMultipleLUNsonagroupofdrivesTocarveoutmultipleLUNsfromadriveorgroupofdrives,usetheADDUNI

13、TcommandandincludetheSIZE=commandoption.RepeatthecommandusingauniqueLUNIDforeachLUN,alongwiththedesiredsizeparameter.ExamplecommandCLIADDUNIT1DATA=”DISK11-D1ISK114”RAID_LEVEL=5STRIPE_SIZE=32SIZE=1000MBNote:Maintainarecordoftheunitsastheyarecreated.TheseUnitIDnumbersareusedinotherCLIcommands.Inadditi

14、ontorecordingtheunitnumber,thedrivesincluded,RAIDtypeandsize,andrecordtheorderinwhichtheyarecreated.Commandoptions1LUN1istobecreated.DATA=”DISK11-1DISK114”drives11through14inboxnumber1totheLUN.RAID_LEVEL=5RAID5willbeusedwhencreatingtheLUN.STRIPE_SIZE=32stripesizeof32willbeusedwhencreatingtheLUN.SIZE

15、=1000MB1000MBoftheavailablespacewillbeusedfortheLUN.ExampleCLIresponseThefollowingdisplayisacontinuationofthepreviousexample,creatingthreeLUNsonthesamegroupofphysicaldrives.CLIADDUNIT1DATA=”DISK11-1DISK114”RAID_LEVEL=5STRIPE_SIZE=32SIZE=1000MBFirstvolumetobeconfiguredonthesedrives.Thelogicalunitsize

16、hasbeenadjustedby4MBforoptimalperformance.LogicalUnitsize=996MBRAIDoverhead=498MBTotalspaceoccupiedbynewunit=1494MBFreespaceleftonthisvolume=24533MBUnit1iscreatedsuccessfully.CLIADDUNIT2DATA=”DISK11-1DISK114”RAID_LEVEL=5STRIPE_SIZE=32SIZE=2000MBLogicalUnitsize=2000MBRAIDoverhead=1000MBTotalspaceoccu

17、piedbynewunit=3000MBFreespaceleftonthisvolume=21533MBUnit2iscreatedsuccessfully.CLIADDUNIT3DATA=”DISK11-1DISK114”RAID_LEVEL=5STRIPE_SIZE=16SIZE=4000MBLogicalUnitsize=4000MBRAIDoverhead=2000MBTotalspaceoccupiedbynewunit=6000MBFreespaceleftonthisvolume=15533MBUnit3iscreatedsuccessfully.创建带指定spare的逻辑驱动

18、器CreatingaLUNwithanassignedspareTocreateaLUNandassignaspareatthesametime,usetheADDUNITcommandandincludetheSPARE=commandoption.Note:MorethanonesparecanbeassignedtothesameLUNandthesamesparecanbeavailabletomultipleLUNs.ExamplecommandCLIADDUNIT4DATA=”DISK21-1DISK212”RAID_LEVEL=1SPARE=”DISK213”Note:Maint

19、ainarecordoftheunitsastheyarecreated.TheseUnitIDnumbersareusedinotherCLIcommands.Inadditiontorecordingtheunitnumber,thedrivesincluded,RAIDtypeandsize,andrecordtheorderinwhichtheyarecreated.Commandoptions4LUN4istobecreated.DATA=”DISK21-1DISK212”drives11through12inboxnumber2aretobeincorporatedintotheL

20、UN.RAID_LEVEL=1RAID1willbeusedwhencreatingtheLUN.SPARE=”DISK213”thedriveinbay13ofbox2willbeassignedasasparedrivetotheLUN.Note:QuotationmarksmustbeenteredbothbeforeandafterthediskdrivethatistobedesignatedasasparefortheLUN.ExampleCLIresponseFirstvolumetobeconfiguredonthesedrives.LogicalUnitsize=69460M

21、BRAIDoverhead=69460MBTotalspaceoccupiedbynewunit=138920MBFreespaceleftonthisvolume=0MBUnit4iscreatedsuccessfully.给逻辑驱动器指定名字或ID-AssigninganameorIDtoaLUNIfdesired(orrequiredbyyouroperatingsystem),eachLUNcanbeassignedauniquenameorIDinadditiontoitsnumber.Theseuser-definednamesmakeiteasiertoidentifyspeci

22、ficLUNsinotherconfigurationprocedures.Note:OpenVMSsystemsrequireeachLUNtohaveauniqueID.NotwodevicesintheentireSANforthisOpenVMSsystemmayshareIDnumbers.LUNsindifferentstoragesystemsmusthavedifferentIDs.BasiccommandSETUNIT_IDExamplecommandCLISETUNIT_ID0ABCCommandoptions0LUN0isbeingassignedaname.ABCist

23、henametoassigntoLUN0.ThenameofthisLUNwillbeABC.ExampleCLIresponseIdentifier“ABC”createdforunit0添加一个SPARE盘-AddingasparetoaLUNToaddasparetoanexistingLUN:BasiccommandADDSPAREExamplecommandCLIADDSPAREUNIT=2DISK109CommandoptionsUNIT=2theunittoassignthespareto.Thisisthesamenumberthatwasgiventotheunitwheni

24、twascreatedwiththeADDUNITcommand.Inthisexample,LUN2willhaveuseofthespare.DISK109indicatesthedrivestoassignasthesparetotheLUN.Disksareidentifiedbyboxnumberandbaynumber.Inthisexample,drive9inboxnumber1istobeused.ExampleCLIresponseFirstvolumetobeconfiguredonthesedrives.LogicalUnitsize=69460MBRAIDoverhe

25、ad=69460MBTotalspaceoccupiedbynewunit=138920MBUnit2iscreatedsuccessfully.删除一个逻辑驱动器-DeletingLUNsTodeletethelastcreatedLUN:Note:IfmorethanoneLUNhasbeencreated,onlythelastLUNcreatedcanbedeleted.Itisimportanttomaintainarecordoftheunitnumbersandtheorderinwhichtheyarecreated.Note:AfteraLUNisdeleted,itsuni

26、tnumbergoesunuseduntilmanuallyassignedtoanewLUN.UnitnumbersarenotautomaticallyreassignedwhenaLUNisdeleted.BasiccommandDELETEUNITExamplecommandCLIDELETEUNIT4Commandoptions4theunittodelete.ThisisthesamenumberthatwasgiventotheunitwhenitwascreatedwiththeADDUNITcommand.Inthisexample,LUN4istobedeleted.Exa

27、mpleCLIresponseDatawillbelostaftertheunitisdeleted.DoyoustillwanttoDELETEunit4(Y/N)?Yleasewaitwhileunit4isbeingdeletedUnit4isdeletedsuccessfully.删除sparesToremoveasparefromuse:BasiccommandDELETESPAREExamplecommandCLIDELETESPAREUNIT=2DISK109CommandoptionsUNIT2theunitthatwillnolongerhaveaccesstothespar

28、e.ThisisthesamenumberthatwasgiventotheunitwhenitwascreatedwiththeADDUNITcommand.Inthisexample,LUN2willnolongerhaveaccesstothespare.DISK109thesparedrivetoremovefromuse.Disksareidentifiedbyboxnumberandbaynumber.Inthisexample,drive1inboxnumber9willnolongerbeusedasaspareforLUN2.更改失败的逻辑驱动器的状态-Recognizing

29、afailedunitIfalldrivesofapreviouslyfailedunitareinworkingorder,usethiscommandtochangethestateoftheunitbacktoVOLUME_OK.Toacceptmediaexchangeonaunitmarkedasfailed:BasiccommandACCEPTUNITACCEPTUNITSExamplecommandCLIACCEPTUNIT2Commandoptions#theunitthatyouwanttoactivate,where#representstheunitnumber.Ifau

30、nitnumberisnotspecified,allunitswillbereset.修改逻辑驱动器-ModifyingarraysandLUNsOccasionally,afteranarrayoraLUNhasbeencreated,itscharacteristicsneedtobechanged.Thefollowingchangescanbemade:AddingdrivestoanarrayAddingspacetoaLUNChangingtheRAIDcharacteristicsofaLUNChangingattributesofaLUNEachtaskisdiscussed

31、inthefollowingparagraphs.AddingdrivestoanarrayToaddadditionalphysicaldrivestoanarray:Note:Becausethiscommandaffectstheentirearray,allLUNsmadefromthearrayarealsoaffected.BasiccommandEXPANDUNITExamplecommandCLIEXPANDUNIT4DISK204-DISK207Commandoptions4oneoftheLUNwithinthetargetarray.Note:AnyLUNinthearr

32、aycanbeenteredtoidentifythearray;thespaceisaddedtothearrayandnottheLUN.DISK204-DISK207thephysicaldiskstoaddtothearray.Disksareidentifiedbyboxnumberandbaynumber.Inthisexample,DISK204-DISK207identifiesdisks4through7inboxnumber2.ExampleCLIresponseTheactualnewarraycapacitywillbe3000MB.ThearraywithUnit4i

33、sbeingexpanded.Use“showunit4”tomonitorprogress.给逻辑驱动器添加SPARE-AddingspacetoaLUNToaddunused,availablespaceinanarraytoaspecificLUN:BasiccommandEXTENDUNITExamplecommandCLIEXTENDUNIT2ADD_SIZE=1000MBCommandoptions2theLUNtowhichthespacewillbeadded.Inthisexample,LUN2isbeingextended.ADD_SIZE=1000MBhowmuchoft

34、heavailablespaceinthearraytoaddtotheLUN.Inthisexample,1000MBofspacewillbeadded.ThesizelimitmustbespecifiedasGB,MB,orKB.Ifnosizeisspecified,themaximumavailablespaceoftheincludeddiskswillbeassignedtothearray.NEW_SIZE=xxxxyycanbeusedinsteadofADD_SIZEtoenterthetotalnewsizeoftheLUN,wherexxxxrepresentsthe

35、sizeandyyindicatesGB,MB,orKB.ExampleCLIresponseTheactualnewvolumesizewillbe1992MB.Unit2isbeingextended.Use“showunit2”tomonitorprogress.改变逻辑驱动器的参数-ChangingattributesofaLUNToenableordisablethearrayacceleratorcacheforaspecificLUN:BasiccommandSETUNITExamplecommandCLISETUNIT0CACHE=DISABLECommandoptionsUN

36、IT0thenumberoftheLUNtomodify.Inthisexample,LUN0willbemodified.CACHE=ENABLEorDISABLEeitherenablesordisablestheuseofthearrayacceleratorcacheforthespecifiedLUN.ExampleCLIresponseCLISETUNIT0CACHE=ENABLECacheforunit0hasbeenenabled.CLISETUNIT1CACHE=DISABLECacheforunit1hasbeendisabled.使盘柜与服务器相连-Serverconne

37、ctioncommandsEachtimetheMSAispoweredon,allactiveHBAconnectionstotheMSAareautomaticallydetectedandidentifiedbytheirWWPN.BeforeaserveraccessesthestorageoftheMSA,youmustidentifytheoperatingsystem(hostmode)ofeachconnection.HPalsorecommendsassigningauser-definednametoeachconnection,tomaketheidentificatio

38、nandsetupofeachconnectioneasier.Afterconnectionsareestablished,besuretorestrictaccesstotheLUNstospecificservers.TheCLIusesanAccessControlList(ACL)toenterthelistofLUNsaservercanaccess.Seethefollowingsection“Accesscontrollistcommands”formoreinformationaboutSSPandACLs.Eachofthefollowingcommandsisusedto

39、enterandmanagetheconnections:NamingaconnectionSettingtheconnectionprofileChangingthenameofaconnectionChangingtheHBAofaconnectionDeletingaconnectionnameNote:UsetheSHOWCONNECTIONScommandtodisplayinformationabouteachHBAconnectedtotheMSA,includingconnectionname,WWPN,andprofile.TheconnectionnameandtheWWP

40、Nareusedwhenenteringconnectioninformation.See“Viewingconnectioninformation”onpage30fordetails.给连接命名-NamingaconnectionThiscommandisusedtonametheassociationbetweentheFibreChannelInitiator(HBAintheserver)andtheMSA,whileatthesametimeidentifyingtheoperatingsystem(connectionprofile)oftheserver.Thenamegive

41、ntoaconnectionisuserdefined,accordingtoanamingconventionthatmakesidentificationandsetupoftheACLforeachconnectioneasier.Note:IftheserverisnotyetconnectedtotheMSA,butWWPNoftheHBAisknown,youcanusethiscommandtomanuallyadd,name,andidentifytheconnection.BasiccommandADDCONNECTIONExamplecommandCLIADDCONNECT

42、IONABCWWPN=12345678-12345678PROFILE=WINDOWSCommandoptionsABCtheuser-definednametogivetheconnection.WWPN=12345678-12345678theWWPNoftheactiveHBAinsidetheserverattachedtotheMSA.TheshowconnectionscommandcanbeusedtoobtaintheWWPN.WWNNtheWWNNoftheactiveHBAinsidetheserverattachedtotheMSA.Theshowconnectionsc

43、ommandcanbeusedtoobtaintheWWNN.PROFILE=WINDOWStheplatformofthehost.Ifaprofileisnotspecified,thedefaultprofileisused.Profileoptionsinclude:Windows(default)OpenVMSTru64LinuxSolarisNetwareHPOFFSET=X(default:0)theunitoffsetforassigninglogicalvolumes.ExampleCLIresponseConnectionhasbeenaddedsuccessfully.P

44、rofileWindowsissetforthenewconnection.设置连接的系统平台-SettingtheconnectionprofileTochangetheoperating-systemprofileassociatedwithanexistingconnection:Note:TheconnectionprofileissometimesreferredtoastheHostMode.BasiccommandSETCONNECTIONXPROFILE=YExamplecommandCLISETCONNECTIONABCPROFILE=WINDOWSCommandoptionsABCthenameoftheconnectiontomodify,inthisexampleABC.WWPN=12345678-12345678theWWPNoftheconnectiontomodify,usingtheWWPNoftheHBA.The“showconnections”canbeusedtoobtnaitheWWPN.WWNN=12345678-12345678theWWNNoft

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论