VMware vSphere CLI 5.0

Aus Thomas Krenn Wiki
Wechseln zu: Navigation, Suche

Das vSphere Command-Line Interface (vSphere CLI) ist eine Sammlung von Kommandos zur Fernwartung von ESXi Hosts übers Netzwerk. Das vSphere CLI ist für Windows und Linux verfügbar. Informationen zur Vorgängerversion finden Sie im Artikel VMware vSphere CLI 4.1.

Inhaltsverzeichnis

Installation

Downloads:

Installation vSphere CLI unter Windows

Installationsschritte unter Windows 7:

Installation vSphere CLI unter Linux

Damit die Installation des vSphere CLI unter Linux funktioniert, müssen zuerst die Umgebungsvariablen http_proxy und ftp_proxy gesetzt werden. Wenn kein Proxy verwendet wird, setzen Sie diese Umgebungsvariablen einfach ohne Inhalt wie hier gezeigt:[1]

root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli# tar xzf VMware-vSphere-CLI-5.0.0-422456.x86_64.tar.gz
root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli# cd vmware-vsphere-cli-distrib
root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli/vmware-vsphere-cli-distrib# export http_proxy=
root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli/vmware-vsphere-cli-distrib# export ftp_proxy=
root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli/vmware-vsphere-cli-distrib# ./vmware-install.pl 
Creating a new vSphere CLI installer database using the tar4 format.
 
Installing vSphere CLI 5.0.0 build-422456 for Linux.
 
You must read and accept the vSphere CLI End User License Agreement to 
continue.
Press enter to display it. 
 
VMware(r) End User License Agreement
 
[...]
 
Do you accept? (yes/no) yes
 
Thank you.
 
Please wait while configuring CPAN ...
 
Please wait while configuring perl modules using CPAN ...
 
CPAN is downloading and installing pre-requisite Perl module "Archive::Zip" .
 
CPAN is downloading and installing pre-requisite Perl module "Crypt::SSLeay" .
 
CPAN is downloading and installing pre-requisite Perl module 
"Class::MethodMaker" .
 
CPAN is downloading and installing pre-requisite Perl module "Data::Dump" .
 
CPAN is downloading and installing pre-requisite Perl module "SOAP::Lite" .
 
In which directory do you want to install the executable files? 
[/usr/bin] 
 
Please wait while copying vSphere CLI files...
 
The installation of vSphere CLI 5.0.0 build-422456 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: 
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".
 
This installer has successfully installed both vSphere CLI and the vSphere SDK 
for Perl.
 
The following Perl modules were found on the system but may be too old to work 
with vSphere CLI:
 
UUID 0.03 or newer 
 
Enjoy,
 
--the VMware team
 
root@ubuntu-11-10:/home/isos/VMware/vsphere-5-cli/vmware-vsphere-cli-distrib#

Verwendung des vSphere CLIs unter Windows

  • Aufrufen der Kommandozeile:
VMware-vSphere-CLI-5.0-Windows-01-Starten.png
  • mit cd bin gelangt man in das Verzeichnis, das alle vSphere CLI Kommandos enthält
  • ein Aufruf von dir zeigt diese Kommandos:
VMware-vSphere-CLI-5.0-Windows-02-Kommandos.png

Einzelnachweise

  1. HowTo: VMware vSphere SDK for Perl API unter Debian installieren (sysadminslife.com)

Weitere Informationen


Autor: Werner Fischer


Share/Save/Bookmark  Feedback zu diesem Artikel geben
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Kategorien
Drucken/exportieren
Werkzeuge