vmware-cim-cmd hostsvc/net/vswitch_setpolicy --failurecritera-check-beacon=bool Does anyone know what "bool" value is to be used for this? I have tried: true, enabled, & yes.
Give "1" a try.
Yeah I tried that right after I posted......didn't work.
"Enable" or "Desable"
For futur information, you can refer to xtravirt guides http://www.xtravirt.com/index.php?option=com_content&task=view&id=99&Itemid=124
I tried both enable and enabled.....neither work. below is the command I am using:
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --failurecriteria-check-beacon=enable vSwitch0
the funny thing is if I do a vimsh -n -e "hostsvc/net/vswitch_setpolicy --failurecritera-check-beacon=enable vSwitch0" it works, but not with vmware-vim-cmd
I tried both commands and they work on my ESX 3.5 system, do you have 2 NICs teamed on your vSwitch0 that you're trying to enable beacon probing? This does not show up as an error via the commandline with either "vimsh" or "vmware-vim-cmd"
vimsh -n -e "hostsvc/net/vswitch_setpolicy --failurecritera-check-beacon=enable vSwitch0"
won't work for me any ideas why?
This works....
vmware-vim-cmd /hostsvc/net/vswitch_setpolicy --failurecriteria-check-beacon 1 vSwitch0
ESX 3.5 U3
Thanks, I've added your example here for easier reference:
http://www.vi-toolkit.com/wiki/index.php/Hostsvc/net/vswitch_setpolicy
--
Wil
_____________________________________________________
Visit the new VMware developers wiki at http://www.vi-toolkit.com