Thursday, December 8, 2011

vSphere CLI

Issue command to host or via vCenter to host from remote workstation, which requires https authentication. (command-line, session file, or configuration file. password prompt, Active Directory, Credential store, and Environment variable could also be used for authentication)

For Windows: commmand.pl
For Linux: command
For vMA, a prepackaged Centos OS VM: command

CLI could be used in windows or Linux script to perform repetitive tasks on multiple hosts.

Most commands start with vicfg-***

Here is some commands not started with vicfg:
  • vifs
  • vihostupdate(35)
  • vmkfstools
  • esxcli
  • vmware-cmd
  • svmotion
  • resxtop
For the easy migration purpose, some vicfg-* command also has esxcfg-* equivalent at CLI, which could be obsolete at future CLI

No comments:

Post a Comment