Can anyone tell me if you can set any of the VMware HA Advance Options via the command line with vmware-vim-cmd? I'm looking to set das.allowNetwork0=Service Console, but i'd rather do all my work from the commandline than the gui.
Thanks in advance.
Take a look at this script as an alternative:
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
You should be able to using:
vmware-vim-cmd hostsvc/advopt
You can also use the API's to do so with either vSphere SDK for Perl or PowerCLI if you don't want to do this on Service Console or Busybox console on each of your ESX(i) host
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
Could you give me an example of the syntax on how to use "vmware-vim-cmd hostsvc/advopt" to set "das.allownetwork0" to have a value of "Service Console"?
I just realized that this advanced option can only be set at a HA Cluster level and is not exposed to each of the individual ESX(i) host. Using vimsh would not work, you would need to use say vSphere SDK for Perl or PowerCLI to configure this advanced option connecting directly to your vCenter.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
Take a look at this script as an alternative:
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
Thanks for writing the script!!!