ImageVerifierCode 换一换
格式:DOCX , 页数:85 ,大小:197.07KB ,
资源ID:493049      下载积分:5 金币
已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  
下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Net 装机维护 DataONTAPvAdministrationTool12Command.docx)为本站会员(peixunshi0)主动上传,三一文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一文库(发送邮件至doc331@126.com或直接QQ联系客服),我们立即给予删除!

Net 装机维护 DataONTAPvAdministrationTool12Command.docx

1、NetAppx1.2DataONTAP-vAdministrationToolCommandReferenceoo)c 7co* olo Oc”传 01温 0010 10NetApp, Inc.495 East Java Drive Sunnyvale, CA 94089 U.S.Part number: 215-08017_A0May 2013Telephone:+1(408)822-60Fax:+1(408)822-4501Supporttelephone:+1(888)463-8277Web:Feedback:doccommenisTableofContents3ContentsUsin

2、gtheDataONTAP-vadministrationtool5Availablecommandsandcommandcategories5Command-lineinterfaceusage7Viewingcommandhistory7Usingthecommand-lineeditor7Gettinghelponcommands8Accessingcommandhierarchylevels9Executingmultiplecommandsfromafile11Command-lineerrorfunctionality12DataONTAP-vadministrationtoolc

3、ommands14exit14help15history16host16hostshow17networkshow19pdiskshow20poolcreate21pooldestroy22poolshow23source24sshsetup25sshstatus26status27supportshow28up29vmconfigbackup30vmconfigremove31vmconfigrestore32vmconfigshow33vmconsoleconnect34vmconsoledisconnect36vmconsolelogclear37vmconsolelogshow38vm

4、coredump39vmcreate40vmdestroy43vmdiskcreate44vmdiskdestroy45vmdiskshow46vmheadswap48vmlogsave49vmlogshow50vmmonitorlogclear51vmmonitorlogshow52vmmonitorshow54vmmonitorstart55vmmonitorstop56vmnetworkconnect57vmnetworkshow58vmpropset/unset59vmpropshow63vmrestart64vmsavecore66vmserialshow67vmsetup68vms

5、how69vmstart71vmstateshow72vmstop73vmuuidshow75DataONTAP-vadministrationtoolerrorreturncodes76Errorcodelist76Copyrightinformation80Trademarkinformation81Howtosendyourcomments82Index83USingtheDataONTAPvadministrationtoolTheDataONTAP-vadministrationtool(dvadmin)providescommandsforinstallingandmanaging

6、DataONTAP-v-basedstoragesystems,suchastheDataONTAPEdgefamilyofstoragesolutions.Thismanualprovidesadetaileddescriptionofallthedvadmincommands.Secthefollowingmanualsforinformationaboutproductinstallationandusageinstoragesystemenvironments:DataONTAP-vAdministrationToolInstallationGuide-Describeshowtoin

7、stalltheDataONTAP-vInstallervirtualmachine.Thisvirtualmachinecontainsthedvadminsoftwareinaneasy-to-installpackagedvirtualmachine.DataONTAPEdgeInstallationandAdministrationGuide-DescribeshowtoinstallandmanageDataONTAPEdgestoragesystemsusingdvadmin.AvailablecommandsandcommandcategoriesTheCLIcommandsar

8、eusedtoperformanactiononaDataONTAPEdgesystemoronthehostserver.SeeDataONTAP-vadministrationtoolcommandsonpage14forcompletedetailsonthesecommands.Thistableliststheavailablecommandcategoriesandprovidesabriefdescriptionoftheirfunctionalities:CommandDescriptionexitExitthedvadminsessionhelpShowpossiblecom

9、mandsandusagedetailshistoryShowcommandhistoryhostConnectdvadmintoaspecificESXhostnetworkDisplaynetworksavailabletotheserverpdiskDisplayphysicaldisksavailabletotheserverpoolCreate,destroy,andshowse,erstoragepoolssourceExecutedvadmincommandsfromafilesshDisplay,orenable,SSHconnectivitytotheESXhostforco

10、refilecreationstatusDisplaydvadminstatusinformationCommandDescriptionsupportDisplaydetailedinformationaboutthehostservernetworks,disks,andvirtualmachinesUPGouponelevelwheninacommandshellvmconfigCreateabackupofDataONTAPEdgeconfigurationinformation,restoreabackup,showavailablebackups,andremoveoldbacku

11、psvmconsoleConnecttotheDataONTPsystemconsole,disconnect,andshowtheconsolelogvmcoredumpForcesacoredumpfortheDataONTAPEdgestoragesystemvmcreateCreateorinstalltheDataONTAPEdgesystemvmdestroyDeletetheDataONTAPEdgesystemvmdiskCreate,destroy,andshowDataONTAPEdgevirtualdatadisksvmheadswapReassigndatadisksf

