APTARE IT Analytics Installation and Upgrade Guide for Linux

Last Published:
Product(s): APTARE IT Analytics (10.5)
  1. Install the APTARE IT Analytics Portal on a Linux server
    1.  
      Introduction
    2.  
      Portal installation memory requirements
    3.  
      OVA-based deployment on VMware ESXi
    4. Installer-based deployment
      1.  
        Task 1: Portal and database deployment strategies (Linux)
      2.  
        Task 2: Pre-installation configuration (Linux)
      3.  
        Task 3: Install Oracle database application binaries (Linux)
      4.  
        Task 4: Install the Portal application binaries (Linux)
      5.  
        Task 5: Installing the database schema (Linux)
      6.  
        Task 6: Start the Portal services (Linux)
      7.  
        Task 7: Request the license key file (Linux)
      8.  
        Task 8: Log into the Portal
      9.  
        Task 9: Install the license key file (Linux)
      10.  
        Task 10: Performing a cold backup of the database (Linux)
      11.  
        Recommended database backup process
    5.  
      Supported third-party and open source products
    6.  
      Uninstall the APTARE IT Analytics Portal
  2. Upgrade APTARE IT Analytics Portal on Linux
    1.  
      Overview
    2.  
      Upgrade path
    3.  
      Before upgrading
    4. Upgrade Oracle database application binaries to 19c (Linux)
      1.  
        Upgrade Oracle database application binaries (Linux)
    5. Upgrade APTARE IT Analytics Portal
      1.  
        Upgrade a shared services environment
      2.  
        Run the upgrade utility installer (Linux)
      3.  
        Known issues
      4.  
        Run the upgrade utility
      5.  
        After the upgrade
      6.  
        Upgrade methods to incorporate enterprise objects
      7. Attribute merging during the Portal upgrade
        1.  
          Attribute Management During the Portal Upgrade
        2.  
          Example of a Merge of Attribute Values
        3.  
          Steps to Rename Duplicate Attributes
        4.  
          Best Practice for Attributes in Multi-Tenancy Environments
      8.  
        Upgrade the Portal with additional licensed modules
      9.  
        Upgrade scenarios
      10.  
        Database table creation scripts
      11. Add additional products
        1.  
          Prerequisites
      12.  
        Enable new features and report templates using the Portal
    6. Data Collector upgrades
      1.  
        Mandatory prerequisites
    7.  
      Troubleshoot - Manual Data Collector upgrades
    8.  
      Collector updates from the APTARE IT Analytics Portal
  3. Oracle patches for the database server
    1.  
      Apply Oracle-recommended patches
  4. Upgrade and Migrate to a new server
    1. Upgrade and migrate to a new server
      1.  
        Install the latest release of APTARE IT Analytics on the new server
      2.  
        Perform an export of the database on the existing server
      3.  
        Stop Portal and agent services on the new server
      4.  
        Drop and re-create the existing portal user on the new server
      5.  
        Import the database onto the new server
      6.  
        Start Portal and agent services on the new server
      7.  
        Download, install, and execute to upgrade the database schema
    2.  
      Testing
    3.  
      Update Data Collector binaries (if necessary)
  5. Portal upgrades (Linux): Tomcat and Apache
    1.  
      Overview
    2.  
      Upgrade to Tomcat 8.5.56 from a previous Tomcat version
    3.  
      Upgrade the Apache Web Server to 2.4.xx (Linux)

Upgrade the Apache Web Server to 2.4.xx (Linux)

  1. 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

  2. Stop aptare services.

    # /opt/aptare/bin/aptare stop
  3. Extract http-2.4.xx into /opt directory

    # tar -xzvf httpd-2.4.xx.tar.gz -C /opt/
    
  4. 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/
    
  5. Verify workers.properties copied into /opt/httpd-2.4.xx/conf/

    # ls -lrt /opt/httpd-2.4.xx/conf/workers.properties
    
  6. If https is enabled and certificates are inside /opt/apache directory then copy certificates in /opt/httpd-2.4.xx/ folder on same path .

  7. Remove symbolic link:

    # unlink /opt/apache
    
  8. Create symbolic link with httpd-2.4.xx:

    # ln -s /opt/httpd-2.4.xx /opt/apache
  9. Copy httpd.conf, httpd-aptare.conf, and httpd-override.conf into /opt/apache/conf/.

  10. Copy httpd-ssl.conf, httpd-ssl-aptare.conf, and httpd-ssl-override.conf into /opt/apache/conf/extra/.

  11. Execute the following command to replace token with actual value in /opt/apache/conf/httpd.conf, /opt/apache/conf/httpd-aptare.conf and /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.conf
  12. If 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
    
  13. 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.

  14. 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
    
  15. Create apache group:

    # groupadd -r apache
  16. Create apache user:

    # useradd -g apache -d /home/apache -s /sbin/nologin apache
  17. Create directory for core file generation:

    # mkdir -p /opt/apache/logs/core
  18. Change ownership of Apache:

    # chown -R root:root /opt/httpd-2.4.xx
  19. Change permission of Apache:

    # find /opt/apache -type d -exec chmod o-wrx {} +
    # find /opt/apache -type f -exec chmod o-wrx {} +
  20. Change ownership for core directory:

    # chown -R root:apache /opt/apache/logs/core
  21. Verify Apache configurations:

    # export LD_LIBRARY_PATH=/opt/apache/ssl/lib:$LD_LIBRARY_PATH
    # /opt/apache/bin/apachectl -t
    
  22. Run the getSystemInfo.sh script which is located at /opt/aptare/utils.

    # cd  /opt/aptare/utils
    # ./getSystemInfo.sh
  23. Start aptare services:

    # /opt/aptare/bin/aptare start
    
  24. Check apache version:

    # /opt/apache/bin/httpd -v
    Server version: Apache/2.4.xx (Unix)