Installing APM 10.7 TIM for RHEL 7.3 environment

Document ID : KB000115860
Last Modified Date : 03/10/2018
Show Technical Document Details
Introduction:
This following information related to support for APM CEM TIM 10.7 on RHEL 7.3 has been provided by Product Management/Development/SWAT
Background:
Supporting RHEL 7.x on TIM has been a highly requested enhancement . This is the first  RHEL 7.x release supported.
Environment:
APM CEM TIM 10.7.0, RHEL 7  

Note: The APM 10.7 TIM supports APM 10.2 and higher.
Instructions:
  Installation Steps:

  Step 1: Obtain an RHEL-7.3 machine and register to Red Hat Subscription Management
               Get the APM HF as outlined in https://comm.support.ca.com/kb/ca-apm-tim-support-under-red-hat-enterprise-linux-7-x/KB000115945
  Step 2: Install  the EPEL package using below command    Step 3: Disable SElinux with below command
  • Configure SELINUX=disabled in the /etc/selinux/config file
  • reboot
    Step 4: Enable optional rpm for compat-libstdc++-33 package
  • yum-config-manager --enable rhel-7-server-optional-rpms
    Step 5: Disable firewalld.service or provide access to port where TIM will configured (Default ports for TIM : webserver port = 81)  
  • systemctl disable firewalld
  • systemctl stop firewalld
    Step 6: Copy *.zip , unzip and Copy below artifacts from unzipped folder to RHEL-7.3 machine
  • *.tar.gz
  • CA-APM-TIM-public_key.txt.
   Step 7: Unpack the tar file , and extract below files
  • ca-eula.en.txt
  • timInstall.bin
 
   Step 8: Open  ca-eula.en.txt file, scroll to the end of file and accept the agreement as shown below
  • CA-EULA=accept
   Step 9: Start installation of TIM using the following command
  • ./timInstall.bin
   Step 10: Install the missed dependency packages notified during the TIM installation using ‘yum’ command and restart the installation.  
Below are the necessary Packages for TIM:
  • compat-libstdc++-33 >= 3.2.3
  • cronie
  • gdb >= 7.1
  • libcom_err
  • httpd >= 2.4
  • httpd-tools
  • java-1.8.0-openjdk >= 1.8.0
  • java-1.8.0-openjdk-devel
  • libpcap >= 1.0.0
  • mod_wsgi >= 3.2
  • mod_ssl >= 2.2.15
  • ncurses-libs
  • nspr >= 4.8.6
  • nss-softokn-freebl
  • nss-util
  • pexpect >= 2.3
  • policycoreutils-python >= 2.0.83
  • unzip >= 5.52
  • util-linux
  • libdb >= 5.3.21
 
  Step 11: Complete the Installation by selecting required options manually.
   Note that the installation is identical to other TIM releases. Refer to  https://docops.ca.com/ca-apm/10-7/en/installing/apm-installation/install-and-configure-tim-for-ca-cem/

  Step 12: Check the TIM status and see all processes are running successfully
  • service tim status               -> tim status should be active and Running
  • ps -ef | grep tim                  -> check all process related to TIM are running
 
User-added image
 
 
Note:
When upgrading from TIM6.x to TIM7.x environment. perform the following
  • Copy the ‘/opt/CA/APM/tim/config’ folder from TIM6.x to TIM7.x ‘/usr/local/wily/cem/tim/configpath
  • Select ‘upgrade’ option while installation
  • Select yes for ‘Would you like to use the same settings?’ option and remaining installation options as required.
Additional Information:
The following additional guidance has been provided  by SWAT 
 
1. For the standalone TIM, use at least  tim-rhel7-dist-10.7.0-20180926.070401-2-Linux-el7-x64.zip
2.  S
elinux needs to be disabled. Installation will not work through with it.
firewalld needs to be disabled, or rules-set adapted.

Starting Nmap 7.60 ( https://nmap.org ) at 2018-09-26 12:31 CEST
Nmap scan report for 10.10.10.10
Host is up (0.00050s latency).
Not shown: 996 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
80/tcp  open  http
81/tcp  open  hosts2-ns
443/tcp open  https
MAC Address: 08:00:27:FE:73:A7 (Oracle VirtualBox virtual NIC)
 
PORT   STATE         SERVICE
68/udp open|filtered dhcpc
MAC Address: 08:00:27:FE:73:A7 (Oracle VirtualBox virtual NIC)
These ports are provided on the TIM. By default, only 22 is open. means, no service can be accessed because the local firewall is activated by default. Hence - you have to open the ports.
 
 

Troubleshooting Information
 - If installation is not successful with the following message: “cannot gracefully restart web server”. Start/Restart and enable httpd service and start installation again.
  • systemctl enable httpd
  • systemctl start httpd
  - If timworker process are not seen in ‘ps -ef | grep tim’  
Possible solutions:
 
  1. Check interface name /opt/CA/APM/tim/config/interfacefilter.xml (default eth0/eth1) and update the name as per ifconfig.
 
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file is generated automatically.Do not edit. -->
<InterfaceFilterFile>
<File>
<FileName>Timestock Interface Filter File</FileName>
<FileVersion>1.0</FileVersion>
</File>
<Interfaces>
<Interface>
<Name></Name>
</Interface>
</Interfaces>
</InterfaceFilterFile>

     b. Restart webserver (httpd.service) after installation​
-  If not able to connect to TIM from CEM UI  
  1. Check for firewalld status and disable the firewalld to get access to timconfig file in TIM machine
  2. Check whether TIM is already registered for any other CEM module