12、romoneDataONTAP-vvirtualmachinetoanotherforaheadswapprocedure.vmlogShowandsavetheDataONTAP-vvirtualmachinesystemlogvmmonitorStartandstoptheDataONTAP-vvirtualmachinemonitor,showthemonitorstatus,andshowthemonitorlogvmnetworkDisplayDataONTAP-vvirtualmachinenetworks,andconnectaDataONTAPEdgenetworkadapte

13、rtoanetworkvmpropSet,change,andshowDataONTAPEdgeconfigurationpropertiesvmrestartRestartarunningDataONTAPEdgesystemvmsavecoreExtractthecontentsofanunsavedcoredumpandsaveittoacoredumpfilevmserialDisplayDataONTAP-vvirtualmachineserialportsvmsetupStarttheVMsetupwizardtocreateaDataONTAPEdgestoragesystemv

14、mshowDisplayDataONTAPEdgeconfigurationdetailsvmstartStartastoppedDataONTAPEdgesystemvmstateDisplaytheDataONTAPEdgeconfigurationstatevmstopStoparunningDataONTAPEdgesystemvmuuidDisplaytheDataONTAP-vvirtualmachineUUIDCommand-lineinterfaceusageTheDataONTAP-vadministrationtoolprovidesseveralfeaturestoass

15、istyouwhenenteringcommandsonthecommandline.Whenenteringcommands,beawareofthefollowinggeneralrules:Ifyouareenteringacommandwithanelementthatincludesaspace,youmustquotethatelement.Forexample,poolcreatemainpool1disk_abc Specialcharactersandnon-Englishcharactersarenotsupported. Donotusea#characterinthec

16、ommandstring.The#charactermeansthattherestofthelineiscommentedout,sodvadminwillignoreanyinformationfollowingthe#. Usetheexitcommandtoexitthedvadmininterfaceanddisconnectfromthehostserver.(NotethatthisdoesnotaffecttheoperationalstateoftheDataONTAP-vvirtualmachine.)ViewingcommandhistoryThehistoryfeatu

17、reenablesyoutoviewrecentlyenteredcommands.Step .Dooneofthefollowing:Then.Press the Up arrow key or press Ctrl-P.Press the Down arrow key or press Ctrl-N.Enter the history command.Ifyouwantto.ScrollbackwardthroughcommandsScrollforwardthroughCOtnmands1.istthecompletehistoryofenteredcommandsUsingthecom

18、mand-lineeditorThecommand-lineeditorenablesyoutopositionthecursoranywhereinapartiallytypedcommandandinsertcharactersatthecursorposition.Step1.Usetheapplicablekeycombinationtomovethecursorwithinthesamelineandeditthecommand:Ifyouwantto.Thenpress.MovethecursorrightonepositionCtrl-fortheRightarrowkeyIfy

19、ouwantto.Thenpress.MovethecursorleftonepositionCtrl-bortheLeftarrowkeyMovethecursortotheendofthelineCtrl-eMovethecursortothebeginningofthelineCtrl-aDeleteallcharactersfromthecursortotheendofthelineCtrl-kDeletethecharactertotheleftofthecursorandmovethecursorleftoneCtrl-hpositionDeletethelineCtrl-uDel

20、eteawordCtrl-wReprintthelineCtrl-rAbortthecurrentcommandCtrl-cGettinghelponcommandsYoucanusethehelpcommandtodisplaythelistofavailablecommands,orthecommandsyntaxforaparticularcommand.AboutthistaskThefontsandsymbolsusedinthehelpsyntaxareasfollows:,keywordspecifiesthenameofacommandoranoptionthatmustbee

21、nteredasshown. (lessthan,greaterthansymbols)specifythatyoumustreplacethevariableidentifiedinsidethesymbolswithavalue. I(pipe)indicatesyoumustchooseoneoftheelementsoneithersideofthepipe. (brackets)indicatethattheelementinsidethebracketsisoptional. (braces)indicatethattheelementinsidethebracesisrequir

22、ed.Step1. Forcommandhelp,enterhelpcommandcommandisthenameofacommandonwhichyouwanthelp.Ifyoudonotspecifyacommand,helpdisplaysalistofallDataONTAP-vadministrationtoolcommandsavailablefromthecurrentlocation.ExamplehelpcommandoutputThefollowingexampleshowsthecommandsyntaxandabriefdescriptionforthepoolcre

23、atecommand. helppoolcreatepoolcreateCreateaVMFSstoragepoolThefollowingexampleshowsthecommandsyntaxforthevmdiskcreatecommand. helpvmdiskcreatevmdiskcreatesizeCreatevirtualmachinediskAccessingcommandhierarchylevelsdvadminprovidestheabilitytoenterlevels(orshells)withinthecommandhierarchytoassistwhenent

