Listener Database client setup
To establish an ODBC connection to the database, the Campaign listener requires a database client.
About this task
If you do not have a database client, you must install it. For a seamless installation of the database client, perform the following steps:
Procedure
- Place the database client installer at the mount locaction (NFS).
-
Configure the location of the database client installer in the
campaign-configMap.yaml file.
Example: For MariaDB databaseIn the campaign-configMap.yaml file, locate the MARIADB_CLIENT_INSTALL_SCRIPT parameter. The MARIADB_CLIENT_INSTALL_SCRIPT parameter must be configured with the path of the test scripts to install database client on the listener pod (/docker/unica/mariadb.sh). You can write a set of command in this file to install the client and it is executed during the startup of the listener pod.
install /docker/unica/libmaodbc.so /usr/lib64/ yum install -y unixODBC yum install -y compat-openssl10
Example: For Oracle Database
In the campaign-configMap.yaml file, locate the ORACLE_CLIENT_INSTALL_SCRIPT parameter. The ORACLE_CLIENT_INSTALL_SCRIPT parameter must be configured with the path of the test scripts to install database client on the listener pod (/docker/unica/oracle.sh). You can write a set of command in this file to install the client and it is executed during the startup of the listener pod.yum install -y libaio cp /usr/lib64/libnsl.so.2.0.0 /usr/lib64/libnsl.so.1