VMware Cloud Community
EauxDeVienne
Contributor
Contributor

Standalone host ESXi 6.0.0 autostartmanager not taking into account entries

Hello,

I'm trying to configure my VMs autostart and autostop behaviour on a standalone host (ESXi 6.0.0) via SSH.

The values I enter for the different options are badly interpreted!

Before configuring anything:

[root@esx-nvl:~] vim-cmd hostsvc/autostartmanager/get_defaults


(vim.host.AutoStartManager.SystemDefaults) {
enabled = false,
startDelay = 60,
stopDelay = 120,
waitForHeartbeat = false,
stopAction = "PowerOff"
}

Then, I try to modify the startDelay value:

[root@esx-nvl:~] vim-cmd hostsvc/autostartmanager/update_defaults startDelay 120

Updated System defaults.


[root@esx-nvl:~] vim-cmd hostsvc/autostartmanager/get_defaults


(vim.host.AutoStartManager.SystemDefaults) {
enabled = true,
startDelay = 0,
stopDelay = 120,
waitForHeartbeat = false,
stopAction = "PowerOff"
}

The startDelay value was set to zero instead of 120...

Then, I tried to change the syntax with a equal sign:

[root@esx-nvl:~] vim-cmd hostsvc/autostartmanager/update_defaults startDelay = 120
Updated System defaults.


[root@esx-nvl:~] vim-cmd hostsvc/autostartmanager/get_defaults
(vim.host.AutoStartManager.SystemDefaults) {
enabled = true,
startDelay = 0,
stopDelay = 0,
waitForHeartbeat = false,
stopAction = "120"
}

And it saves a "120" value for stopAction parameter...

I can't figure it out! Any idea on something I'd be missing?

Thanks in advance.

Thomas

0 Kudos
1 Reply
e_espinel
Virtuoso
Virtuoso

Hello.

I recommend you to use the vSphere web client (host client) to configure the VMs startup.

The ESXi Embedded Host Client is a native HTML and JavaScript application and is served directly from your ESXi host!

ESXi Embedded Host Client has been officially released in ESXi 6.0 Update 2, but can be installed in  ESXi 5.5, ESXi 6.0 and ESXi 6.5.

link: https://flings.vmware.com/esxi-embedded-host-client#requirements

Link where you can get the patches: https://my.vmware.com/group/vmware/patch#search

 

 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
0 Kudos