Instalacja i korzystanie z VMware vSphere CLI 5.0 w systemie Windows

Z Thomas-Krenn-Wiki
Przejdź do nawigacji Przejdź do wyszukiwania
Uwaga: Prosimy zwrócić uwagę, że ten artykuł / kategoria nie jest już aktualizowana, gdyż odnosi się do starszych komponentów oprogramowania / sprzętu.
Ta strona jest nadal dostępna jedynie w celach informacyjnych.

vSphere Command-Line Interface (vSphere CLI) jest zbiorem komend do zdalnego zarządzania hostami ESXi w sieci. vSphere CLI jest dostępny dla systemów Windows i Linux.

Instalacja

Download:

Instalacja vSphere CLI w systemie Windows

Procedura instalacji w Windows 7:

Instalacja vSphere CLI w systemie Linux

Aby instalacja vSphere CLI funkcjonowała w Linuksie musi najpierw zostać ustalona zmienna środowiskowa http_proxy na ftp_proxy. Jeżeli nie jest wykorzystywany proxy to należy pozostawić tą zmienną bez zawartości.

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#

Korzystanie z vSphere CLI w systemie Windows

  • Uruchomić wiersz poleceń:
VMware-vSphere-CLI-5.0-Windows-01-Starten.png
  • poleceniem cd bin przejść do katalogu, który zawiera wszystkie komendy vSphere CLI
  • polecenie dir wyświetla wszystkie dostępne komendy:
VMware-vSphere-CLI-5.0-Windows-02-Kommandos.png

Odnośniki


Dalsze informacje


Autor: Werner Fischer

Powiązane artykuły

Automatyczne uruchomienie maszyn wirtualnych w VMware ESXi
Instalacja klienta VMware vSphere 5.0
VMware Storage DRS - vSphere 5