For a comprehensive install guide please refer to the official documentation starting on page 52 of the Installation Guide:
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
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.
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
Once the file is uploaded to the VM unzip the installation package for CentOS
Once Copy the local repo file to the YUM repo directory
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/
- 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.
innodb_buffer_pool_size = 4096M
query_cache_size = 64M
query_cache_limit = 8M
Save the file
- 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
- 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
Copy and paste the code below into the new file:
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
Save the file: esc :wq