Install Turbonomic on RedHat 7.x (CentOS)

Document created by iddo.avneri on May 6, 2016Last modified by jason.shaw on Dec 3, 2019
Version 22Show Document
  • View in full screen mode

For a comprehensive install guide please refer to the official documentation starting on page 52 of the Installation Guide:

 

https://docs.turbonomic.com/pdfdocs/Turbonomic_INSTALL_PRINT_6.4.6.pdf 

 

Prerequisites for Turbonomic on RHEL 7.x or CentOS 7.x

 

 

 

Recommended VM Configuration

 

  • 4 CPU
  • 16 GB of Memory
  • 16 GB of Swap (Memory and Swap should always be the same size, if memory increased also increase swap)
  • 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 or 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 own RHEL/CentOS 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/CentOS 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/CentOS VM.

 

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

#unzip /tmp/update64_redhat-XXXXX.zip

 

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

#unzip /tmp/update64_centos-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 vmt-bundle dejavu-sans-mono-fonts dejavu-serif-fonts

 

Proceed to Configuring the Database

 

Online Install (only if you did not do offline install above, otherwise skip this section):

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

 

 

type=rpm-md
enabled=1
autorefresh=1
gpgcheck=0

 

 

Next install all the necessary packages:

 

#yum install fillup vmt-bundle dejavu-sans-mono-fonts dejavu-serif-fonts

 

 

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 = 4096M

 

query_cache_size = 64M

 

query_cache_limit = 8M

 

 

 

Save the file

 

:wq

 

 

 

  • Setup apache directory

 

This folder needs to be created and apache needs to be set as the owner.  Please enter the following commands.

 

#mkdir -p /var/lib/wwwrun

 

#chown -R apache.apache /var/lib/wwwrun

 

 

 

Make sure that the tomcat service is stopped

 

#service tomcat stop

 

 

 

Restart the database service

 

#service mariadb restart

 

 

 

       Build the database schema

 

#cd /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 /var/lib/tomcat6/

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

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

#chown mysql:mysql /var/lib/mysql/tmp

 

 

  • Restart the Turbonomic services

 

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

 

#service tomcat start

#service httpd restart

 

  • Configure Fonts to Enable Reporting

 

Create the new configuration file

#vi /etc/fonts/local.conf

Copy and paste the code below into the new file:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
   <family>serif</family>
   <prefer><family>Utopia</family></prefer>
</alias>
<alias>
   <family>sans-serif</family>
   <prefer><family>Utopia</family></prefer>
</alias>
<alias>
   <family>monospace</family>
   <prefer><family>Utopia</family></prefer>
</alias>
<alias>
   <family>dialog</family>
   <prefer><family>Utopia</family></prefer>
</alias>
<alias>
   <family>dialoginput</family>
   <prefer><family>Utopia</family></prefer>
</alias>
</fontconfig>

Save the file: esc :wq

9 people found this helpful

Attachments

    Outcomes