Difference between revisions of "Installing VMWare vCLI"

From ArchWiki
Jump to: navigation, search
m (add ja link)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Virtualization]]
 
[[Category:Virtualization]]
 +
[[ja:VMWare vCLI のインストール]]
 
[[nl:Installing VMWare vCLI]]
 
[[nl:Installing VMWare vCLI]]
{{Article summary start}}
+
{{Related articles start}}
{{Article summary text|Installing vCLI for managing vSphere environments}}
+
{{Related|VMware}}
{{Article summary heading|Related}}
+
{{Related|Installing_Arch_Linux_in_VMWare}}
{{Article summary wiki|VMware}}
+
{{Related articles end}}
{{Article summary wiki|Installing_Arch_Linux_in_VMWare}}
+
{{Article summary end}}
+
  
 
The vCLI utilities make it possible to manage VMWare ESX servers (with the possibility of using vCenter). Eventhough Archlinux is not one of the "supported platforms"; the installation process is relatively straightforward. We have a two method's of VMWare vCLI installation. It's a build package from AUR, or manually installation.
 
The vCLI utilities make it possible to manage VMWare ESX servers (with the possibility of using vCenter). Eventhough Archlinux is not one of the "supported platforms"; the installation process is relatively straightforward. We have a two method's of VMWare vCLI installation. It's a build package from AUR, or manually installation.
  
 
==Installation from AUR==
 
==Installation from AUR==
===Download files for building package===
+
Install {{AUR|vmware-vcli}} from [[AUR]].
AUR package url is [https://aur.archlinux.org/packages/vmware-vcli/ https://aur.archlinux.org/packages/vmware-vcli/].
+
 
+
You can download files from AUR via yaourt:
+
yaourt -G vmware-vcli
+
 
+
Next step is downloading VMware-vSphere-CLI-5.1.0-780721.{your_arch}.tar.gz file from https://my.vmware.com/group/vmware/details?downloadGroup=VSP510-VCLI-510&productId=285 and place to PKGBUILD directory.
+
 
+
===Building package===
+
Next cd to PKGBUILD directory, and make package:
+
cd vmware-vcli
+
makepkg
+
 
+
===Package installation===
+
Login as root, and install package by pacman -U:
+
pacman -U vmware-vcli-5.1.0-1-{your_arch}.pkg.tar.xz
+
  
 
==Manually installation==
 
==Manually installation==
Line 41: Line 25:
 
vCLI has quite a few dependencies which can easily be managed via pacman:
 
vCLI has quite a few dependencies which can easily be managed via pacman:
  
  pacman -S e2fsprogs openssl libxml2 perl libxml-perl perl-xml-sax perl-crypt-ssleay \  
+
  pacman -S e2fsprogs openssl libxml2 perl perl-libxml perl-xml-sax perl-crypt-ssleay \  
 
  perl-archive-zip perl-html-parser perl-data-dump perl-soap-lite perl-uri \  
 
  perl-archive-zip perl-html-parser perl-data-dump perl-soap-lite perl-uri \  
 
  perl-lwp-protocol-https perl-class-methodmaker perl-net-ssleay perl-xml-libxml
 
  perl-lwp-protocol-https perl-class-methodmaker perl-net-ssleay perl-xml-libxml

Latest revision as of 09:34, 26 November 2015

The vCLI utilities make it possible to manage VMWare ESX servers (with the possibility of using vCenter). Eventhough Archlinux is not one of the "supported platforms"; the installation process is relatively straightforward. We have a two method's of VMWare vCLI installation. It's a build package from AUR, or manually installation.

Installation from AUR

Install vmware-vcliAUR from AUR.

Manually installation

Download location

The utilities can be downloaded from http://www.vmware.com/support/developer/vcli. Registration is mandatory. It seems that registration is not enough to download latest release from this link. It gives "Download is not available."

5.1 can be downloaded from here: https://my.vmware.com/group/vmware/details?downloadGroup=VSP510-VCLI-510&productId=285

Dependencies

vCLI has quite a few dependencies which can easily be managed via pacman:

pacman -S e2fsprogs openssl libxml2 perl perl-libxml perl-xml-sax perl-crypt-ssleay \ 
perl-archive-zip perl-html-parser perl-data-dump perl-soap-lite perl-uri \ 
perl-lwp-protocol-https perl-class-methodmaker perl-net-ssleay perl-xml-libxml

Installation

Unpack the archive:

tar xzvf VMware-vSphere-CLI-5*.tar.gz

Change to the newly created directory:

cd vmware-vsphere-cli-distrib/

Open the file vmware-install.pl with your favorite editor. Change the following rules:

my $installed_ssl_version = '1.0.0';   # rule 5248
my $ssleay_installed = 1;              # rule 5250
my $OpenSSL_installed = 1;             # rule 5256
my $LibXML2_installed = 1;             # rule 5257
my $OpenSSL_dev_installed = 1;         # rule 5258
my $e2fsprogs_installed = 1;           # rule 5261 
my $e2fsprogs_version = '1.42';        # rule 5262
my $install_rhel55_local = 1;          # rule 5266

The next step is to configure a ftp and http proxy. These values are mandatory, even when you're not using a proxy (in which case you leave the values in a blank state):

export ftp_proxy=""
export http_proxy=""

Fire up the installation:

./vmware-install.pl 

Potential warnings about rpm and versions can be safely ignored.