Professional Documents
Culture Documents
APM Agents
APM Agents
APM Agents
Configuration Instruction
Robert Karpiński, version: 4, last modified: 2023-11-08
Contents
1 Introduction ..................................................................................................................................... 3
2 General information ........................................................................................................................ 3
2.1 Agents configuration for new APM servers ............................................................................. 3
2.2 Agents installation packages location...................................................................................... 3
2.3 Agent configuration guidelines ................................................................................................ 3
3 APM agent installation .................................................................................................................... 4
3.1 Linux OS agent (LZ) installation ............................................................................................... 4
3.1.1 Introduction ..................................................................................................................... 4
3.1.2 Preparation ...................................................................................................................... 4
3.1.3 Installation of base version (6.3.7.0) ............................................................................... 5
3.1.4 Service Pack installation (6.3.7.11) .................................................................................. 7
3.1.5 Agent configuration ......................................................................................................... 7
3.1.6 Starting agent .................................................................................................................. 8
3.2 Windows OS agent (NT) installation ........................................................................................ 8
3.2.1 Introduction ..................................................................................................................... 8
3.2.2 Preparation ...................................................................................................................... 8
3.2.3 Installation of base version (6.3.7.0) ............................................................................... 9
3.2.4 Service Pack installation (6.3.7.11) ................................................................................ 18
3.3 UNIX OS agent (UX) installation............................................................................................. 23
3.3.1 Introduction ................................................................................................................... 23
3.3.2 Preparation .................................................................................................................... 23
3.3.3 Installation of base version (6.3.7.0) ............................................................................. 23
3.3.4 Service Pack installation (6.3.7.13) ................................................................................ 25
3.3.5 Unix OS agent configuration .......................................................................................... 26
3.3.6 Starting Unix OS agent ................................................................................................... 27
3.4 Oracle agent (RZ) installation ................................................................................................ 27
3.4.1 Preparation .................................................................................................................... 27
3.4.2 Agent base version installation...................................................................................... 27
3.4.3 Agent base version installation on Linux ....................................................................... 27
3.4.4 Fix installation ................................................................................................................ 30
APM Agents Installation and Configuration Instruction
2 / 102
APM Agents Installation and Configuration Instruction
1 Introduction
Document is intended to facilitate Application Performance Monitoring (APM) migration to the new
servers.
2 General information
2.1 Agents configuration for new APM servers
All new and existing servers should be configured to connect to new APM servers. Table below contains
all required information.
Param Value
Encryption key IBMTivoliMonitoringEncryptionKey
Primary TEMS Hostname or IP Address 10.3.70.171
(APM server) Protocol 1 IP.PIPE (port 1918)
Protocol 2 IP.SPIPE (port 3660)
Secondary TEMS Hostname or IP Address 10.3.70.172
(APM server) Protocol 1 IP.PIPE (port 1918)
Protocol 2 IP.SPIPE (port 3660)
ITCAM for Application Diagnostics Managing IP: 10.3.70.174
Server (should be specified while installing Port: 9122
WAS or J2EE agent) (not yet installed so nothing listen on that port
currently)
Transaction Collector agent (should be IP: 10.3.70.175
specified while installing WAS or J2EE agent) Port: 5455
3 / 102
APM Agents Installation and Configuration Instruction
Sometimes multiple instances of agent are allowed (for example Oracle Agent). Each instance must
be configured separately. Instance name is just a label given by APM admin to distinguish between
different configurations.
Configured agent should be started like below (providing instance is required only for specific agent):
/opt/IBM/ITM/bin/itmcmd agent start AGENT_CODE -o INSTANCE_NAME
Agent management is possible also from GUI by starting “Manage Tivoli Enterprise Monitoring
Services”. On Windows there is Start Menu option available. For UNIX/Linux X-server must be
configured properly. Then execute below command to display agent configuration GUI:
/opt/IBM/ITM/bin/itmcmd manage
Below instruction was prepared based on test install of Linux OS Agent on EMS-APM5, 10.3.70.175 (to
be uninstalled if needed).
3.1.2 Preparation
# install required packages
dnf install ksh libnsl libXtst libXcursor libXft
4 / 102
APM Agents Installation and Configuration Instruction
KCI1362W IBM Tivoli Monitoring version 6.3 introduces a number of platform improvements which may require
operating system updates. It is important that you ensure this system meets these requirements prior to installing or
updating your installation. Please refer to the following technote for more information:
http://www.ibm.com/support/docview.wss?uid=swg21623341
Initializing ...
International Program License Agreement
Enter a 32-character encryption key, or just press Enter to use the default
Default = IBMTivoliMonitoringEncryptionKey
....+....1....+....2....+....3..
IBMTivoliMonitoringEncryptionKey
5 / 102
APM Agents Installation and Configuration Instruction
All agents require that application support files that contain agent-specific information be installed on the Tivoli
Enterprise Monitoring Server that the agents will connect to, Tivoli Enterprise Portal Server and Tivoli Enterprise Portal
desktop and browser client. Install application support before starting to install any Tivoli Enterprise Monitoring Agents.
Type the numbers that correspond to the products that you want to install. Type "b" to change operating system, or type
"q" to quit selection.
If you enter more than one number, separate the numbers by a comma or a space.
Do you want to check prerequisites for the above components? [ 1=Yes, 2=No ; default is "1" ] ?
Running Prerequisite Scanner.
This may take a few minutes depending on the number of components being checked and the machine's performance.
Prerequisite Scanner results for the selected components:
PASS IBM Tivoli Monitoring Shared Libraries /opt/IBM/ITM/logs/prereqscan/20231017-
224457/COMMON/result.txt
PASS IBM GSKit Security Interface /opt/IBM/ITM/logs/prereqscan/20231017-224457/COMMON/result.txt
PASS Tivoli Enterprise-supplied JRE /opt/IBM/ITM/logs/prereqscan/20231017-224457/COMMON/result.txt
PASS Monitoring Agent for Linux OS /opt/IBM/ITM/logs/prereqscan/20231017-224457/COMMON/result.txt
Do you want to continue with the installation [ 1=Yes, 2=No ; default is "1" ] ?
... installing "Monitoring Agent for Linux OS V06.30.07.00 for Linux x86_64 R2.6, R3.0 (64 bit)"; please wait.
=> installed "Monitoring Agent for Linux OS V06.30.07.00 for Linux x86_64 R2.6, R3.0 (64 bit)".
... Initializing component Monitoring Agent for Linux OS V06.30.07.00 for Linux x86_64 R2.6, R3.0 (64 bit).
... Monitoring Agent for Linux OS V06.30.07.00 for Linux x86_64 R2.6, R3.0 (64 bit) initialized.
Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ?
... postprocessing; please wait.
... finished postprocessing.
Installation step complete.
You may now configure any locally installed IBM Tivoli Monitoring product via the "/opt/IBM/ITM/bin/itmcmd config"
command.
6 / 102
APM Agents Installation and Configuration Instruction
The install.sh command creates most of directories and files with world write permissions. IBM Tivoli Monitoring
provides the secureMain utility to helps you keep the monitoring environment secured. You can secure this installation
now or manually execute the secureMain utility later. For more information see Appendix G. Securing your IBM Tivoli
Monitoring installation on Linux or UNIX in the IBM Tivoli Monitoring Installation and Setup Guide.
Do you want to secure this IBM Tivoli Monitoring installation [ 1-yes, 2-no; "2" is default ]?
Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):
Network Protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
7 / 102
APM Agents Installation and Configuration Instruction
- ip6.pipe
- ip6.spipe
- 0 for none
Network Protocol 3 (Default is: 0):
TEMS Host Name for IPv4 (Default is: ems-apm5): 10.3.70.171
IP.PIPE Port Number (Default is: 1918):
Enter name of KDC_PARTITION (Default is: null):
IP.SPIPE Port Number (Default is: 3660):
Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2): 1
Secondary TEMS protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
Below instruction was prepared based on test install of Windows OS Agent on EMS-TADDM2,
10.3.70.179 (to be uninstalled if needed).
3.2.2 Preparation
Download file Windows_OS_Agent_V6.3.7.11 from directory /install_agents on ems-
apm1.cbe.com.et (10.3.70.171). Extract the file. Inside there are 2 subdirectories:
8 / 102
APM Agents Installation and Configuration Instruction
Click „Next”
9 / 102
APM Agents Installation and Configuration Instruction
Click „Next”
10 / 102
APM Agents Installation and Configuration Instruction
Click „Next”
11 / 102
APM Agents Installation and Configuration Instruction
Click „OK”
Mark "Monitoring Agent for Windows OS (x86-64 only)". Second option ("Tivoli Enterprise
Monitoring Agent Framework …") will be marked automatically.
12 / 102
APM Agents Installation and Configuration Instruction
Press „Next”
Press „Next”
13 / 102
APM Agents Installation and Configuration Instruction
Press „Next”
14 / 102
APM Agents Installation and Configuration Instruction
15 / 102
APM Agents Installation and Configuration Instruction
16 / 102
APM Agents Installation and Configuration Instruction
Press Finish
"Managed Tivoli Enterprise Monitoring Services" control panel is displayed. It can be started again
from Start menu to start/stop/reconfigure agents on Windows machines.
17 / 102
APM Agents Installation and Configuration Instruction
18 / 102
APM Agents Installation and Configuration Instruction
Click “Next”.
Choose “I accept the terms in the license agreement” and click “Next”.
19 / 102
APM Agents Installation and Configuration Instruction
Click “Next”.
20 / 102
APM Agents Installation and Configuration Instruction
Click “Next”.
Click “Next”.
21 / 102
APM Agents Installation and Configuration Instruction
Click “Finish”.
22 / 102
APM Agents Installation and Configuration Instruction
This chapter covers installation of Unix OS agent version 6.3.7.13. Agent requires two stage of
installation. First base version of agent must be installed (6.3.7.0). Then latest Service Pack (currently
14) must be installed which updates agent to version 6.3.7.13.
Below instruction was prepared based on test install of UNIX OS Agent on EMS-DB2, 10.3.70.31 (to be
uninstalled if needed).
3.3.2 Preparation
# mount NFS share storing agent installation files
mkdir -p /mnt/install_agents
mount 10.3.70.171:/install_agents /mnt/install_agents
root@ems-db2:/# cd /mnt/install_agents/ITM_6.3.0.7_AGNT_MPL_ML
root@ems-db2:/# ./install.sh
INSTALL
Enter the name of the IBM Tivoli Monitoring local data directory.
[ default = /opt/IBM/ITM ]:
Installation directory and data directory are the same.
OK to share it [ 1-yes, 2-no; "1" is default ]?
KCI1362W IBM Tivoli Monitoring version 6.3 introduces a number of platform improvements which may require
operating system updates. It is important that you ensure this system meets these requirements prior to installing or
23 / 102
APM Agents Installation and Configuration Instruction
updating your installation. Please refer to the following technote for more information:
http://www.ibm.com/support/docview.wss?uid=swg21623341
Initializing ...
/usr/sbin/rpm_share[483]: /usr/opt/freeware/bin/rpm: not found.
/usr/sbin/rpm_share[483]: /usr/opt/freeware/bin/rpm: not found.
International Program License Agreement
Enter a 32-character encryption key, or just press Enter to use the default
Default = IBMTivoliMonitoringEncryptionKey
....+....1....+....2....+....3..
IBMTivoliMonitoringEncryptionKey
Type the numbers that correspond to the products that you want to install. Type "b" to change operating system, or type
"q" to quit selection.
If you enter more than one number, separate the numbers by a comma or a space.
24 / 102
APM Agents Installation and Configuration Instruction
Do you want to check prerequisites for the above components? [ 1=Yes, 2=No ; default is "1" ] ?
Running Prerequisite Scanner.
This may take a few minutes depending on the number of components being checked and the machine's performance.
Prerequisite Scanner results for the selected components:
PASS IBM Tivoli Monitoring Shared Libraries /opt/IBM/ITM/logs/prereqscan/20231018-
102528/COMMON/result.txt
PASS IBM GSKit Security Interface /opt/IBM/ITM/logs/prereqscan/20231018-102528/COMMON/result.txt
PASS Tivoli Enterprise-supplied JRE /opt/IBM/ITM/logs/prereqscan/20231018-102528/COMMON/result.txt
PASS Monitoring Agent for UNIX OS /opt/IBM/ITM/logs/prereqscan/20231018-102528/COMMON/result.txt
Do you want to continue with the installation [ 1=Yes, 2=No ; default is "1" ] ? 1
... installing "Monitoring Agent for UNIX OS V06.30.07.00 for AIX R6.1, R7.1 (64 bit)"; please wait.
=> installed "Monitoring Agent for UNIX OS V06.30.07.00 for AIX R6.1, R7.1 (64 bit)".
... Initializing component Monitoring Agent for UNIX OS V06.30.07.00 for AIX R6.1, R7.1 (64 bit).
... Monitoring Agent for UNIX OS V06.30.07.00 for AIX R6.1, R7.1 (64 bit) initialized.
Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ?
... postprocessing; please wait.
... finished postprocessing.
Installation step complete.
You may now configure any locally installed IBM Tivoli Monitoring product via the "/opt/IBM/ITM/bin/itmcmd config"
command.
The install.sh command creates most of directories and files with world write permissions. IBM Tivoli Monitoring
provides the secureMain utility to helps you keep the monitoring environment secured. You can secure this installation
now or manually execute the secureMain utility later. For more information see Appendix G. Securing your IBM Tivoli
Monitoring installation on Linux or UNIX in the IBM Tivoli Monitoring Installation and Setup Guide.
Do you want to secure this IBM Tivoli Monitoring installation [ 1-yes, 2-no; "2" is default ]?
25 / 102
APM Agents Installation and Configuration Instruction
Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):
Network Protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2): 1
Secondary TEMS protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
26 / 102
APM Agents Installation and Configuration Instruction
- ip6.pipe
- ip6.spipe
- 0 for none
Secondary TEMS Protocol 3 (Default is: 0):
Secondary TEMS Host Name for IPv4 (Default is: none): 10.3.70.172
Secondary TEMS IP.PIPE Port Number (Default is: 1918):
Secondary TEMS IP.SPIPE Port Number (Default is: 3660):
Enter Optional Primary Network Name or 0 for "none" (Default is: 0):
Disable HTTP? [1=YES, 2=NO] (Default is: 2):
Are you installing this product into a clustered environment [1=YES, 2=NO] (Default is: 2):
Agent configuration completed...
cd /mnt/install_agents/Agent4Oracle/ITCAM_EA_ORACLE_DB_631_FP2
./install.sh
[root@ems-tbsm1 6.3.0.7-TIV-ITM-Linux-SP0014]# cd
/mnt/install_agents/Agent4Oracle/ITCAM_EA_ORACLE_DB_631_FP2
[root@ems-tbsm1 ITCAM_EA_ORACLE_DB_631_FP2]# ./install.sh
INSTALL
27 / 102
APM Agents Installation and Configuration Instruction
install.sh warning: Existing products found to be running will be restarted during installation., continuing ...
Initializing ...
International Program License Agreement
IBM GSKit Security Interface V08.00.55.24 @ Linux x86_64 R2.6, R3.0 (64 bit)
Monitoring Agent for Linux OS V06.30.07.12 @ Linux x86_64 R2.6, R3.0 (64 bit)
Tivoli Enterprise Services User Interface V06.30.07.20 @ Linux x86_64 R2.6, R3.0 (64 bit)
All agents require that application support files that contain agent-specific information be installed on the Tivoli
Enterprise Monitoring Server that the agents will connect to, Tivoli Enterprise Portal Server and Tivoli Enterprise Portal
desktop and browser client. Install application support before starting to install any Tivoli Enterprise Monitoring Agents.
Product packages are available for this operating system and component support categories:
28 / 102
APM Agents Installation and Configuration Instruction
You selected number "1" or "IBM Tivoli Monitoring components for this operating system"
Type the numbers that correspond to the products that you want to install. Type "b" to change operating system, or type
"q" to quit selection.
If you enter more than one number, separate the numbers by a comma or a space.
Do you want to check prerequisites for the above components? [ 1=Yes, 2=No ; default is "1" ] ?
Running Prerequisite Scanner.
This may take a few minutes depending on the number of components being checked and the machine's performance.
Prerequisite Scanner results for the selected components:
NOT AVAILABLE Monitoring Agent for Oracle Database Extended /opt/IBM/ITM/logs/prereqscan/20231108-
041813/COMMON/result.txt
NOT AVAILABLE Tivoli Enterprise-supplied JRE /opt/IBM/ITM/logs/prereqscan/20231108-
041813/COMMON/result.txt
NOT AVAILABLE IBM Tivoli Monitoring Shared Libraries /opt/IBM/ITM/logs/prereqscan/20231108-
041813/COMMON/result.txt
NOT AVAILABLE IBM GSKit Security Interface /opt/IBM/ITM/logs/prereqscan/20231108-
041813/COMMON/result.txt
Do you want to continue with the installation [ 1=Yes, 2=No ; default is "1" ] ?
... installing "Monitoring Agent for Oracle Database Extended V06.31.02.00 for Linux x86_64 R2.6, R3.0 (64 bit)"; please
wait.
=> installed "Monitoring Agent for Oracle Database Extended V06.31.02.00 for Linux x86_64 R2.6, R3.0 (64 bit)".
... Initializing component Monitoring Agent for Oracle Database Extended V06.31.02.00 for Linux x86_64 R2.6, R3.0 (64
bit).
... Monitoring Agent for Oracle Database Extended V06.31.02.00 for Linux x86_64 R2.6, R3.0 (64 bit) initialized.
Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ?
... postprocessing; please wait.
... finished postprocessing.
Installation step complete.
29 / 102
APM Agents Installation and Configuration Instruction
You may now configure any locally installed IBM Tivoli Monitoring product via the "/opt/IBM/ITM/bin/itmcmd config"
command.
Removed /etc/systemd/system/multi-user.target.wants/ITMAgents1.lz.service.
Removed /etc/systemd/system/ITMAgents1.lz.service.wants/ITMAgents1.target.
Created symlink /etc/systemd/system/multi-user.target.wants/ITMAgents1.lz.service →
/usr/lib/systemd/system/ITMAgents1.lz.service.
Created symlink /etc/systemd/system/ITMAgents1.lz.service.wants/ITMAgents1.target →
/usr/lib/systemd/system/ITMAgents1.target.
The install.sh command creates most of directories and files with world write permissions. IBM Tivoli Monitoring
provides the secureMain utility to helps you keep the monitoring environment secured. You can secure this installation
now or manually execute the secureMain utility later. For more information see Appendix G. Securing your IBM Tivoli
Monitoring installation on Linux or UNIX in the IBM Tivoli Monitoring Installation and Setup Guide.
Do you want to secure this IBM Tivoli Monitoring installation [ 1-yes, 2-no; "2" is default ]?
Processing. Please wait...
systemctl start ITMAgents1.lz.service RC: 0
Starting Monitoring Agent for Linux OS ...
Monitoring Agent for Linux OS started
Applying latest Interim Fix for Oracle Agent on Linux/AIX (similar for Windows):
Example values was provided while configuring agent. Oracle DB admin must be consulted to provide
proper values.
cd /opt/IBM/ITM/bin/
./itmcmd config -A rz
[root@ems-tbsm1 ~]# cd /opt/IBM/ITM/bin/
[root@ems-tbsm1 bin]# ./itmcmd config -A rz
Agent configuration started...
30 / 102
APM Agents Installation and Configuration Instruction
Advanced Configuration :
31 / 102
APM Agents Installation and Configuration Instruction
This path is the full file path name of the customized SQL definition file.
The default file name is $CANDLEHOME/config/krzcussql.properties on UNIX
or Linux systems, %CANDLEHOME%\TMAITM6\krzcussql.properties on Windows
systems, and %CANDLEHOME%\TMAITM6_x64\krzcussql.properties on Windows
x64 systems. If this item was not configured, the default file name is used.
Customized SQL definition file name: (default is: ):
Database Connection :
Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):
Network Protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2): 1
Secondary TEMS protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
32 / 102
APM Agents Installation and Configuration Instruction
- ip
- sna
- ip.spipe
- ip6
- ip6.pipe
- ip6.spipe
- 0 for none
Secondary TEMS Protocol 2 (Default is: 0): ip.spipe
cd /opt/IBM/ITM/bin
./itmcmd agent -o AGENT_INST1 start rz
[root@ems-tbsm1 bin]# ./itmcmd agent -o AGENT_INST1 start rz
Processing. Please wait...
systemctl start ITMAgents1.rz.AGENT_INST1.service RC: 0
Starting Monitoring Agent for Oracle Database Extended ...
Monitoring Agent for Oracle Database Extended started
---------------------------------------------------------------------
-- ***************************************************************
-- Licensed Materials - Property of IBM
-- 5724-V09
--
-- Copyright IBM Corp. 2009 All Rights Reserved
-- US Government Users Restricted Rights - Use, duplication or
-- disclosure restricted by GSA ADP Schedule Contract with
-- IBM Corp
-- ***************************************************************
-- NAME
33 / 102
APM Agents Installation and Configuration Instruction
-- krzgrant.sql
-- FUNCTION
-- Grant access to all views used by Tivoli Monitoring Agent.
-- NOTES
-- This file must be run while logged-in as SYSDBA.
-- Catalog.sql must have been run before this file is run.
--
--------------------------------------------------------------------------
-- Usage Instructions
-- Change directory to where this file is
-- cd <directory path name of this file>
-- Bringup sqlplus
-- sqlplus
-- login : sys
-- password : <enter password for user SYS>
-- Create the user ID using the following command
-- create user <user ID> identified by <password>
-- where <user ID> is the user ID that the Oracle Monitoring Agent will use
-- <password> is the desired password for the user ID
-- For example: create user tivoli identified by password;
-- Run this script
-- @krzgrant.sql <user ID> <temporary directory>
--
-- (1) <user ID> = ID of the Oracle user. Must be created
-- prior to running this sql file.
--
-- Example value: tivoli
--
-- (2) <temporary dir> = Name of the temporary directory where sql
-- will output the log to the file krzagent.log.
-- Must be created prior to running this sql
-- file.
--
-- Example value: /opt/IBM/ITM/tmp
--
--------------------------------------------------------------------------
34 / 102
APM Agents Installation and Configuration Instruction
end if;
end;
begin
userName:='&1';
isExist:=0;
select count(username)
into isExist
from dba_users where username=upper('&1');
if isExist = 0 then
dbms_output.put_line('The user '||userName||' does not exist, please create it first!');
return;
end if;
select to_number(substr(banner,instr(banner,'Release')+8,instr(banner,'.',1,2)-8-
instr(banner,'Release')))*10
into version
from V$VERSION
where banner like 'Oracle%' and rownum < 2;
35 / 102
APM Agents Installation and Configuration Instruction
36 / 102
APM Agents Installation and Configuration Instruction
---------------------------------------------
-- Grant common objects
---------------------------------------------
37 / 102
APM Agents Installation and Configuration Instruction
38 / 102
APM Agents Installation and Configuration Instruction
39 / 102
APM Agents Installation and Configuration Instruction
------------------------------------------------
-- Grant create session to the user
------------------------------------------------
execute immediate 'grant connect to '||userName||common_grant(isCDB,
userName);
execute immediate 'grant create session to '||userName||common_grant(isCDB,
userName);
40 / 102
APM Agents Installation and Configuration Instruction
------------------------------------------------
end;
/
spool off
set echo off;
------------------------------------------------
It should be executed in Oracle SQL Plus as user with DBA role. User ID should be provided as configured
in Oracle agent to grant privileges required for agent. Temporary directory is required to write output
to file krzagent.log.
Below instruction was created 26th May 2017 to monitor size of EMS databases on Oracle.
41 / 102
APM Agents Installation and Configuration Instruction
Choose "Create another query" for "RDB Customized SQL Result by SQLID" from KRZ RDB
CUSTOMIZED SQL DETAIL
Change column SQL ID from "$parmSQLID$" to "ASM" (the same name like SQL_ID in
krzcussql.properties)
42 / 102
APM Agents Installation and Configuration Instruction
43 / 102
APM Agents Installation and Configuration Instruction
44 / 102
APM Agents Installation and Configuration Instruction
Go to Style, click on the bottom, go to "Category Axis" and set Attribute to "First String Value" and
Orientation to "Horizontal"
45 / 102
APM Agents Installation and Configuration Instruction
Set legend labels (go to Style and set on the right of graph, and "Legend Label" tab)
46 / 102
APM Agents Installation and Configuration Instruction
47 / 102
APM Agents Installation and Configuration Instruction
3.5.2 Preparation
All agent installation packages are located on ems-apm1 server and can be mounted as follows:
mkdir -p /mnt/install_agents
mount 10.3.70.171:/install_agents /mnt/install_agents
48 / 102
APM Agents Installation and Configuration Instruction
However after installation and configuration of MQ agent only first instance of Queue Manager was
monitored (screen from Tivoli Enterprise Portal navigator for Physical view):
For each Queue Manager, dedicated instance of MQ agent is needed. However documentation
describes only adding another instance of agent by using graphical interface:
https://www.ibm.com/support/knowledgecenter/SS3JRN_7.2.0/com.ibm.omegamon.mes_dist.doc_
7.1/t_multi_kmq_unix.html
During installation we was not able to start graphical interface while executing command:
/opt/IBM/ITM/bin/itmcmd manage
49 / 102
APM Agents Installation and Configuration Instruction
License acceptation:
50 / 102
APM Agents Installation and Configuration Instruction
51 / 102
APM Agents Installation and Configuration Instruction
52 / 102
APM Agents Installation and Configuration Instruction
53 / 102
APM Agents Installation and Configuration Instruction
54 / 102
APM Agents Installation and Configuration Instruction
Configure Data Collector to retrieve data from each WAS instance on the server (prepare good
backup of WAS before):
/opt/IBM/ITM/dchome/7.2.0.0.19/bin/config.sh
WARNING: on production env please install all agents as the same user which runs WAS, for example
wassvc. It would be easiest option. On test env WAS was running as root, so we installed agents as
root user also.
Currently we are using the same WAS agent version (7.2) but additional Interim Fix should also be
installed after base installation.
Accepted to use already existing directory by pressing enter (OS agent was installed earlier)
55 / 102
APM Agents Installation and Configuration Instruction
Accepted to restart other agents while installing new agents by pressing enter
Accepted license:
56 / 102
APM Agents Installation and Configuration Instruction
57 / 102
APM Agents Installation and Configuration Instruction
From this step you can check log of installation on second console:
58 / 102
APM Agents Installation and Configuration Instruction
59 / 102
APM Agents Installation and Configuration Instruction
60 / 102
APM Agents Installation and Configuration Instruction
61 / 102
APM Agents Installation and Configuration Instruction
62 / 102
APM Agents Installation and Configuration Instruction
63 / 102
APM Agents Installation and Configuration Instruction
64 / 102
APM Agents Installation and Configuration Instruction
Username: Mtest
Password: ****
65 / 102
APM Agents Installation and Configuration Instruction
66 / 102
APM Agents Installation and Configuration Instruction
67 / 102
APM Agents Installation and Configuration Instruction
68 / 102
APM Agents Installation and Configuration Instruction
69 / 102
APM Agents Installation and Configuration Instruction
70 / 102
APM Agents Installation and Configuration Instruction
Restart of WAS profile is needed after configuration of data collector for this profile
After restart of second profile we started receiving data for this profile in TEP
71 / 102
APM Agents Installation and Configuration Instruction
All agent installation packages are located on ems-apm1 server and can be mounted as follows:
mkdir -p /mnt/install_agents
mount 10.3.70.171:/install_agents /mnt/install_agents
Prerequisites: “32/64 Bit Agent Compatibility Package (x86-64)” must be installed before J2EE agent
installation. Compatibility Package is part of OS Agent, for example Windows OS agent as before.
72 / 102
APM Agents Installation and Configuration Instruction
73 / 102
APM Agents Installation and Configuration Instruction
74 / 102
APM Agents Installation and Configuration Instruction
75 / 102
APM Agents Installation and Configuration Instruction
GSK component:
IBM GSKit Security Interface not installed - currently installed is later!
JVM component:
Embedded JVM not installed - currently installed is later!
76 / 102
APM Agents Installation and Configuration Instruction
77 / 102
APM Agents Installation and Configuration Instruction
78 / 102
APM Agents Installation and Configuration Instruction
Data collectors should connect to port 63336. Data collectors will be configured later.
79 / 102
APM Agents Installation and Configuration Instruction
80 / 102
APM Agents Installation and Configuration Instruction
81 / 102
APM Agents Installation and Configuration Instruction
82 / 102
APM Agents Installation and Configuration Instruction
GSK component:
IBM GSKit Security Interface not installed - currently installed is later!
JVM component:
Embedded JVM not installed - currently installed is later!
83 / 102
APM Agents Installation and Configuration Instruction
84 / 102
APM Agents Installation and Configuration Instruction
85 / 102
APM Agents Installation and Configuration Instruction
Data collectors should connect to port 63336. Data collectors will be configured later.
86 / 102
APM Agents Installation and Configuration Instruction
87 / 102
APM Agents Installation and Configuration Instruction
88 / 102
APM Agents Installation and Configuration Instruction
89 / 102
APM Agents Installation and Configuration Instruction
90 / 102
APM Agents Installation and Configuration Instruction
Data Collector Host mentioned below is local host IP address, which was 172.31.6.22 in this particular
case.
91 / 102
APM Agents Installation and Configuration Instruction
If Tomcat is executed as Windows service then before configuration create empty file
C:\IBM\catalina.bat and provide path to this file during below configuration step.
92 / 102
APM Agents Installation and Configuration Instruction
93 / 102
APM Agents Installation and Configuration Instruction
94 / 102
APM Agents Installation and Configuration Instruction
3.7.3.5 Additional Tomcat Data Collector configuration steps needed in Tomcat is executed as
Windows service
If Tomcat is executed as Windows service then before Data Collector configuration create empty file
C:\IBM\catalina.bat and provide path to this file during configuration.
After finished Data Collector configuration use content of catalina.bat file to configure:
PATH system environment,
Tomcat properties.
Use JAVA_OPTIONS from catalina.bat to extend existing Java Options in Tomcat7 Properties.
Below fix was required for J2EE agent version 7.1.1 IF4. Currently available version is 7.1.1 IF10. To be
tested if fix is required still.
95 / 102
APM Agents Installation and Configuration Instruction
After each configuration or reconfiguration of J2EE agent add below line to file”
C:\IBM\ITM\TMAITM6\j2eedc\7.1.1.0.4\runtime\tomcat70.Websphersrv.Tomcat7\dc.java.propertie
s
# required to monitor Tomcat started as Windows service (PMR 10097,007,698)
itcam.server.runtime.dir=tomcat70.Websphersrv.Tomcat7
# Perl is required
# example command to install perl on Linxu:
yum install perl
Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):
Network Protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
96 / 102
APM Agents Installation and Configuration Instruction
- ip6.pipe
- ip6.spipe
- 0 for none
Network Protocol 2 (Default is: 0): ip.spipe
Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2): 1
Secondary TEMS protocol [ip, sna, ip.pipe, ip.spipe, ip6, ip6.pipe or ip6.spipe] (Default is: ip.pipe):
97 / 102
APM Agents Installation and Configuration Instruction
4 User procedures
4.1 Launching Tivoli Enterprise Portal
Install IBM Java 8. It can be downloaded from ems-apm3 (10.3.70.173) as below:
Create batch file (for example tep.bat) including following content to start TEP.
Double click on created batch file to launch Tivoli Enterprise Portal, which is APM GUI.
Name ems-apm3.cbe.com.et must resolve to 10.3.70.173 and must be added to exception. For
example for 32-bit Java execute C:\Program Files (x86)\IBM\Java80\jre\bin\javacpl.exe and configure
as follows.
98 / 102
APM Agents Installation and Configuration Instruction
99 / 102
APM Agents Installation and Configuration Instruction
5 Troubleshooting
5.1 Cannot start TEP client because of a weak signature algorithm MD5withRSA
5.1.1 Symptom
Can not start TEP client. Following error is displayed:
5.1.2 Resolution
Reason of issue is weak signature algorithm used to sign T24 agent libraries.
Below part:
jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \
DSA keySize < 1024, include jdk.disabled.namedCurves
100 / 102
APM Agents Installation and Configuration Instruction
5.2.2 Resolution
Install “32/64 Bit Agent Compatibility Package (x86-64)” available as additional option while installing
OS Agent. Example for Windows OS agent installation below.
101 / 102
APM Agents Installation and Configuration Instruction
102 / 102