6.0

Table Of Contents
VMware, Inc. 39
5f
YoucanrunDCLIcommandsasvCLIcommands,fromthevCenterServerApplianceshell,andfromthe
commandpromptofavCenterServerWindowsinstallation.
“OverviewofRunningDCLICommands”onpage 39
“RunningDCLICommands”onpage 41
“Input,Output,andReturnCodes”onpage 43
“UsingDCLIwithVariablesonpage 43
“DCLIHistoryFile”onpage 44
Overview of Running DCLI Commands
YoucanrunDCLIcommandsinteractivelyorinscriptsinseveralways.
RunDCLIcommandslocallyfromthevCenterServerApplianceshell.
RunDCLIcommandslocallyfromyourvCenterServeronWindowscommandprompt.
RunDCLIcommandsthatareincludedinthevCLIpackage.
OpenacommandpromptonaLinuxorWindowssystemonwhichyouinstalledvCLI.Enter
commandsintothatcommandprompt,specifyingconnectionoptions.
AccessthevMALinuxconsole.DCLIdoesnotsupportthevifastpassconnectionsavailablefrom
vMA.
PreparescriptsthatcontainDCLIcommands.ThenrunthescriptsasvCLIscripts,fromthevCenter
ServerWindowscommandprompt,orfromthevCenterServerApplianceshell.Usethecredentialstore
optionstoauthenticate,passwordsarenotsupportedinscripts.
Running DCLI Commands
5
IMPORTANTAuthenticationoptionsforDCLIcommandsdifferfromoptionsforvCLIhostmanagement
commands.
I
MPORTANTUserswhorunDCLIcommandstomonitorandmanagevCenterservicesmusthavethe
appropriateprivileges.
WhenyourunDCLIcommandsincludedwithvCLI,youmustbeauserwhocanauthenticatetovCenter
SingleSignOnandwhoisalsoauthorizedtoperformtheservice,forexample,managevCentertags.
WhenyourunDCLIcommandsfromthevCenterServerApplianceshell,DCLIallowsyoutorunmany
commandswithoutadditionalauthentication.However,formanagementofcertainservices,youmight
bepromptedforausernameandpassword.