欢迎来到三一文库! | 帮助中心 三一文库31doc.com 一个上传文档投稿赚钱的网站
三一文库
全部分类
  • 幼儿/小学教育>
  • 中学教育>
  • 高等教育>
  • 研究生考试>
  • 外语学习>
  • 资格/认证考试>
  • 论文>
  • IT计算机>
  • 法律/法学>
  • 建筑/环境>
  • 通信/电子>
  • 医学/心理学>
  • ImageVerifierCode 换一换
    首页 三一文库 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    Net 装机维护 DataONTAPvAdministrationTool12Command.docx

    • 资源ID:493049       资源大小:197.07KB        全文页数:85页
    • 资源格式: DOCX        下载积分:5
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录 微博登录
    二维码
    微信扫一扫登录
    下载资源需要5
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    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


    注意事项

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




    宁ICP备18001539号-1

    三一文库
    收起
    展开