Monday, June 22, 2015

How install OS Agents from IBM Service Engage - and starting it.

After successful creation of a Application Performance Monitoring subscription from Service Engage
https://www.ibmserviceengage.com/


The user is prompted with an option to download the agents to be installed on the remote server.
Here, below I will choose to download the OS agents, and scp it to the remote Linux server where
I will untar and run the install APM Agents.sh script.

See notes below.

https://www.ibmserviceengage.com/



You would need to have an IBM Id to start creating one.

Once the appropriate subscription  is created and in this case - I will add the  Performance Management Component





After successful creation - you will be able to download the agents to be installed on the Remote agents.



Below is the extracted contents, and running of install script installAPMaasAgents.sh script.

[root@nc184107 IAPMaaS_Agent_Install_8.1.1]# ./installAPMaaSAgents.sh
 
The following products are available for installation:
 
    1) Monitoring Agent for Linux OS
    2) Monitoring Agent for Ruby
    3) Monitoring Agent for MySQL
    4) Monitoring Agent for MongoDB
    5) Response Time Monitoring Agent
    6) Monitoring Agent for WebSphere Applications
    7) Monitoring Agent for PHP
    8) Monitoring Agent for PostgreSQL
    9) Monitoring Agent for Python
   10) Monitoring Agent for Linux KVM
   11) Monitoring Agent for Tomcat
   12) Monitoring Agent for Node.js
   13) Monitoring Agent for DB2
   14) Monitoring Agent for Oracle Database
   15) Monitoring Agent for SAP Applications
   16) Monitoring Agent for DataPower
   17) Monitoring Agent for VMware VI
   18) Monitoring Agent for HTTP Server
   19) Monitoring Agent for Websphere MQ
   20) Monitoring Agent for IBM Integration Bus
   21) Monitoring Agent for JBoss
   22) Monitoring Agent for WebSphere Infrastructure Manager
   23) all of the above
 
Type the numbers that correspond to the products that you want to install. Type "q" to quit selection.
If you enter more than one number, separate the numbers by a space or comma.
 
Type your selections here (For example: 1,2): 1
 
The following agents will be installed:
 
    Monitoring Agent for Linux OS
 
Are your selections correct [ 1-Yes, 2-No; default is 1 ]? 1
 
Please specify the agent home (default: /opt/ibm/apm/agent):
 
The agent will be installed in /opt/ibm/apm/agent
 
Do you accept the license agreement(s) found in the directory /root/Desktop/IAPMaaS_Agent_Install_8.1.1/licenses?
 
Please enter [ 1-to accept the agreement, 2-to decline the agreement ] : 1
 
User has accepted the license agreement(s).
 
    Monitoring Agent for Linux OS will be installed.
 
Running ./os-agent.sh install
Checking product prerequisites before installation. You can disable this check by setting environment variable SKIP_PRECHECK
Setting Prerequisite Scanner output directory to user defined directory: /opt/ibm/apm/agent/logs/prereqchecker/20150622_031906

IBM Prerequisite Scanner
     Version: 1.2.0.15
     Build  : 20141127
     OS name: Linux
   User name: root
 
 Machine Information
 Machine name: nc184107
 Serial number:  VMware-42 23 c4 e2 40 6d 5e 9a-1a 2c a9 b1 d3 ce 67 19
 

Scenario: Prerequisite Scan



KAX - IBM Tivoli Monitoring Shared Libraries [version 06350900]:

KGS - IBM GSKit Security Interface [version 08005036]:

KLZ - Linux Monitoring Agent Prerequisite Checker [version 06350900]:


Overall result:   PASS  

Detailed results are also available in /opt/ibm/apm/agent/logs/prereqchecker/20150622_031906/result.txt

Installing core framework (common components)
Starting installation. Log file is /opt/ibm/apm/agent/logs/install_20150622-032242.log.
Installing components.
IBM Monitoring Shared Libraries [version: 06350900]
IBM GSKit Security Interface [version: 08005036]
Installation successfully completed.

Installing agent
Starting installation. Log file is /opt/ibm/apm/agent/logs/install_20150622-032249.log.
Installing components.
Monitoring Agent for Linux OS [version: 06350900]
You can secure your installation by running /opt/ibm/apm/agent/bin/secure.sh tool. Consult the documentation for details on how to run it.
Automatic start at system initialization has been configured.
Automatic stop at system shutdown has been configured.
Installation successfully completed.

Agent installation completed. Agent was configured and started using default configuration settings.
End running ./os-agent.sh install
 
 
#####################################################################################################################
The following agents have been installed successfully into the directory /opt/ibm/apm/agent:
    Monitoring Agent for Linux OS                 status: agent started
 
For any agent that is started, the agent is configured with the default settings.
 
Use the following commands to manage each installed agent:
    Monitoring Agent for Linux OS                 /opt/ibm/apm/agent/bin/os-agent.sh start or stop or status or uninstall
 
The install log file is /opt/ibm/apm/agent/logs/APMaaSAgents_install.log.
 
Performance Management Documentation URL:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20Application%20Performance%20Management%20as%20a%20Service/page/APMaaS%20Documentation
 
#################################################################


[root@nc184107 IAPMaaS_Agent_Install_8.1.1]# /opt/ibm/apm/agent/bin/os-agent.sh start
Processing. Please wait...
Info: The "Monitoring Agent for Linux OS" is already running.



Verify that the processes are running :

[root@nc184xxx bin]# ps -ef |grep lz
root     11021     1  2 03:44 pts/3    00:00:00 /opt/ibm/apm/agent/lx8266/lz/bin/klzagent
root     12470  5582  0 03:44 pts/3    00:00:00 grep lz


In my next blog - I will tell about how to view this OS Agent on the APM subscription dashboard.

No comments:

Post a Comment