Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Uživatelský manuál Strana 10

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 38
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 9
Getting Started with vSphere Command-Line Interfaces
10 VMware, Inc.
ESXi Shell Access with the Direct Console
AnESXisystemincludesadirectconsole(alsocalledDCUI)thatallowsyoutostartandstopthesystemand
toperformalimitedsetofmaintenanceandtroubleshootingtasks.ThedirectconsoleincludestheESXiShell,
whichisdisabledbydefault.YoucanenabletheESXiShellinthedirect
consoleorbyusingthevSphereClient.
Youcanenablelocalshellaccessorremoteshellaccess:
LocalshellaccessallowsyoutologintotheshelldirectlyfromtheDirectConsole.See“EnablingLocal
ESXiShellAccess”onpage 10.
Remoteshell(SSH)accessallowsyoutoconnecttothehostusingashellsuchasPuTTY,specifyauser
nameandpassword,andruncommandsintheshell.
TheESXiShellincludesallESXCLIcommands,asetofdeprecatedesxcfg-commands,andasetof
commandsfortroubleshootingandremediation.
Enabling Local ESXi Shell Access
YoucanenabletheESXiShellfromthedirectconsoleorfromthevSphereClient.
Ifyouhaveaccesstothedirectconsole,youcanenabletheESXiShellfromthere.
To enable the ESXi Shell in the direct console
1AtthedirectconsoleoftheESXihost,pressF2andprovidecredentialswhenprompted.
2ScrolltoTroubleshootingOptions
andpressEnter.
3 ChooseEnableESXiShellandpressEnter.
Ontheleft,EnableESXiShellchangestoDisableESXiShell.Ontheright,ESXiShellisDisabled
changestoESXiShellisEnabled.
4PressEscuntilyoureturntothemaindirectconsolescreen.
Ifyoudonothave
accesstothedirectconsole,youcanenabletheESXiShellfromthevSphereClient.
To enable the local or remote ESXi Shell from the vSphere Client
1 Selectthehost,clicktheConfigurationtab,andclickSecurityProfileintheSoftwarepanel.
2IntheServicessection,clickProperties.
3 SelectESXiShellandclickOptions.
4 ChangetheESXiShelloptions.
TochangetheStartuppolicyacrossreboots,clickStartandstopwithhostandrebootthehost.
Totemporarilystartorstoptheservice,clicktheStartorStopbutton.
5ClickOK.
AfteryouhaveenabledtheESXiShell,youcanuseitfromthatmonitororthroughaserialport.
TheESXiShelltimeoutsettingspecifieshowlongyoucanleaveanunusedsessionopen.By
default,the
timeoutfortheESXiShellis0,whichmeansthesessionremainsopenevenifitisunused.Ifyouchangethe
timeout,forexample,to30minutes,youhavetologinagainafterthetimeoutperiodhaselapsed.
I
MPORTANTAllESXCLIcommandsthatareavailableintheESXiShellarealsoincludedinthevCLIpackage.
VMwarerecommendsyouinstallthevCLIpackageonasupportedWindowsorLinuxsystemordeploythe
vMAvirtualappliance,andruncommandsagainstyourESXihosts.RuncommandsdirectlyintheESXi
Shell
introubleshootingsituationsonly.
NOTEIfyouareloggedinwhenthetimeoutperiodelapses,yoursessionwillpersist.However,theESXiShell
willbedisabled,preventingotherusersfromloggingin.
Zobrazit stránku 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 37 38

Komentáře k této Příručce

Žádné komentáře