Install Turbonomic on RedHat 7.x (CentOS)

Document created by iddo.avneri on May 6, 2016Last modified by endre.sara on Mar 10, 2017
Version 9Show Document
  • View in full screen mode

Prerequisites for Turbonomic on RHEL 7.x (CentOS)

 

Recommended VM Configuration

  • 4 CPU
  • 16 GB of Memory
  • LVM Partition mapping
    • /boot - 250MB
    • /var/lib/mysql - 100GB
    • /var/log - 10GB
    • /tmp - 10GB
    • /srv - 25GB
  • Firewall must be configured to allow connections on port 80
  • If SELinux is enabled the following command must be run

#setsebool -P httpd_can_network_connect=1

 

 

Install on RHEL 7.x (CentOS 7.x)

 

CentOS prerequisite

For CentOS the unzip package is not installed with the minimal installation and needs to be added before install.  To do that run the following command.

#yum install unzip

 

  • Install Turbonomic Operations Manager on your RHEL VM

You can configure an offline install or an online install for the initial version of Operations Manager.  In either case the RHEL instance needs to have access to a base RHEL package repository.  This can either be internal or external.  In the rare case that neither is available see the appendix at the end of this article for creating a local repository from a disk image.

 

 

Offline Install:

NOTE : You can find links to offline install packages on the Green Circle

When you have identified the offline version that you want download that file and then move that file to the /tmp directory on the RHEL VM.

 

Once the file is uploaded to the VM unzip the installation package

#unzip /tmp/update64_redhat-XXXXX.zip

 

Once Copy the local repo file to the YUM repo directory

#cp /tmp/vmturbo_temp.repo /etc/yum.repos.d/

 

Download the fillup package from the Turbonomic download site here.

Upload the RPM package to the /tmp directory and install it.

#rpm -Uvh fillup-1.42-261.1.2.x86_64.rpm

 

Next install the necessary packages

#yum install mod_ssl mariadb-server vmt-bundle

 

Proceed to Configuring the Database

 

Online Install:

Create a YUM Repository configuration file named vmturbo.repo in the following location: /etc/yum.repos.d/
Insert the following information into the file:
#vi /etc/yum.repos.d/vmturbo.repo
[vmturbo]
name=vmturbo baseurl=http://download.vmturbo.com/appliance/download/vmturbo-redhat type=rpm-md
enabled=1
autorefresh=1
gpgcheck=0

 

Next install all the necessary packages:
#yum install fillup mod_ssl mariadb-server vmt-bundle 
Proceed to Configuring the Database
  • Configuring the Database

 

There are some specific settings that need to be configured for the database after installation.  The configuration file is located in the /etc directory.  Edit this file and add the following configuration information.

#vi /etc/my.cnf

 

[mysqld]

innodb_file_per_table=1

innodb_buffer_pool_size = 1024M

query_cache_size = 64M

query_cache_limit = 8M

 

Save the file and restart the database service

#service mariadb restart

 

Build the database schema

#/srv/rails/webapps/persistence/db/initialize_all.sh

  • Configure the symlinks

 

There needs to be a few symlinks created from the default directories.  Please enter the following commands.

#rm -rf /var/www/html /var/www/cgi-bin

#ln -s /srv/www/htdocs /var/www/html

#ln -s /srv/www/cgi-bin /var/www/cgi-bin

#rm -rf /var/lib/tomcat

#ln -s /srv/tomcat/ /var/lib/

 

  • Restart the Turbonomic services

 

Two services need to be restarted in order to complete the installation.

#service tomcat restart

#service httpd restart

5 people found this helpful

Attachments

    Outcomes