APTARE IT Analytics Installation and Upgrade Guide for Linux
- Install the APTARE IT Analytics Portal on a Linux server
- Introduction
- Portal installation memory requirements
- OVA-based deployment on VMware ESXi
- Installer-based deployment
- Task 1: Portal and database deployment strategies (Linux)
- Task 2: Pre-installation configuration (Linux)
- Task 3: Install Oracle database application binaries (Linux)
- Task 4: Install the Portal application binaries (Linux)
- Task 5: Installing the database schema (Linux)
- Task 6: Start the Portal services (Linux)
- Task 7: Request the license key file (Linux)
- Task 8: Log into the Portal
- Task 9: Install the license key file (Linux)
- Task 10: Performing a cold backup of the database (Linux)
- Recommended database backup process
- Supported third-party and open source products
- Uninstall the APTARE IT Analytics Portal
- Upgrade APTARE IT Analytics Portal on Linux
- Overview
- Upgrade path
- Before upgrading
- Upgrade Oracle database application binaries to 19c (Linux)
- Upgrade APTARE IT Analytics Portal
- Upgrade a shared services environment
- Run the upgrade utility installer (Linux)
- Known issues
- Run the upgrade utility
- After the upgrade
- Upgrade methods to incorporate enterprise objects
- Attribute merging during the Portal upgrade
- Upgrade the Portal with additional licensed modules
- Upgrade scenarios
- Database table creation scripts
- Add additional products
- Enable new features and report templates using the Portal
- Data Collector upgrades
- Troubleshoot - Manual Data Collector upgrades
- Collector updates from the APTARE IT Analytics Portal
- Oracle patches for the database server
- Upgrade and Migrate to a new server
- Upgrade and migrate to a new server
- Install the latest release of APTARE IT Analytics on the new server
- Perform an export of the database on the existing server
- Stop Portal and agent services on the new server
- Drop and re-create the existing portal user on the new server
- Import the database onto the new server
- Start Portal and agent services on the new server
- Download, install, and execute to upgrade the database schema
- Testing
- Update Data Collector binaries (if necessary)
- Upgrade and migrate to a new server
- Portal upgrades (Linux): Tomcat and Apache
Upgrade the Apache Web Server to 2.4.xx (Linux)
Download httpd-2.4.xx.tar.gz compiled with FIPS compliant SSL and following apache configuration files
httpd.conf
httpd-aptare.conf
httpd-override.conf
httpd-ssl.conf
httpd-ssl-aptare.conf
httpd-ssl-override.conf
Stop aptare services.
# /opt/aptare/bin/aptare stop
Extract http-2.4.xx into /opt directory
# tar -xzvf httpd-2.4.xx.tar.gz -C /opt/
Copy workers.properties from /opt/apache/conf/ into /opt/httpd-2.4.xx/conf/
# cp -p /opt/apache/conf/workers.properties /opt/httpd-2.4.xx/conf/
Verify workers.properties copied into /opt/httpd-2.4.xx/conf/
# ls -lrt /opt/httpd-2.4.xx/conf/workers.properties
If https is enabled and certificates are inside /opt/apache directory then copy certificates in /opt/httpd-2.4.xx/ folder on same path .
Remove symbolic link:
# unlink /opt/apache
Create symbolic link with httpd-2.4.xx:
# ln -s /opt/httpd-2.4.xx /opt/apache
Copy
httpd.conf,httpd-aptare.conf, andhttpd-override.confinto /opt/apache/conf/.Copy
httpd-ssl.conf,httpd-ssl-aptare.conf, andhttpd-ssl-override.confinto /opt/apache/conf/extra/.Execute the following command to replace token with actual value in
/opt/apache/conf/httpd.conf,/opt/apache/conf/httpd-aptare.confand/opt/apache/conf/extra/httpd-ssl.conf. Replace <domain name used in portal> with the actual aptare domain name used on the portal in the command below.# export DOMAIN_NAME="<domain name used in portal>" # export AGENT_HOST="aptareagent" # export PORTAL_HOST="aptareportal" # export PORTAL_BASE="/opt/aptare" # export SERVER_NAME="${PORTAL_HOST}.${DOMAIN_NAME}" # sed -i -e "s/~SERVER_NAME~/$SERVER_NAME/g" -e "s/~AGENT_HOST~/$AGENT_HOST/g" -e "s/~DOMAIN_NAME~/$DOMAIN_NAME/g" -e "s/~PORTAL_HOST~/$PORTAL_HOST/g" -e "s#~PORTAL_BASE~#$PORTAL_BASE#g" /opt/apache/conf/httpd.conf # sed -i -e "s/~SERVER_NAME~/$SERVER_NAME/g" -e "s/~AGENT_HOST~/$AGENT_HOST/g" -e "s/~DOMAIN_NAME~/$DOMAIN_NAME/g" -e "s/~PORTAL_HOST~/$PORTAL_HOST/g" -e "s#~PORTAL_BASE~#$PORTAL_BASE#g" /opt/apache/conf/httpd-aptare.conf # sed -i -e "s/~SERVER_NAME~/$SERVER_NAME/g" -e "s/~AGENT_HOST~/$AGENT_HOST/g" -e "s/~DOMAIN_NAME~/$DOMAIN_NAME/g" -e "s/~PORTAL_HOST~/$PORTAL_HOST/g" -e "s#~PORTAL_BASE~#$PORTAL_BASE#g" /opt/apache/conf/extra/httpd-ssl.confIf https was enabled in the previous Apache version, then uncomment the following lines in /opt/apache/conf/httpd.conf:
LoadModule ssl_module modules/mod_ssl.so Include conf/extra/httpd-ssl.conf
Update SSLCertificateFile, SSLCertificateKeyFile and SSLCertificateChainFile in /opt/apache/conf/extra/httpd-ssl.conf as per value in agent & portal virtualhost section present in /opt/httpd-<prev>/conf/extra/httpd-ssl.conf.
Add following lines in /opt/aptare/bin/apache after APACHE_HOME:
LD_LIBRARY_PATH=$APACHE_HOME/ssl/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
Create apache group:
# groupadd -r apache
Create apache user:
# useradd -g apache -d /home/apache -s /sbin/nologin apache
Create directory for core file generation:
# mkdir -p /opt/apache/logs/core
Change ownership of Apache:
# chown -R root:root /opt/httpd-2.4.xx
Change permission of Apache:
# find /opt/apache -type d -exec chmod o-wrx {} + # find /opt/apache -type f -exec chmod o-wrx {} +Change ownership for core directory:
# chown -R root:apache /opt/apache/logs/core
Verify Apache configurations:
# export LD_LIBRARY_PATH=/opt/apache/ssl/lib:$LD_LIBRARY_PATH # /opt/apache/bin/apachectl -t
Run the getSystemInfo.sh script which is located at
/opt/aptare/utils.# cd /opt/aptare/utils # ./getSystemInfo.sh
Start aptare services:
# /opt/aptare/bin/aptare start
Check apache version:
# /opt/apache/bin/httpd -v Server version: Apache/2.4.xx (Unix)