Useful Basic VMware ESX Commands #1 – How to Shutdown or Restart ESX

# VMware

Powering down or restarting an ESX server can be done in a couple of ways.

Via GUI

Either via the Virtual Server or Infrastructure Client interface by Right Mouse Clicking the ESX server you wish to power down (see below):

ESX_Reboot

or by logging onto the ESX console with ‘root’ and running one of the following commands:

Via Command Line

Shut Down ESX

shutdown -h now – Immediately begins to shut down ESX and ‘Halt’ it.

Restart ESX

shutdown -r now    – Immediately begins to shut down ESX and then ‘Restarts’ it

or

init 6 – as above

VN:F [1.8.4_1055]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)

Related posts:

  1. How to automatically shut down VMware ESXi gracefully during power failure using an APC UPS. A Windows script to shutdown free-licensed ESXi 4 hosts that...
  2. VMware ESX – “Upgrading ESX 4.0 to 4.0 Update 1 on HP Proliant systems can fail or time out and leave the host in an unusable state if the host has HP Insight Management Agents running” With many of you upgrading to the recently released...

You can leave a response, or trackback from your own site.

4 Responses to “Useful Basic VMware ESX Commands #1 – How to Shutdown or Restart ESX”

  1. Al Senter says:

    You guys do a nice job with the commnad structure, comes in very hand. Thanks alot, Makes my life alot easier.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)

    [Reply]

    Kiwi Si Reply:

    Hi Al,

    Thanks for the feedback – glad you found it useful. :)

    Cheers,

    Si

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:F [1.8.4_1055]
    Rating: 0 (from 0 votes)

    [Reply]

  2. AlexC2 says:

    We are running ESXi 40, and one of our VM’s is not responding… don’t have access to the “console”, and when tried to do a power off (because reboot didn’t work) it just froze… now How can I do a Shutdown to one of my VM’s if not responding?
    I tried: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014165
    but vmware-cmd says it is not found, and don’t know if that has something to do with the version we’re running… (VMware ESXi Version 4.0 Build 171294)

    Thanks!
    AC2

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)

    [Reply]

  3. Frank says:

    Replacing the “now” by an integer number ( like shutdown 2) will delay the shutdown this number of minutes.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)

    [Reply]

Leave a Reply

You can add images to your comment by clicking here.

PHD Virtual - esXpress
Veeam - Backup & Replication
Virtualization Pro Summit 2010
StarWind Software
TrainSignal - vSphere Pro
Virtu-Al.net