Step 1) Download the software
Step 2) Prepare the OS environment
Step 3 ) Install the APM Server
Step 4) Test the access to console
Step 5) Install Linux Agent
#
# /etc/fstab
# Created by anaconda on Mon Nov 9 20:20:10 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=379de64d-ea11-4f5b-ae6a-0aa50ff7b24d / xfs defaults 0 0
/var/swap.1 swap swap defaults 0 0
UUID=379de64d-ea11-4f5b-ae6a-0aa50ff7b24d /tmp tmpfs defaults 0 2
# ./install.sh
Do you want to upgrade from an existing installation of the Performance Management server [ 1-yes or 2-no; "no" is default ]?
This script will install IBM Application Performance Management Advanced (8.1.3.0).
Do you want to continue [ 1-yes or 2-no; "yes" is default ]?
Do you want to change the default installation directory ( /opt/ibm ) [ 1-yes or 2-no; "no" is default ]?
Do you accept the license agreement(s) found in the /opt/software/APM/server/licenses/ipm_apm_advanced directory [ 1-accept or 2-d
License agreement was accepted, installation will proceed...
Do you want to change the default password for the administrator account [ 1-yes or 2-no; "no" is default ]?
Agent installation images must be configured to connect to this server. If you have downloaded the agent images to the same systemyou can configure the agent images now.
Do you want to configure the compressed (*.zip or *.tar) agent installation files now [ 1-yes or 2-no; "yes" is default ]?
Enter the path to the directory where you downloaded the compressed agent (and/or Hybrid Gateway) installation images (e.g. /opt/a
Enter the path or accept the default [/opt/software/APM/agent]:
Enter the path to the directory where configured agent installation images can be stored.
Enter the path or accept the default [/opt/ibm/ccm/depot]:
Enter the IP address/hostname that will be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Enter the hostname and IP address of the server that will be used in a web browser to log in to the Performance Management consoleault values or provide your own.
Default values:
Fully qualified domain name: ip-172-31-61-199.ec2.internal
Short hostname: ip-172-31-61-199
IP: 172.31.61.199
Do you want to use these values [ 1-yes or 2-no; "yes" is default ]?
Do you want to install the database or connect to an existing DB2? [ 1-install database or 2-connect to existing database; "1-inst default ]?
Running Prerequisite Scanner. This may take a few minutes depending on the number of checked components and machine's performance.
Setting Prerequisite Scanner output directory to user defined directory: /opt/ibm/ccm/logs/apm-prs_20160707_120418
Reading Prerequisite Scanner configuration files from user defined directory: /opt/ibm/ccm/logs/apm-prs_20160707_120418/config
IBM Prerequisite Scanner
Version: 1.2.0.17
Build : 20150827
OS name: Linux
User name: root
Machine Information
Machine name: ip-172-31-61-199.ec2.internal
Serial number: ec214191-f7fd-600f-af67-faf3acd2c895
Scenario: Prerequisite Scan
IPDB2 - IBM Performance Management and IBM DB2 Server [version 08010300]:
Property Result Found Expected
======== ====== ===== ========
db2.usersNotPresent WARN db2apm,db2fenc1,dasusr1,itmuser db2apm,db2fenc1,dasusr1,itmuser
db2.groupsNotPresent WARN db2iadm1,db2fadm1,dasadm1 db2iadm1,db2fadm1,dasadm1
os.isLDAPConfigured WARN True False
Overall result: WARNING
Detailed results are also available in /opt/ibm/ccm/logs/apm-prs_20160707_120418/result.txt
The prerequisite check returned warnings. Installation can be continued, however is recommended to meet all above requirements.
Continue with this installation [ 1-yes or 2-no; "no" is default ]? 1
No further user input is required. The installation and configuration of components is now starting and may take up to one hour tonstallation log is available at "/opt/ibm/ccm/logs/apm-server-install_20160707_120418.log".
Installing DB2. Please wait...
Installing the Performance Management server. Please wait...
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
Starting components of the Performance Management server...
.....................
...
.................................
Configuring components of the Performance Management server...
All components are configured successfully.
Configuring agent installation images...
Agent installation images have been configured and are available in the following directory: /opt/ibm/ccm/depot.
The configuration of agent installation images can also be done manually.
To do this manual configuration, first create configuration packages by using the following script: /opt/ibm/ccm/make_configuration_packages.sh. Then, use the output packages from the first script and run the following one: /opt/ibm/ccm/configure_agent_images.sh.
Installer has detected existing keyfiles and/or agent configuration directories. They have been renamed to . If you want to use them to configure your server and/or agents please review the documentation.
Finalizing the installation...
The server size has been configured as 'small' based on the number of CPUs, amount of memory and free disk space. To reconfigure the server size, run script /opt/ibm/ccm/server_size.sh with the desired size as a parameter. Valid sizes are: extra_small, small, medium.
Please review the documentation at http://ibm.biz/mon_doc for more information.
To begin using the product, copy the configured agent images to the systems running the applications you want to monitor and install the agents. Log in to the Performance Management console using https://ip-172-31-61-199.ec2.internal:9443 and review the topics on the "Getting Started" page.
[root@ip-172-31-61-199 server]#
./make_configuration_packages.sh
./make_configuration_packages.sh: line 212: host: command not found
Enter the IP address/hostname that should be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Configuration packages which contain the parameters for connecting to the server will be created and stored in a directory that you specify.
Enter the path to the directory where you want to store the configuration packages or accept the default value [/tmp/mkcustpkg_workdir.32514]: /opt/software/ccm/depot
Agents can connect to the server using secure https or unsecure http protocol.
Enter your choice [ 1-http, 2-https; "http" is default ]? ^C
[root@ip-172-31-61-199 ccm]# ./make_configuration_packages.sh
./make_configuration_packages.sh: line 212: host: command not found
Enter the IP address/hostname that should be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Configuration packages which contain the parameters for connecting to the server will be created and stored in a directory that you specify.
Enter the path to the directory where you want to store the configuration packages or accept the default value [/tmp/mkcustpkg_workdir.5132]: /opt/ibm/ccm/depot
Agents can connect to the server using secure https or unsecure http protocol.
Enter your choice [ 1-http, 2-https; "http" is default ]?
Configuration packages are stored in the following directory: /opt/ibm/ccm/depot.
[root@ip-172-31-61-199 ccm]# cd /opt/ibm/ccm/depot/
[root@ip-172-31-61-199 depot]# ls
CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar onprem_config.tar onprem_config.zip
]# ./configure_agent_images.sh
To pre-configure agent images or the Hybrid Gateway image, you must have created configuration packages with the parameters for connecting to the server. You either created the configuration packages as part of the installation of the infrastructure node or by using the make_configuration_packages.sh script on the system where the infrastructure node is installed.
Enter the path to the directory containing the configuration packages: /opt/software/APM/config_packageFiles
Agent installation images and the Hybrid Gateway image are pre-configured using this script.
Enter the path to directory where the images (compressed or uncompressed) are located: /opt/software/APM/agent
The configuration script copies the pre-configured images to another directory.
Enter the path to the directory where you want to store the pre-configured images or accept the default value /opt/ibm/ccm/depot:
Reading the file /opt/software/APM/agent/./CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar
Writing the file /opt/ibm/ccm/depot/CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar
Reading the file /opt/software/APM/agent/./CNAR5ML_ipm_apm_advanced_agents_win_8.1.3.zip
Writing the file /opt/ibm/ccm/depot/CNAR5ML_ipm_apm_advanced_agents_win_8.1.3.zip
Agent images are pre-configured and available in /opt/ibm/ccm/depot.
Step 2) Prepare the OS environment
Step 3 ) Install the APM Server
Step 4) Test the access to console
Step 5) Install Linux Agent
#
# /etc/fstab
# Created by anaconda on Mon Nov 9 20:20:10 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=379de64d-ea11-4f5b-ae6a-0aa50ff7b24d / xfs defaults 0 0
/var/swap.1 swap swap defaults 0 0
UUID=379de64d-ea11-4f5b-ae6a-0aa50ff7b24d /tmp tmpfs defaults 0 2
# ./install.sh
Do you want to upgrade from an existing installation of the Performance Management server [ 1-yes or 2-no; "no" is default ]?
This script will install IBM Application Performance Management Advanced (8.1.3.0).
Do you want to continue [ 1-yes or 2-no; "yes" is default ]?
Do you want to change the default installation directory ( /opt/ibm ) [ 1-yes or 2-no; "no" is default ]?
Do you accept the license agreement(s) found in the /opt/software/APM/server/licenses/ipm_apm_advanced directory [ 1-accept or 2-d
License agreement was accepted, installation will proceed...
Do you want to change the default password for the administrator account [ 1-yes or 2-no; "no" is default ]?
Agent installation images must be configured to connect to this server. If you have downloaded the agent images to the same systemyou can configure the agent images now.
Do you want to configure the compressed (*.zip or *.tar) agent installation files now [ 1-yes or 2-no; "yes" is default ]?
Enter the path to the directory where you downloaded the compressed agent (and/or Hybrid Gateway) installation images (e.g. /opt/a
Enter the path or accept the default [/opt/software/APM/agent]:
Enter the path to the directory where configured agent installation images can be stored.
Enter the path or accept the default [/opt/ibm/ccm/depot]:
Enter the IP address/hostname that will be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Enter the hostname and IP address of the server that will be used in a web browser to log in to the Performance Management consoleault values or provide your own.
Default values:
Fully qualified domain name: ip-172-31-61-199.ec2.internal
Short hostname: ip-172-31-61-199
IP: 172.31.61.199
Do you want to use these values [ 1-yes or 2-no; "yes" is default ]?
Do you want to install the database or connect to an existing DB2? [ 1-install database or 2-connect to existing database; "1-inst default ]?
Running Prerequisite Scanner. This may take a few minutes depending on the number of checked components and machine's performance.
Setting Prerequisite Scanner output directory to user defined directory: /opt/ibm/ccm/logs/apm-prs_20160707_120418
Reading Prerequisite Scanner configuration files from user defined directory: /opt/ibm/ccm/logs/apm-prs_20160707_120418/config
IBM Prerequisite Scanner
Version: 1.2.0.17
Build : 20150827
OS name: Linux
User name: root
Machine Information
Machine name: ip-172-31-61-199.ec2.internal
Serial number: ec214191-f7fd-600f-af67-faf3acd2c895
Scenario: Prerequisite Scan
IPDB2 - IBM Performance Management and IBM DB2 Server [version 08010300]:
Property Result Found Expected
======== ====== ===== ========
db2.usersNotPresent WARN db2apm,db2fenc1,dasusr1,itmuser db2apm,db2fenc1,dasusr1,itmuser
db2.groupsNotPresent WARN db2iadm1,db2fadm1,dasadm1 db2iadm1,db2fadm1,dasadm1
os.isLDAPConfigured WARN True False
Overall result: WARNING
Detailed results are also available in /opt/ibm/ccm/logs/apm-prs_20160707_120418/result.txt
The prerequisite check returned warnings. Installation can be continued, however is recommended to meet all above requirements.
Continue with this installation [ 1-yes or 2-no; "no" is default ]? 1
No further user input is required. The installation and configuration of components is now starting and may take up to one hour tonstallation log is available at "/opt/ibm/ccm/logs/apm-server-install_20160707_120418.log".
Installing DB2. Please wait...
Installing the Performance Management server. Please wait...
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
Starting components of the Performance Management server...
.....................
...
.................................
Configuring components of the Performance Management server...
All components are configured successfully.
Configuring agent installation images...
Agent installation images have been configured and are available in the following directory: /opt/ibm/ccm/depot.
The configuration of agent installation images can also be done manually.
To do this manual configuration, first create configuration packages by using the following script: /opt/ibm/ccm/make_configuration_packages.sh. Then, use the output packages from the first script and run the following one: /opt/ibm/ccm/configure_agent_images.sh.
Installer has detected existing keyfiles and/or agent configuration directories. They have been renamed to . If you want to use them to configure your server and/or agents please review the documentation.
Finalizing the installation...
The server size has been configured as 'small' based on the number of CPUs, amount of memory and free disk space. To reconfigure the server size, run script /opt/ibm/ccm/server_size.sh with the desired size as a parameter. Valid sizes are: extra_small, small, medium.
Please review the documentation at http://ibm.biz/mon_doc for more information.
To begin using the product, copy the configured agent images to the systems running the applications you want to monitor and install the agents. Log in to the Performance Management console using https://ip-172-31-61-199.ec2.internal:9443 and review the topics on the "Getting Started" page.
[root@ip-172-31-61-199 server]#
./make_configuration_packages.sh
./make_configuration_packages.sh: line 212: host: command not found
Enter the IP address/hostname that should be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Configuration packages which contain the parameters for connecting to the server will be created and stored in a directory that you specify.
Enter the path to the directory where you want to store the configuration packages or accept the default value [/tmp/mkcustpkg_workdir.32514]: /opt/software/ccm/depot
Agents can connect to the server using secure https or unsecure http protocol.
Enter your choice [ 1-http, 2-https; "http" is default ]? ^C
[root@ip-172-31-61-199 ccm]# ./make_configuration_packages.sh
./make_configuration_packages.sh: line 212: host: command not found
Enter the IP address/hostname that should be used by agents to communicate with the server.
Enter the IP address/hostname or accept the default [172.31.61.199]:
Configuration packages which contain the parameters for connecting to the server will be created and stored in a directory that you specify.
Enter the path to the directory where you want to store the configuration packages or accept the default value [/tmp/mkcustpkg_workdir.5132]: /opt/ibm/ccm/depot
Agents can connect to the server using secure https or unsecure http protocol.
Enter your choice [ 1-http, 2-https; "http" is default ]?
Configuration packages are stored in the following directory: /opt/ibm/ccm/depot.
[root@ip-172-31-61-199 ccm]# cd /opt/ibm/ccm/depot/
[root@ip-172-31-61-199 depot]# ls
CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar onprem_config.tar onprem_config.zip
]# ./configure_agent_images.sh
To pre-configure agent images or the Hybrid Gateway image, you must have created configuration packages with the parameters for connecting to the server. You either created the configuration packages as part of the installation of the infrastructure node or by using the make_configuration_packages.sh script on the system where the infrastructure node is installed.
Enter the path to the directory containing the configuration packages: /opt/software/APM/config_packageFiles
Agent installation images and the Hybrid Gateway image are pre-configured using this script.
Enter the path to directory where the images (compressed or uncompressed) are located: /opt/software/APM/agent
The configuration script copies the pre-configured images to another directory.
Enter the path to the directory where you want to store the pre-configured images or accept the default value /opt/ibm/ccm/depot:
Reading the file /opt/software/APM/agent/./CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar
Writing the file /opt/ibm/ccm/depot/CNAR4ML_ipm_apm_adv_agents_xlinux_8.1.3.tar
Reading the file /opt/software/APM/agent/./CNAR5ML_ipm_apm_advanced_agents_win_8.1.3.zip
Writing the file /opt/ibm/ccm/depot/CNAR5ML_ipm_apm_advanced_agents_win_8.1.3.zip
Agent images are pre-configured and available in /opt/ibm/ccm/depot.
No comments:
Post a Comment