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)
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.
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
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 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/
name=vmturbo baseurl=http://download.vmturbo.com/appliance/download/vmturbo-redhat type=rpm-md
- 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 = 1024M
query_cache_size = 64M
query_cache_limit = 8M
Save the file and restart the database service
#service mariadb restart
Build the database schema
#cd /srv/rails/webapps/persistence/db; ./initialize_all.sh
- 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
- 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