Installing IBM Spectrum Control with a remote database by using silent mode
You can install IBM Spectrum Control in a multiple-server environment by using silent mode.
Before you begin
For this procedure, the terms Server A and Server B denote the two servers. If you plan to install IBM Spectrum Control as a non-root user, have your system administrator complete the tasks that are described in Installing IBM Spectrum Control in a single-server AIX or Linux environment on both servers before you begin the installation.
If you are installing IBM Spectrum Control in silent mode on a Windows operating system, confirm that your Windows firewalls are disabled in the Control Panel.
About this task
Server A will have Db2® and the IBM Spectrum Control database repository installed. Server B will have the IBM Spectrum Control servers installed.
To install IBM Spectrum Control in a multiple-server environment by using silent mode, complete the following steps:
Procedure
- Complete the following steps on Server A:
-
Log on to Server A.
If you are installing on a Windows operating system, log on as a user who has administrator privileges. If you are installing on an AIX or Linux operating system, log on as the root user or as a non-root user who has sudo privileges.
-
Install Db2 on Server A.
For more information about installing Db2, see Installing Db2. If you install Db2 on a Windows server, make sure that you restart the server before you install IBM Spectrum Control.
-
If you logged on as an AIX or Linux non-root user, run the following command in a command shell:
For example:sudo DB2_installation_directory/cfg/db2ln
sudo /opt/ibm/db2/V11.5/cfg/db2ln
-
When you install IBM
Spectrum Control, the TPCDB database is created in the location that you specify in the Db2
DFTDBPATH
variable.To determine the currentDFTDBPATH
value, run the following command in a Db2 CLI window:
If you want to install this database in a location that is other than the default location:get dbm cfg
- Run the following command in a Db2 CLI window:
where path is the new value for theupdate dbm cfg using DFTDBPATH path
DFTDBPATH
variable. - If you are installing on an AIX or Linux operating system, run the db2stop and db2start commands to stop and restart Db2.
- Run the following command in a Db2 CLI window:
- On Server A, set the following parameters in the
silent_MultipleServer.properties
response file to install the remote database repository.- LICENSE_ACCEPTED=true
- CHOSEN_INSTALL_TYPE="Multiple Server Install"
- varMultipleServerComponentList=database
- USER_INSTALL_DIR=option
- varSrvName=option
- varDBAdmUsr=user_name
- varDBAdmPW=password
- varDBName=database_name
- varDBPath=database_location
- varDBLogPath=log_location
For more information about editing the
silent_MultipleServer.properties
file, see Editing the response file. - Save the response file.
-
If you are installing on an AIX or Linux operating system, in a command shell, source the Db2 user profile
db2profile
for the Db2 instance owner.For example:. /home/db2inst1/sqllib/db2profile
- Run the silent mode installation program on Server A.
- For Windows operating systems, run the following
command:
setup.bat -l language -i silent -f absolute_path_to_response_file
where language can be one of the following values:- Czech - cs
- English - en
- French - fr
- German - de
- Hungarian - hu
- Italian - it
- Japanese - ja
- Korean - ko
- Polish - pl
- Brazilian Portuguese - pt_BR
- Russian - ru
- Spanish - es
- Chinese (Simplified) - zh_CN
- Chinese (Traditional) - zh_TW
absolute_path_to_response_file
is the absolute path to the response file. For example, the following command specifies the language and the path:setup.bat -l fr -i silent -f c:\TPC\silent_MultipleServer.properties
- For AIX or Linux
operating systems, run the following command:Root user
For example, the following command specifies the language and the path:./setup.bin -l language -i silent -f /absolute_path_to_response_file
./setup.bin -l de -i silent -f /TPC/silent_MultipleServer.properties
Non-root user
For example, the following command specifies the language and the path:sudo -E ./setup.bin -l language -i silent -f /absolute_path_to_response_file
sudo -E ./setup.bin -l de -i silent -f /TPC/silent_MultipleServer.properties
If you do not specify a language or if the language is not specified correctly, the installation program uses the English language as the default.
- For Windows operating systems, run the following
command:
- Optional: Monitor the progress of the installation.
- To view the progress of the silent mode installation on Windows operating systems, check the trace log in the following
path:
installation_dir\logs\traceTPCInstall.log
- To view the progress of the silent mode installation on AIX or Linux operating systems, check the trace log in
the following
path:
installation_dir/logs/traceTPCInstall.log
Tip: If there are preinstallation errors, you can review thelax*out.txt
andlax*err.txt
files that are in the/tmp
and%TEMP%
directories. - To view the progress of the silent mode installation on Windows operating systems, check the trace log in the following
path:
-
Log on to Server A.
- Complete the following steps on Server B:
-
Log on to Server B.
If you are installing on a Windows operating system, log on as a user who has administrator privileges. If you are installing on an AIX or Linux operating system, log on as the root user or as a non-root user who has sudo privileges.
-
On Server B, set the following parameters in the
silent_MultipleServer.properties
response file:- LICENSE_ACCEPTED=true
- CHOSEN_INSTALL_TYPE="Multiple Server Install"
- varMultipleServerComponentList=servers
- USER_INSTALL_DIR=option
- varSrvName=option
- varTPCPortRangeSP=port
- varCommonUsrID=user_name
- varCommonUsrPw=password
- varRemoteDBSrvName=host_name
- varRemoteDBPort=port
- varRemoteDBAdmUsr=user_name
- varRemoteDBAdmPW=password
- varRemoteDBName=database_name
For more information about editing the silent_MultipleServer.properties file, see Editing the response file.
- Run the silent mode installation program on Server B.
- For Windows operating systems, run the following
command:
setup.bat -l language -i silent -f absolute_path_to_response_file
where language can be one of the following values:- Czech - cs
- English - en
- French - fr
- German - de
- Hungarian - hu
- Italian - it
- Japanese - ja
- Korean - ko
- Polish - pl
- Brazilian Portuguese - pt_BR
- Russian - ru
- Spanish - es
- Chinese (Simplified) - zh_CN
- Chinese (Traditional) - zh_TW
absolute_path_to_response_file
is the absolute path to the response file. For example, the following command specifies the language and the path:setup.bat -l fr -i silent -f c:\TPC\silent_MultipleServer.properties
- For AIX or Linux
operating systems, run the following command:Root user
For example, the following command specifies the language and the path:./setup.bin -l language -i silent -f /absolute_path_to_response_file
./setup.bin -l de -i silent -f /TPC/silent_MultipleServer.properties
Non-root user
For example, the following command specifies the language and the path:sudo -E ./setup.bin -l language -i silent -f /absolute_path_to_response_file
sudo -E ./setup.bin -l de -i silent -f /TPC/silent_MultipleServer.properties
If you do not specify a language or if the language is not specified correctly, the installation program uses the English language as the default.
- For Windows operating systems, run the following
command:
- Optional: Monitor the progress of the installation.
- To view the progress of the silent mode installation on Windows operating systems, check the trace log in the following
path:
installation_dir\logs\traceTPCInstall.log
- To view the progress of the silent mode installation on AIX or Linux operating systems, check the trace log in
the following
path:
installation_dir/logs/traceTPCInstall.log
Note: If there are preinstallation errors, you can review thelax*out.txt
andlax*err.txt
files that are in the/tmp
and%TEMP%
directories. - To view the progress of the silent mode installation on Windows operating systems, check the trace log in the following
path:
-
Log on to Server B.