1、NetAppxDataONTAP-vAdministrationTool1.2InstallationGuideNetApp, Inc.495 East Java Drive Sunnyvale, CA 94089 U.S.Part number: 215-08016_A0May 2013Telephone:+1(408)822-60Fax:+1(408)822-4501Supporttelephone:+1(888)463-8277Web:Feedback:doccommentsTableofContents3ContentsIntroducingtheDataONTAP-vadminist
2、rationtool(dvadmin)4Wheredvadminruns4HowtheDataONTAP-vInstallerispackaged5InstallingtheDataONTAP-vadministrationtool6Hostserverrequirements6RequiredconfigurationinformationfortheDataONTAP-vInstallerhost7RequiredconfigurationinformationfortheDataONTAPEdgehost7DeployingtheDataONTAP-vInstallertemplate8
3、Configuringthevirtualmachinenetworkinterface9ConnectingdvadmintotheDataONTAPEdgehost10Verifyingthattheinstallationwassuccessfill13ManagingtheDataONTAP-vadministrationtool14Understandingthedvadminmanagementshells14AccessingthedvadminmanagementshellsremotelyusingSSH15StartingtheDataONTAP-vInstallerVM1
4、6LoggingintotheDataONTAP-vInstallerVM17ChangingthepasswordfortheDataONTAP-vInstallerVM18RestartingtheDataONTAP-vInstallerVM19StoppingtheDataONTAP-vInstallerVM19Resettingthevirtualmachinenetworkinterface20UpgradinganddowngradingtheDataONTAP-vadministrationtool22Upgradingdvadmin22Downgradingdvadmin23U
5、ninstallingtheDataONTAP-vadministrationtool24Copyrightinformation25Trademarkinformation26Howtosendyourcomments27Index28IntroducingtheDataONTAP-vadministrationtool(dvadmin)TheNetAppDataONTAPEdgefamilyofproductsusesDataONTAP-vtechnologytorunstoragesoftwareinavirtualmachine.TheDataONTAP-vadministration
6、tool(dvadmin)isthecommandlineinterface(CLI)youusetoinstall,manage,andmonitoryourDataONTAPEdgestoragesystem.WheredvadminrunsdvadminrunsinavirtualmachinecalledtheDataONTAP-vInstaller.TheVMcanresideonanyVMwareESXserverwithnetworkconnectivitytothehostserverwhereyouplantoinstallDataONTAPEdge.Oneinstanceo
7、fdvadmincanmanageasingleDataONTAPEdgestoragesystemormultiplestoragesystems.Tomanagemultiplestoragesystemswithasingleinstanceofdvadmin,allDataONTAPEdgestoragesystemsmustbeconnectedtothesamevCenterSen,er.Singlo UnmanagGd ESX SGrVerSingle, or multiple, managed ESX serversvSp9 CliontESX server 1vacfr Ut
8、iqWvCtor ServerData ONTAP-v InstaIIerVMDala ONTAPEdge VMData ONTAP-vESX server 2Data ONTAPEdge MDaw ONlAP-V=optional-eSX server nIData ONTAPEdgeVMDtONTAP-vHowtheDataONTAP-vInstallerispackagedTheDataONTAP-vInstallerispackagedinanOVFtemplate.ThetemplateisdistributedinanOVAfilethatalsocontainstheDataON
9、TPEdgeimageandallthesoftwarecomponentsyouneedtorundvadmin.TocreatetheDataONTP-vInstallerVM,youdownloadtheOVAfilefromtheNetAppSupportS,anddeploythetemplateintheVMwarevSphereClientontheESXhost.InstallingtheDataONTAP-vadministrationtooldvadmincomesinstalledinaprepackagedvirtualmachinecalledtheDataONTAP
10、vInstaller.TheinstallerispackagedinanOVFtemplatethatincludesallthesoftwarecomponentsyouneedtorundvadmin.YoucandeploytheinstallertemplateonanyVMwareESXserverwithnetworkconnectivitytothehostserverwhereyouplantoinstallDataONTAPEdge.Beforedeployingthetemplate:,MakesuretheESXhostfortheDataONTAP-vInstall
11、ermeetstheminimumhostserverrequirements.CompletetheconfigurationworksheetfortheDataONTAP-vInstallerhost.CompletetheconfigurationworksheetfortheESXserver,orservers,whereyouplantoinstallDataONTAPEdge.HostserverrequirementsTheESXhostfortheDataONTAP-vInstallerVMmustmeettheseminimumresourcerequirements.R
12、eviewtheserequirementsbeforedeployingtheOVFtemplate.IResourceESXServerMinimumRequirementsHardwareandsoftwaremustbe64-bit.vSphereversionNetworkVMwareESXorESXi1GigabitEthernetconnectionforfastestinstallation(optional).Bydefault,theDataONTAP-vInstallerVMusesDHCPtocommunicatewiththeIPnetwork.VirtualCPUs
13、VirtualMemoryStorage11GB8GBSeetheInteroperabilityMRelatedtasksDeployingtheDataONTAP-vInstallertemplateonpage8RequiredconfigurationinformationfortheDataONTAP-vInstallerhostBydefault,theDataONTAP-vInstallerusesDHCPtoassignanIPaddresstotheinstallervirtualmachine.IfyoudonotwanttouseDHCP,orifyournetworkd
14、oesnothaveaDHCPserver,youshouldcompletethefollowingconfigurationworksheetfortheDataONTAP-vInstallerhost.ThisinformationisrequiredifyouconfigurethevirtualmachinenetworkinterfacewithastaticIPv4address.HostconfigurationinformationYourvalues-HostnameHostIPaddressNetmaskGatewayPrimaryDNSaddressSecondaryD
15、NSaddress(optional)Searchdomains(optional)RelatedtasksConfiguringthevirtualmachinenetworkinterfaceonpage9RequiredconfigurationinformationfortheDataONTAPEdgehostBeforeconnectingdvadmintotheESXhostwhereyouplantoinstallDataONTAPEdge,youshouldcompletethefollowingconfigurationworksheetfortheDataONTAPEdge
16、host.ThisinformationisrequiredwhenyouconnectdvadmintoanESXhostmanagedbyaVMwarevCenterserverortoanunmanagedESXhost.IfyouplantoinstallandmanagemultipleDataONTAPEdgesystemsonhoststhatareinthesamevCenterbyconnectingonlytothevCenterserver,youwillnotneedtocollecttheESXhostinformationinthisworksheet.Youwil
17、lneedonlythevCenterservername,orIPaddress,andlogincredentials.IHostconfigurationinformationYourvaluesNameorIPaddressoftheESXhostwhereDataONTAPEdgewillbeinstalled.HostconfigurationinformationYourvaluesNameorIPaddressofthevCentersen,eriftheESXhostismanagedbyavCenterserver.AdminloginnameforthevCenterse
18、rver.IftheESXhostisnotmanagedbyavCenterserver,adminloginnamefortheESXhost.AdminpasswordforthevCenterserver.IftheESXhostisnotmanagedbyavCenterserver,adminpasswordfortheESXhost.RelatedtasksConnectingdvadmintotheDataONTPEdgehostonpage10DeployingtheDataONTAP-vInstallertemplateTheDataONTAP-vInstallertemp
19、lateisdistributedinanOVAfilethatcontainsallthesoftwarecomponentsyouneedtorundvadmin.YouuseaVMwarevSphereClienttodeploythetemplatetotheESXserver.ThevSphereClientconvertsthetemplatetoavirtualmachine(VM).Steps1. EnsurethatthehostESXservermeetstheminimumresourcerequirements.2. DownloadtheOVAfileforthela
20、testDataONTAP-vInstallertemplatefromtheNetAppSupportS.3. SavetheOVAfiletoalocalornetworklocationthatisaccessibletoyourvSphereClient.4. InthevSphereClient,selectFileDeployOVFTemplate.5. CompletetheDeployOVFTemplatewizardtodeploytheDataONTAP-vInstallertemplate.Note:FortheVMdiskformat,selectThinProvisi
21、oned,ifprompted.Formoreinfbnation,seethevSphereonlinehelp.6. AftertheinstallertemplatehassuccessfullydeployedtotheESXserver,powerontheinstallerVM.Note:SelectthePoweronafterdeploymentcheckboxonthelastpageofthewizardtopoweronthevirtualmachineautomaticallyafterdeployment.ThecheckboxisavailableinVMwarcv
22、SphereClient5.0only,notinpreviousversions.7. InthevSphereClient,selecttheDataONTP-vInstallerVMandclicktheConsoletabtomonitorthepower-onstatusintheESXhostsetupshell:a) TheVMpowersup.b) TheDataONTAP-vInstallerboots.Note:Thefirstbootoftheinstallertypicallytakeslongerthansubsequentboots.c) Bydefault,the
23、installerusesDHCPtoassignanIPaddresstotheVM.IfyouwanttomanuallyconfigurethenetworkinterfacewithastaticIPaddress,pressEnter.IfDHCPisnotdetected,theinstallerpromptsyoutoconfigurethenetworkinterfacewithastaticIPaddress.RelatedconceptsHostserverrequirementsonpage6Configuringthevirtualmachinenetworkinter
24、faceBydefault,theDataONTAP-vInstallerusesDHCPtoassignanIPaddresstotheinstallervirtualmachine.IfDHCPisnotdetected,orifyouhavechosentoconfigurethenetworkinterfacemanually,theinstallerpromptsyoutoassignastaticIPaddress.Steps1. InthevSphereConsoletab,theDataONTAP-vInstallerdisplaysthefollowingprompt:Wou
25、ldyouliketosetupastaticconfiguration?y:2. TypeyandpressEnter.Ateachprompttheinstallerdisplays,enterthecorrespondinginformationfromtheconfigurationworksheetyoucreatedfortheinstallerhost.3. Whenyouhaverespondedtoeachprompt,theinstallerlistsyourentriesanddisplaysthefollowingprompt:Arethesevaluecorrect?
26、yn)4. TypeyandpressEnter.ExampleofconfiguringthevirtualmachinenetworkinterfaceThefollowingexampleshowshowyoumightconfigurethenetworkinterfacewithastaticIPaddress.ThemanagementinterfaceiscurrentlyconfiguredforDHCPbutanaddresscouldnotbeobtainedfromtheDHCPserver.ThiscouldbeduetoeitheraDHCPconfiguratio
27、nissueorvirtualmachinenetworkadapterconfiguration.Wouldyouliketosetupastaticconfiguration?(y):yStaticConfigurationHostname:dvadmin_vmHostIPaddress:10.10.10.10Netmask:255,255.255.0Gateway:10.10.10.1PrimaryDNSaddress:10.100.1.1SecondaryDNSaddress:10.10.100.1Pleaseenterinallsearchdomainsseparatedbyspac
28、es(canbeleftblank):Selectedhostname:dvadmin_vmSelectedIP:10.10.10.10Selectednetmask:255.255.255.0Selectedgateway:10.10.10.1SelectedprimaryDNS:10.100.1.1SelectedsecondaryDNS:10.10.100.1Searchdomains:Calculatednetwork:10.10.10.0Calculatedbroadcast:10.10.10.255Arethesevaluecorrect?(yn)yRelatedconceptsR
29、equiredconfigurationinformationfortheDataONTAP-vInstallerhostonpage7RelatedtasksResettingthevirtualmachinenetworkinterfaceonpage20ConnectingdvadmintotheDataONTAPEdgehostAfteryouhavecompletedthevirtualmachinenetworkconfiguration,theDataONTP-vInstallerpromptsyoutoconnectdvadmintotheESXserverwhereyoupl
30、antoinstallDataONTAPEdge.AboutthistaskTherearethreewaystoconnectdvadmintoaVMwareESXhost:YoucanconnectdirectlytotheESXhost(provideditisnotbeingmanagedbyavCenterServer).YoucanconnecttotheESXhostthroughtheVMwarevCenterServerthatismanagingthehost.YoucanconnecttothevCenterServerwithoutspecifyinganESXhost
31、Onceloggedin,youusethedvadminhostcommandtoconnecttoanESXhost.ThismethodallowsyoutouseasingleinstanceofdvadmintomanagemultipleDataONTAPEdgesystemsthatresideinthesamevCenter.Note:VMwarerecommendsagainstconnectingdirectlytoanESXhostifitisbeingmanagedbyavCenterServerbecausethatcanresultincorruptionofvi
32、rtualmachineconfigurationdata.ToconnecttoavCenterServeroranESXhost,youspecifytheinformationyourecordedintheconfigurationworksheetfortheDataONTPEdgehost.TheDataONTAP-vInstallerprovidesdifferentpromptsdependingonwhetheryouareconnectingtotheESXhostthroughavCenterServerorconnectingdirectlytotheESXhost.I
33、fyouwanttosavetheserverlogininformationsothatyoudonotneedtore-enteriteverytimeyouconnect,answerytothefinalpromptDoyouwanttosavethisvCenterserverlogininformationy:.Thisoptionwritestheservername,hostname,andusernametothestartupfile$HOME/.dvadmin.Thepassword,oncecorrectlyentered,willbestoredintheVMware
34、credentialstore.Steps1. InthevSphereConsoletab,theDataONTAP-vInstallerdisplaysthefollowingprompt:ThefollowingpromptsdefinetheconnectiontothevCenterserverorESXhost.IstheESXhostmanagedbyavCenterserver?y:2. EnteryiftheESXhostismanagedbyavCenterServer,or11ifitisnotmanagedbyavCenterserver.Thefollowingpro
35、mptsaredisplayedifyouconnecttotheESXhostthroughavCenterserver:EntervCenterservernameorIPaddress:EnterESXhostnameorIPaddress(optional):EntervCenterserverusername:EntervCenterserverpassword:ThefollowingpromptsaredisplayedifyouconnectdirectlytotheESXhost:EnterESXhostnameorIPaddress:EnterESXhostusername
36、EnterESXhostpassword:Note:Iftheusernamecontainsspecialcharacters,thenyoumustdouble-quotetheusername,forexample,DOMINusemame.3. EnterthevCenterServerand/orESXhostinformationtodefinetheESXhosttowhichyouwanttoconnect.Thefollowingpromptisdisplayed:Doyouwanttosavethisserverlogininformationy:4. Ifyouwant
37、tosavetheserverlogininformationsothatyoudonotneedtore-enteriteverytimeyouconnect,answery,otherwise,enter11.Youareloggedintotheserverandthedvadminpromptisdisplayed:NetAppDataONTAP-vAdministrationTool1.x.xCopyright(C)1992-2013NetApp.Allrightsreserved.1.ogginginAdministratorvcenter_serverlVMwareSDKvers
38、ion:5.0Consoleescapekey:aHost:host_systemlInstallerVersion:8.x.x.yyydvadminhost_systemlNote:IftheremotehostkeyforSSHaccesstotheESXserverisnotcachedinyourknown-hostsfile,itwillbeaddedautomaticallythefirsttimeyouconnecttotheserver.ExamplesofloggingintoaserverThefollowingexampleshowshowyoumightlogintot
39、heESXse,ernamedhost_systcmlthroughthevCentersen,ernamednVcenterserverl,.IstheESXhostmanagedbyavCenterserver?y:yEntervCenterservernameorIPaddress:vcenter_serverlEnterESXhostnameorIPaddress(optional):host_systemlEntervCenterserverusername:esxuserEntervCenterserverpassword:*DoyouwanttosavethisvCenterse
40、rverlogininformationy:yThefollowingexampleshowshowyoumightlogintothevCenterservernamed,vcenterserverlnwithoutspecifyinganESXhost.IstheESXhostmanagedbyavCenterserver?y:yEntervCenterservernameorIPaddress:VCenter_SerVerlEnterESXhostnameorIPaddress(optional):EntervCenterserverusername:esxuserEntervCente
41、rserverpassword:*DoyouwanttosavethisvCenterserverlogininformationy:yThefollowingexampleshowshowyoumightlogindirectlytotheunmanagedESXserverwithIPaddress126.127.128.129.IstheESXhostmanagedbyavCenterserver?y:nEnterESXhostnameorIPaddress:126,127.128.129EnterESXhostusername:esxuserEnterESXhostpassword:*
42、DoyouwanttosavethisESXserverlogininformationy:yRelatedconceptsRequiredconfigurationinformationfortheDataONTPEdgehostonpage7VerifyingthattheinstallationwassuccessfulOnceatthedvadminprompt,youcanusethestatuscommandtoverifythatdvadminwasinstalledsuccessfully.Step1. Atthedvadminprompt,enterthefollowingc
43、ommand:statusThefollowingstatusinformationisdisplayed: dvadminversion vCenterservername Userwhoisconnectedtotheserver VMwarevSphereSDKforPerlversion Consoleescapekey Hostservername(ifcurrentlyconnectedtoahost)DataONTAP-vInstallerversionNote:Youcanusethedvadminhelpcommandtodisplaythelistofavailableco
44、mmands,orthecommandsyntaxforaparticularcommand.Example:ShowingserverstatusThefollowingexampleshowsse,erstatusinformation:dvadminesxlstatusVersion:1.x.xServer:User:AdministratorVMwareSDKversion:5.OConsoleescapekey:)Host:esxlInstallerVersion:8.x.x.yyyAfteryoufinishAfteryouhaveverifiedthatthedvadminins
45、tallationwassuccessful,youcanusethedvadminsetupwizardtoinstalltheDataONTAPEdgesystem.SeetheDataONTAPEdgeInstallationandAdministrationGuideforsetupwizardusage.ManagingtheDataONTAP-vadministrationtoolYouuseasetofmanagementshellstoperformcommondvadminmaintenancetasks.Youcanperformmanyofthesetasksremote
46、lyinanSSHsession.UnderstandingthedvadminmanagementshellsYouperfbndvadminmanagementtasksinthreeshells:theESXhostsetupshell,thedvadminshell,andthebashshell.Youuseeachshellforadifferentsetofmanagementtasks.ESXhostThisistheshellthatstartsafteryoulogintotheDataONTAP-vInstallerVM.Inthissetupshell,youdefin
47、etheinstallernetworkconfigurationandspecifythelogininformationshellyouusetoconnectdvadmintotheDataONTAPEdgehost.ThefollowingscreenshowstheESXhostsetupshellafteryoulogintotheinstallerinanSSHsession.TheexampleassumesyouhavecompletedtheinstallationoftheinstallerVM.loginas:netappnetapp01O.97.131.24spassword:*WelcometoNetAppData