Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION User Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 38
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
VMware, Inc. 23
3
YoucanrunvSphereCommandLineInterface(vCLI)commandsfromthecommandlineofthesystemwhere
youinstalledthepackage,fromthevMAcommandline,andfromscripts.Eachcommandrequiresata
minimumthetargetservertorunthecommandon.Usersauthorizedtoruncommandsonthetarget
server
donothavetospecifyauthenticationinformation.Otherusersmustspecifyauthenticationinformation.
Thischapterincludesthefollowingtopics:
“OverviewofRunningCommands”onpage 23
“SpecifyingAuthenticationInformation”onpage 24
“CommonOptionsforvCLIExecution”onpage 27
“UsingvCLICommandsinScripts”onpage 29
Overview of Running Commands
YoucanrunvCLIcommandsinteractivelyorinscriptsinseveralways.
OpenacommandpromptonaLinuxorWindowssystemonwhichyouinstalledvCLI.Entercommands
intothatcommandprompt,specifyingconnectionoptions.
AccessthevMALinuxconsole.SetuptargetserversandrunvCLIcommandsagainstthetargetswithout
additionalauthentication.
PreparescriptsthatcontainvCLIcommands.Thenrunthescriptsfromaremoteadministrationserver
thathasthevCLIpackageinstalledorfromthevMALinuxconsole.See“UsingvCLICommandsin
Scripts”onpage 29.
WhenyouruncommandsagainstanESXihost,youmustbeauthenticatedforthathost.When
yourun
commandsagainstavCenterServersystem,andyouareauthenticatedforthatsystem,youcantargetallESXi
hoststhatvCenterServermanageswithoutadditionalauthentication.See“SpecifyingAuthentication
Information”onpage 24.
Using the vSphere Command-Line
Interface
3
IMPORTANTIfanESXisystemthatyoutargetisinlockdownmode,youcannotrunvCLIcommandsagainst
thatsystemdirectly.YoumusttargetavCenterServersystemthatmanagestheESXisystemandusethe
--vihostoptiontospecifytheESXitarget.See“vCLIandLockdownMode”onpage 27.
CAUTIONIfyouspecifypasswordsinplaintext,youriskexposingthepasswordtootherusers.Thepassword
mightalsobecomeexposedinbackupfiles.Donotprovideplaintextpasswordsonproductionsystems.
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 37 38

Comments to this Manuals

No comments