Campaign configurations

To configure Campaign for Docker, make the necessary modifications to the campaign-configMap.yaml file.

To access the campaign-configMap.yaml file, navigate to /unica/templates/ in the JBOSSOracle charts folder. Open the file and make modifications to the following parameters:

Table 1. Common Campaign parameters
Parameter name Parameter description
CAMPAIGN_JNDI_NAME JNDI name for Campaign.
CAMPAIGN_POOL_NAME Pool name for Campaign.
PRODUCT_OPTS_CAMPAIGN Product specific options for Campaign.
TERM The database host name.
USER_DATABASES Helps in setting up user database. Plug in installations scripts for a seamless startup of an instance. For example, a scaled listener instance.
USER_ORA_HOST_NAME The host name of the Oracle user.
Table 2. Database-related parameters for Campaign
Parameter name Parameter description
CAMPAIGN_DATABASE_HOST Host system details of the system hosting the Campaign database.
CAMPAIGN_DATABASE_PORT Port number of the Campaign database.
CAMPAIGN_DATABASE_NAME Username to access the Campaign database.
CAMPAIGN_DATABASE_USERNAME Password to access the Campaign database.
CAMPAIGN_DATABASE_PASSWORD Name of the Campaign database.
CAMPAIGN_DS_INITIAL_SIZE The initial size of the Campaign datasource connection pool.
CAMPAIGN_DS_MIN_IDLE The minimum number of idle connections (not connected to a database) in the Campaign datasource connection pool.
CAMPAIGN_DS_MAX_IDLE The maximum number of idle connections (not connected to a database) in the Campaign datasource connection pool. Any idle connections, which exceeds the configured value, will be removed from the pool.
CAMPAIGN_DS_MAX_TOTAL The maximum number of connections that the Campaign datasource can hold. If the number of connection requests exceed the configured value, the connection will be refused.
CAMPAIGN_DS_STATEMENT_CACHE_SIZE Maximum number of statements that can be cached in the Campaign datasource. Statement caching improves performance by caching executable statements that are used repeatedly.
ORACLE_CLIENT_SETUP_FILE Path of the tar/gz file of client.
ORACLE_CLIENT_RESPONSE_FILE Path of response file to install client.
ORACLE_CLIENT_INSTALL_COMMAND Command to install the DB2 client on the listener pod.
ORACLE_CLIENT_INSTALL_SCRIPT Path of the test scripts to install client on listener pod. You can write the set of command in this file to install the client and it is executed on the listener pod.
ORACLE_HOME Path of the oracle home.
NLS_LANG American_America.UTF8
PATH Define the PATH variable
SQLPATH Define the SQLPATH variable
TNS_ADMIN Path of the Oracle admin folder.
LD_LIB_PATH Path to the required shared libraries in the environment configuration script, setenv.sh, for Campaign..
SETENV_COMMAND1 Setting the variables for setenv.sh in the listener you can provide the command.
SETENV_COMMAND2 Setting the variables forsetenv.sh in the listener you can provide the command.
Table 3. Application Server-related parameters for Campaign
Parameter name Parameter description
CAMPAIGN_URL The URL to access Campaign
CAMP_HOST_NAME The system host name of Campaign.
CAMP_MANAGEMENT_PORT The management port number for the Campaign system.
CAMP_MANAGEMENT_HTTPS_PORT The management HTTPS port number for the Campaign system.
CAMP_AJP_PORT The AJP port number for the Campaign system.
CAMP_HTTP_PORT The HTTP port number for the Campaign system.
CAMP_HTTPS_PORT The HTTPS port number for the Campaign system.
CAMP_RECOVERY_ENV_PORT The recovery environment port number of the Campaign system.
CAMP_STATUS_MANAGER_PORT The status manager port number of the Campaign system.
Table 4. Listener-related parameters for Campaign
Parameter name Parameter description
LISTENER_HOST_NAME The hostname of the Listener.
LISTENER_PORT The port number of the Listener.
LISTENER_TYPE Specify the type of Listener.
CLUSTER_DOMAIN Define the cluster domain. For example, listener.default.svc.cluster.local.
SSL_FOR_PORT2 SSL server port 2.
SERVER_PORT2 Server port 2.
MASTER_LISTENER_PRIORITY Define the Listener priority.
LOAD_BALANCE_WEIGHT The load balance weight of the Listener.
CAMP_HOSTNAME The host name of the Campaign system.
CAMPPORT The deployment port for Campaign.
CLUSTER_DEPLOYMENT Set TRUE if clustered deployment is supported or FALSE if clustered deployment is not supported.