How to save ESXI 4.0 configuration without reboot

vmware-esxi

HI,everyone

Recently, I set the VM start with the ESXI at the "Virtual Machine Startup/Shutdown" , and move up the VM at the "Startup Order" until the VM startup changed to Enabled.

Once ,the ESXI server was crashed with no power. Late, I Manual start the ESXI server . but when I login the ESXI with vsphere, I found the VM without startup .

The same situation,when after I set the VM startup . then I reboot the ESXI ,the VM is startup.

So, I want to have a way that save the VM startup configuration without reboot ESXI .

sorry , my english is very poor , please forgive !

Best Answer

There is nothing to save, "Virtual Machine Startup/Shutdown" is immediately applied as soon as you configure it, and doesn't need a server reboot in order to work.

The problem here is that your ESXi host didn't shut down properly, so it was unable to save its configuration; but, as long as the system is shut down or rebooted cleanly, you don't usally have to do anything at all in order to make your configuration changes permanent.


Update:

If you really want to force ESX to save its configuration, this should help:

/usr/sbin/esxcfg-boot -r

It's the command that gets executed at ESX shutdown/reboot to save the system configuration, so it should do what you're looking for.

But you're running ESXi, so you don't have access to the Service Console... it can be obtained (see here), but I don't know if that command even exists in ESXi.