Database setup
You need to set up the database before you begin installation.
- Use your database Docker image
- Connect to an external database system
In case of Managed Kubernetes Clusters on Cloud, the system data and the customer data must reside on Cloud.
- Database Users
- Tablespace Users
- Operating System Users
The database can reside within Kubernetes cluster. If the database resides within the Kubernetes cluster, use any available database image, and edit the Unica Helm chart. Ensure that user creation is complete before the Unica solution starts.
- Download Cloud Native Unica images and Helm Chart.
- Create Databases and Users and enter those details in the Unica Helm Chart.
If you set the Database as a sub-chart in Unica chart, you can completely automate data import using Shell scripts. For import, data should be available on the Database container mount point. You can also place the data after the container starts. Ensure that Database configuration and user creation activity is completed before running the Unica chart.
- Place the Oracle client installer, named linuxamd64_12102_client.zip, inside the /tmp folder.
- To extract the installer file, run the unzip command.
A new folder, named client is created in the location /tmp.
- Run the following command:
cp /tmp/client/response/client_install.rsp /tmp/oracle_client.rsp
- Access the oracle_client.rsp file and make the following
changes in the
file:
UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/home/oracle/oraInventory ORACLE_HOME=/home/oracle/app/oracle/product/12.1.0/client_1 ORACLE_BASE=/home/oracle/app/oracle oracle.install.client.installType=Administrator
- Run the following
commands:
cd /tmp
mkdir linuxamd64_12102_client
mv client linuxamd64_12102_client
tar -cvf Oracle_client.tar linuxamd64_12102_client oracle_client.rsp
gzip Oracle_client.tar
mv Oracle_client.tar.gz oracle_client.rsp /docker/unica
- In the /docker/unica/ location, create a file named
oracle.sh and add the following content in the
file:
yum install -y libaio /tmp/Oracle_client_install/linuxamd64_12102_client/client/runInstaller -silent -ignoreSysPrereqs -responseFile /tmp/Oracle_client_install/oracle_client.rsp