You can use the Installer to install or uninstall ITCAM Agent for J2EE in silent mode. You can also install or uninstall support files
for the Tivoli® Enterprise
Monitoring Server, Tivoli Enterprise Portal Server, and Tivoli Enterprise Portal client on Windows in silent mode. To do this, modify
the sample files provided on the installation image, and then run
the installer from the command line.
To perform a silent installation or uninstallation, first you need
to prepare the response file. Then, run the installer, supplying the
name of the response file.
Preparing the response file for Agent installation
To prepare a response file for installing the Agent, perform the
following procedure:
- On the product installation image, in the WINDOWS\Deploy directory, locate the YJ_Silent_Install.txt file.
- Make a copy of this file, and open it in a text editor.
- Modify any of the following properties, if necessary. Do not modify
any other properties.
Table 1. Agent installation response file
propertiesResponse file property |
Meaning |
Install Directory |
The directory (ITM_home)
where the Agent is to be installed. The destination directory can
be shared with other IBM® Tivoli Monitoring products. If
you want to use a location other than the default (C:\IBM\ITM), click Browse, and select the folder that you want to use. Note: You can have multiple installations of the Agent on the same host.
In this case, specify a different destination folder for each installation.
|
Install Folder |
The Windows program folder (under the Programs menu)
where IBM Tivoli Monitoring programs will be listed. |
EncryptionKey |
The 32-character encryption key used
to secure password transmission and other sensitive data across your IBM Tivoli Monitoring environment. See IBM Tivoli Monitoring: Installation
and Setup Guide for details about the encryption key. |
- Save the edited copy in a work directory, for example, as C:\TEMP\SILENT.TXT.
Preparing the response file for Agent uninstallation
To prepare a response file for uninstalling the Agent, perform
the following procedure:
- On the product installation image, in the WINDOWS\Deploy directory, locate the YJ_Silent_Uninstall.txt file.
- Copy the file to a work directory, for example, as C:\TEMP\SILENT.TXT. Do not modify the copy.
Preparing the response file for Support Files installation
To prepare a response file for installing the support files on
a Tivoli Enterprise Monitoring
Server, Tivoli Enterprise
Portal Server, or Tivoli Enterprise
Portal client, perform the following procedure:
- On the product installation image, in the WINDOWS directory, locate the silent.txt file.
- Make a copy of this file, and open it in a text editor.
- Find the following lines and uncomment (by removing ; as the first character) those that apply to the host you are installing
on:
KYJWICMS=ITCAM Agent for WebSphere Applications Support ( TEMS )
KYJWIXEW=ITCAM Agent for WebSphere Applications Support ( TEP Workstation )
KYJWICNS=ITCAM Agent for WebSphere Applications Support ( TEP Server )
- Save the edited copy in a work directory, for example, as C:\TEMP\SILENT.TXT.
Preparing the response file for Support Files uninstallation
To prepare a response file for uninstalling the support files
on a Tivoli Enterprise Monitoring
Server, Tivoli Enterprise
Portal Server, or Tivoli Enterprise
Portal client, perform the following procedure:
- On the product installation image, in the WINDOWS directory, locate the silent.txt file.
- Make a copy of this file, and open it in a text editor.
- Find the following line and uncomment it (by removing ; as the first character):
UNINSTALLSELECTED=Yes
- Find the following lines and uncomment (by removing ; as the first character) those that apply to the host you are uninstalling
on:
KYJWICMS=ITCAM Agent for WebSphere Applications Support ( TEMS )
KYJWIXEW=ITCAM Agent for WebSphere Applications Support ( TEP Workstation )
KYJWICNS=ITCAM Agent for WebSphere Applications Support ( TEP Server )
- Save the edited copy in a work directory, for example, as C:\TEMP\SILENT.TXT.
Running the Installer in silent mode
After
preparing the response file for your installation and uninstallation,
run the installer, specifying the path and name for the response file.
Perform the following procedure:
- Open a Windows command
prompt window, and change to the WINDOWS directory on the installation
image.
- Invoke setup as follows. Specify the parameters in the exact order
shown:
start /wait setup /z"/sfresponse_file_name" /s /f2"log_file_name"
where
response_file_name is the name of the response file you
have prepared (with full path), and
log_file_name is the name of the log file that the Installer will write (with
full path). For example:
start /wait setup /z"/sfC:\TEMP\SILENT.TXT" /s /f2"C:\TEMP\INSTALL.LOG"
Attention: if you are performing an upgrade or maintenance
level update, and the Monitoring Agent is currently running, silent
installation will be aborted.
You can find complete information about silent IBM Tivoli Monitoring installation in "Appendix B. Performing a silent installation of IBM Tivoli Monitoring" of the IBM Tivoli Monitoring: Installation and Setup Guide.