Silent Installation
This article covers the steps required to perform silent installation of CDP for DB2.
Silent installation of CDP for DB2 does not prompt the user for any parameters. The parameters are configured in the install.properties
file in the CDP_for_DB2
directory (this is relative to the release package). The silent installation is only supported for install mode.
Steps
Configure the install.properties file as shown here:
Silent_Installer: Set the value as y if user want to perform silent installation. By default, the parameter is set to n.
User_Ingrian_Exist: Set the value as y if the ingrain user exists. If user does not exist, create it using a current user with SYSADM authorities.
Database_Ingrian_Exist: Set the value as y if the ingrian database exists. Ingrian database contains the tables to be migrated.
DB2_Server_version_11.5: Set the value as y if the DB2 server version is 11.5 and above.
User_Password: Specify the ingrian user password.
NAE_IP: Set the IP address of the NAE server.
Log_File: Set the directory and name of the log file the client will create. Do not use quotes. The ingrian user should have write access to this file.
INSTANCE_ID: Specify the Instance ID for CDP for installation on Windows OS. For Linux OS, this ID is not required.
Run the installation script as shown here:
a. For Linux/AIX machine:
Log on as a db2 instance owner to set the DB2 environment variables. Then log on as root (su) to ensure that the JDK can be accessed.
Open the Command Prompt and navigate to the directory where the extracted CDP for DB2 is placed. Then, navigate to CDP_for_DB2.
Run the following command:
./install.sh install <destination_db>
b. For Windows machine:
Log on as a user with access to DB2 admin group.
Open the Command Prompt and navigate to the directory where the extracted CDP for DB2 is placed. Then, navigate to CDP_for_DB2.
Run the following command:
install.bat install <destination_db>
Here,
<destination_db>
is the name of the database that contains tables to be encrypted.
Important Note
The silent installation fails and returns error message if:
install.properties` file is not configured properly
parameters are not set (except
Instance_ID
for Linux OS)value of any parameter is set to
n