Installing VMWare vCLI

From ArchWiki
Revision as of 11:40, 29 March 2012 by Gcool (Talk | contribs) (Created page with "Category:Virtualization {{i18n|Installing VMWare vCLI}} {{Article summary start}} {{Article summary text|Installing vCLI for managing vSphere environments}} {{Article sum...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Summary help replacing me
Installing vCLI for managing vSphere environments
Related
VMware
Installing_Arch_Linux_in_VMWare

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.

Download location

The utilities can be downloaded from http://www.vmware.com/support/developer/vcli. Registration is mandatory.

Dependencies

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 \ 
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.