Difference between revisions of "RemoteCLI"

Jump to navigation Jump to search
885 bytes added ,  09:43, 30 July 2012
m
→‎vihostupdate: Typo fixes
(→‎vicfg-snmp: Minor update)
m (→‎vihostupdate: Typo fixes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== vicfg-cfgbackup ==
vicfg-cfgbackup.pl -s --server esx --username root --password pass esx.cfg
<code> vicfg-cfgbackup </code> Allows the config of an ESXi server to be backed up to a binary config file.  Use <code> -l </code> option to load a config back onto an ESX.
== vicfg-snmp ==
== vicfg-snmp ==
  vicfg-snmp.pl --server esx --username root --password pass --show
  vicfg-snmp.pl --server esx --username root --password pass --show
Line 20: Line 25:
<code> vicfg-volume </code> Provides an alternative for vSphere to using LVM.enableresignature option in VI3
<code> vicfg-volume </code> Provides an alternative for vSphere to using LVM.enableresignature option in VI3


== vicfg-cfgbackup ==
== vihostupdate ==
  vicfg-cfgbackup.pl -s --server esx --username root --password pass esx.cfg
  vihostupdate.pl --server esx --username root --password pass -b C:\path\to\bundle.zip -s
 
To scan for an update...
vihostupdate.pl --server esx --username root --password pass -b C:\path\to\bundle.zip -s


<code> vicfg-cfgbackup </code> Allows the config of an ESXi server to be backed up to a binary config fileUse <code> -l </code> option to load a config back onto an ESX.
To install an update (ESX must be in maintenance mode)...
  vihostupdate.pl --server esx --username root --password pass -b C:\path\to\bundle.zip -i


== vmware-cmd ==
== vmware-cmd ==
Line 30: Line 39:


<code> vmware-cmd </code> Performs similar operations as is available from ESX command line
<code> vmware-cmd </code> Performs similar operations as is available from ESX command line
List all VM's registered to the ESX...
vmware-cmd.pl --server esx --username root --password pass -l
So to start a VM registered on a particular ESX...
vmware-cmd.pl /vmfs/volumes/path/to/server.vmx start --server esx --username root --password pass
To register a VM...
vmware-cmd.pl --server esx --username root --password pass -s register /vmfs/volumes/path/to/server.vmx
To unregister a VM...
vmware-cmd.pl --server esx --username root --password pass -s unregister /vmfs/volumes/path/to/server.vmx


[[Category:VMware]]
[[Category:VMware]]

Navigation menu