24、eringcommandsonthecommandline.AboutthistaskThisisusefulwhenyouintendtoentermanycommandsataparticularlevel.Forexample,ifyouplanonissuingmanycommandsforaparticularDataONTAPEdgesystem,youcanenterthe,vm,commandlevelsothatyoudonotneedtoentertheDataONTAPEdgesystemnameforeachcommand.Steps1. Toenterthecomma

25、ndhierarchylevelforaparticularDataONTAPEdgesystem,entervmvm_nameThepromptchangestothenameofthespecifiedDataONTAP-vvirtualmachine.2. Toexitthecommandhierarchyandreturntothelevelthatisonelevelabovethat,entertheupcommand.ExamplesofusinghierarchylevelsThefollowingexampleshowshowtoenterthehostcommandhier

26、archylevel.dvadminThefollowingexampleshowshowtoenterthevmcommandhierarchylevelfortheDataONTAPEdgesystemnamedndotv,.config backup remove restore showconsoleconnect disconnectsession logclear showcoredump create destroy diskcreate destroy showexit headswap help history logsave showmonitor logclear sho

27、wshow start stop network connect showprop set show unset restartdvadminvmdotvldvadminvmdotvlAfterthispoint,everycommandyouissueisaddressedtothespecificDataONTAPEdgesystem.Forexample,ifyouwanttoshowallthevirtualdisksonthisstoragesystem,enterdiskshow.Ifyouwereatthemainpromptyouwouldneedtoentervdisksho

28、wdotvl.ThefollowingexampleshowstheoutputofthehelpcommandonlywhenattheDataONTAP-vlevel.dvadminvmdotvlhelpManipulateaVM,sDataONTAPconfigurationBackuptheVM,sDataONTAPconfigurationRemovethenamedbackupconfigurationRestoretheVM,sDataONTAPconfigurationDisplaybackedupDataONTAPconfigurationsInteractwiththeDa

29、taONTAP-vsystemconsoleConnecttotheDataONTAP-vsystemconsoleDisconnectanotherDataONTAP-vconsoleManipulateDataONTAP-vconsolelogfile(s)ClearcurrentconsolelogandrotateoldlogsPrinttheDataONTAP-vsystemconsolelogCausethevirtualmachinetodumpcoreCreateDataONTAP-vvirtualmachine.DeletevirtualmachineManipulatevi

30、rtualmachinedisksCreatevirtualmachinediskDestroyvirtualmachinediskDisplayvirtualmachinedisksExitinterpreterReassignconfigurationfromoneVMtoanotherShowpossiblecommandsandusagedetailsShowcommandhistoryAccessDataONTAP-vsystemlogfileSavetheDataONTAP-vsystemlogtoafilePrinttheDataONTAP-vsystemlogControlvi

31、rtualmachinemonitormonitorsManipulateVMmonitorlogsClearcurrentmonitorlogandrotateoldlogsDisplaythelogforaVMmonitorShowinformationaboutVMmonitor(s)StartaVMmonitorStopaVMmonitorVirtualmachinenetworkcommand(s)ConnectvirtualmachinenetworkinterfaceDisplayvirtualmachinenetworkinterfacesManipulatevirtualma

32、chinepropertiesSetvirtualmachineproperties.DisplayvirtualmachinepropertiesUnsetvirtualmachinepropertiesRestartarunningvirtualmachinesavecore serialshow setup show source start stateshow status stop UP UUidshowSavethevirtualmachinecorefileManipulatevirtualmachineserialportsDisplayvirtualmachineserial

33、portsStarttheVMsetupwizardDisplayvirtualmachinedetailsExecutecommandsfromafileStartrunningavirtualmachineVirtualmachinestatecommand(s)DisplayvirtualmachinestateDisplaydvadminstatusinfoStoparunningvirtualmachineGouponelevelManageVMUUIDDisplayVMUUIDExecutingmultiplecommandsfromafileYoucanexecutemultip

34、ledvadmincommandsfromafileusingthesourcecommand.Thisenablesyoutoperformbatch-typeoperationsformulti-stepfunctionsthatyourunfrequently.AboutthistaskThesourcecommandwillreadandexecutecommands(oneperline)fromthespecifiedfileandthenreturntothecommandprompt.Ifanerroroccursduringexecutionofanyofthecommand

35、s,dvadminwillexitatthatpointandreturnaspecificerror.Notethatdvadminignoreslinesthatstartwithandthatyouneedtoputquotationmarksaroundanypropertiesthatincludespaces.Youcanusethe-kor-keep-goingoptiontocontinueexecutingallcommandswithinafileevenifanerrorisencountered.Inthiscase,thecommandreturnstheCmdFai

