2013-05-16 17:58:50 +02:00
============
Installation
============
Prerequisites
2013-06-21 17:40:00 +02:00
=============
2013-05-16 17:58:50 +02:00
Software Recommandations
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
The "centreon-esxd" connector has been tested on linux systems.
Installation on other system is possible but is outside the scope of this document.
==================== =====================
Software Minimal Version
==================== =====================
2013-07-02 16:31:02 +02:00
VMWare SDK Perl 5.1
Perl 5.8
centreon-esxd 1.4
centreon-common-perl 2.5
2013-05-16 17:58:50 +02:00
==================== =====================
Hardware Recommandations
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Hardware prerequisites will vary depending on the number of monitored hosts. Without configured, no checks are done. Minimal used ressources are :
* RAM : 512 Mo (May slightly increase with the number of checks).
* CPU : same as poller server.
Centreon-esxd Installation - centos/rhel 5 systems
==================================================
SDK Perl VMWare Installation
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2013-06-21 17:40:00 +02:00
The "centreon-esxd" connector uses SDK Perl VMWare for its operation. So we install it. To do this, we begin by install CPAN, it's the name of a Perl module who improves the download, the installation, the upgrade and the maintenance of others Perl modules who are archived on the CPAN.
2013-05-16 17:58:50 +02:00
2013-06-21 17:40:00 +02:00
Install CPAN prerequisites ::
2013-05-16 17:58:50 +02:00
2013-07-02 16:31:02 +02:00
root # yum install gcc make unzip wget e2fsprogs-devel
root # yum install perl-XML-LibXML perl-Crypt-SSLeay perl-libwww-perl perl-TimeDate
2013-05-16 17:58:50 +02:00
root # cpan install Class::MethodMaker
root # cpan install SOAP::Lite
root # wget http://search.cpan.org/CPAN/authors/id/J/JN/JNH/UUID-0.04.tar.gz
root # tar zxvf UUID-0.04.tar.gz
root # cd UUID-0.04
root # perl Makefile.PL
root # make && make install
All SDK prerequisites are installed.
Download the last version on the VMWare website (`SDK VMWare <http://www.vmware.com/support/developer/viperltoolkit/> `_ ) (choose the file correponding to your architecture)
Install VMWare Perl SDK::
2013-07-02 16:31:02 +02:00
root # tar zxvf VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.gz
2013-05-16 17:58:50 +02:00
root # cd vmware-vsphere-cli-distrib
root # perl Makefile.pl
root # make && make install
2013-07-02 16:31:02 +02:00
Requirements
2013-05-16 17:58:50 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2013-07-02 16:31:02 +02:00
« centreon-common-perl » is a prerequisite for « centreon_esxd ». (Module in Centreon 2.5)
2013-05-16 17:58:50 +02:00
centreon-esxd Installation
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Download « centreon-esxd » archive, then install ::
2013-07-02 16:31:02 +02:00
root # tar zxvf centreon-esxd-1.4.tar.gz
root # cd centreon-esxd-1.4
2013-05-16 17:58:50 +02:00
root # cp centreon_esxd /usr/bin/
root # mkdir -p /etc/centreon
root # cp centreon_esxd-conf.pm /etc/centreon/centreon_esxd.pm
root # cp centreon_esxd-init /etc/init.d/centreon_esxd
2013-07-02 16:31:02 +02:00
root # mkdir -p /usr/lib/perl5/vendor_perl/5.8.8/centreon/esxd/
root # cp lib/* /usr/lib/perl5/vendor_perl/5.8.8/centreon/esxd/
root # cp centreonesxd.pm /usr/lib/perl5/vendor_perl/5.8.8/centreon/script/
2013-05-16 17:58:50 +02:00
Configure "centreon-esxd" daemon to start at boot ::
root # chkconfig --level 2345 centreon_esxd on
*"centreon_esx_client.pl" is the corresponding nagios plugin.*
Centreon-esxd Installation - centos/rhel 6 systems
==================================================
SDK Perl VMWare Installation
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2013-07-02 16:31:02 +02:00
TODO