36、lederrorcode(15)toinformyouthatoneormoreerrorswereencounteredduringthecommandexecution.Youcanredirecttheoutputofthiscommandtoafiletocapturetheindividualerrorsthatoccurredduringexecution.Steps1. Createafilethatcontainsthecommandsyouwanttoexecute.Forexample,thefilestartsystem.txtcontainsthefollowingco

37、mmands:#thisscriptwillsetONTAPpropertiesandstarttheDataONTAP-vVM年addsomeDataONTAPpropertiesvm prop set vm prop set vm prop set vm prop set vm prop setdotvltmz=America/New_Yorkdotvldns_domainname=dotvldns_ipaddr=10.97.0.llz10.97.0.15#start the VM monitordotvlnis_domainname=dotvlnis2ipaddr=17.19.4.20,

38、17.19.3.11vmmonitorstartdotvlfstarttheDataONTAP-vVMvmstartdotvl2. Atthedvadminprompt,enterthefollowingcommand:sourceStartsystern.txtThecommandsareexecutedinthespecifiedordertocreateandstarttheDataONTAPEdgesystem.ExampleoutputfromrunningthesourcecommandThefollowingcommandconfiguresandstartsvirtualmac

39、hinedotv,:sourcestartsystem.txtSettmz=America/New_YorkSetdns-domainname=Setdns二ipaddr=10.97.0.11,10.97.0.15Setnis_domainname=Setnis_ipaddr=17.19.4.20,17.19.3.11VmmonitorfordotvlisrunningstartVMdotvlCommand-lineerrorfunctionalityAlldvadmincommandsreturnoneormoregenericerrorsifconditionswarrant.Additi

40、onally,somecommandscanalsoreturncommand-specificerrorinformation.dvadmin,orthecommanditselfreturnsoneofthegenericerrorcodesspecifiedbelow:InternaIErr-ifthecommandencounteredaninternaldvadminerror.InternalerrorsshouldbereportedtoNetApp.CmdNotFound-ifthespecifiedcommandwasnotfoundCmdFaiIed-ifanerroris

41、encounteredwhenattemptingtoexecutethecommandUsageErr-ifrequiredcommandargument(s)werenotspecified,oriftoomanyargumentswerespecifiedInvaIidArg-ifaspecifiedargumentwasinvalid,TaskInProgressErr-iftheESXserveriscurrentlybusywithanothertaskAlongwiththeerrorcode,itdisplaysamessagethatprovidesmoredetailoft

42、heactualcauseforfailure.SeeDataONTAP-vadministrationtoolerrorcodesonpage76forthefulllistofgenericandspecificerrorsthatcanbereturned.ErrorcodeexampleIfyouenterthenameoftheDataONTAPEdgesystemincorrectly,youwillreceivethestandardInvaIidArgerrorplusadditionalinformationaboutwhichargumentisinvalid,asshow

43、nbelow:vmdiskshowdotv13InvalidArg:invalid-noVMnamed,dotv,usage:vmdiskshow_DisplayvirtualmachinedisksDataONTAP-vadministrationtoolcommandsTheavailabledvadmincommandsarclistedalphabeticallyinthischapter.Errorsthatcanbereturnedfromeachcommandarelistedwiththecommand.SeeDataONTAP-vadministrationtoolerror

44、returncodesonpage76formoredetails.exitTheexitcommandterminatesthedvadminsessionanddisconnectsfromthehostserver.SyntaxexitDescriptionTheexitcommandexitsthedvadmininterfaceanddisconnectsfromthehostserver.TerminatingdvadmindoesnotaffecttheoperationalstateoftheDataONTAP-vvirtualmachine,nordoesitaffectru

45、nningdvadminmonitors.ParametersNoneReturnederrorsNoneExample:ExitingtheDataONTAP-vadministrationsessionThefollowingexampleexitsdvadminandreturnstothehostserverprompt:dvadminexit1.oggingoutAdministratorQDoyouwanttousesavedlogininformation(AdministratorSerV)?yes:YoucanpressEntertologbackintothesameDat

46、aONTAP-vstoragesystem,orpressCtrl-toendthesession.helpThehelpcommanddisplaysthelistofavailablecommands,orthecommandsyntaxforaparticularcommand.SyntaxhelpcommandDescriptionThehelpcommanddisplaysthelistofcommandsavailablefromthecurrentlocation.Itcanalsobeusedtodisplaytheavailableoptions,orsyntax,foraspecificcommand.ParameterscounandThenameofacommandforwhich

宁ICP备18001539号-1