Request A Demo
Back to All Blog Articles

Automate Oracle BI 12c Domain Creation with FlexDeploy

I recently blogged about automating installation of binaries for Oracle BI 12c using FlexDeploy. In this blog post, I will demonstrate how to create WebLogic domain for Oracle BI 12c using FlexDeploy Utility Workflow. Files used in this blog post can be downloaded from You can use Workflow XML included in download zip to create FlexDeploy Utility Workflow in your environment. You can alternatively just use shell scripts provided in zip.

At this point you must have Oracle BI 12c and Java installed. Keep in mind that this example only creates single node domain.

Let’s take a quick look at the Steps involved in FlexDeploy workflow. In fact, we will just have one Shell plugin step in the workflow, details of the shell script are described below.

  1. Create response file by copying it first from BI Installation and running property replacement on it. Property replacement is done with sed command using Workflow Input values provided by user.
  2. Invoke script using response file.

Here are the details of shell script used in this workflow.

# export JAVA_HOME=/oracle/jdk1.8.0_91
# export ORACLE_HOME=/u01/oracle/fmw12211
# export DOMAIN_NAME=bi_domain
# export DOMAINS_DIR=/u01/oracle/config/domains
# export WLS_ADMIN_PASSWORD=welcome1
# export DB_HOST=obilt02.flexagon
# export DB_PORT=1521
# export DB_SERVICE=obt02.flexagon
# export DB_SYS_PASSWORD=welcome1
# export RCU_SCHEMA_PASSWORD=welcome1

mkdir -p $DOMAINS_DIR

cp $ORACLE_HOME/bi/modules/ $FD_TEMP_DIR

sed -i -e "s|@@ENABLE_SSL@@|true|g" $RESPONSE_FILE
sed -i -e "s|@@CONFIGURE_ESSBASE@@|true|g" $RESPONSE_FILE
sed -i -e "s|@@CONFIGURE_BIEE@@|true|g" $RESPONSE_FILE
sed -i -e "s|@@CONFIGURE_BIP@@|true|g" $RESPONSE_FILE
sed -i -e "s|@@ADMIN_USER_NAME@@|weblogic|g" $RESPONSE_FILE
sed -i -e "s|@@DB_TYPE@@|ORACLE|g" $RESPONSE_FILE
sed -i -e "s|@@DB_ADMIN_USERNAME@@|sys|g" $RESPONSE_FILE
sed -i -e "s|@@AUTO_DROP_SCHEMAS@@|false|g" $RESPONSE_FILE
sed -i -e "s|@@DEFAULT_SI_KEY@@|ssi|g" $RESPONSE_FILE
sed -i -e "s|@@PORT_RANGE_START@@|9500|g" $RESPONSE_FILE
sed -i -e "s|@@PORT_RANGE_END@@|9999|g" $RESPONSE_FILE

$ORACLE_HOME/bi/bin/ -ignoreSysPrereqs -silent -responseFile $RESPONSE_FILE

Now, users can request Domain creation using FlexDeploy Utility Project. Here is the sample request form.

  • ORACLE_HOME – must be same where binaries were installed.
  • JAVA_HOME – provide location of JDK 8 install.
  • Domain Name – name to be used for new domain.
  • Domains Directory – This should be outside of binary location for clarity and do not include domain name in this input.
  • WebLogic Admin Password – provide password to be used for default weblogic user.
  • Database Details – provide appropriate database details, RCU schemas will be created as per provided Schema Prefix.
  • Database Sys Password – sys user password is required to run RCU.
  • RCU Schema Details – Same password will be used for all schema created using RCU.

Now you can see the execution details in FlexDeploy.

This will start BI Environment as well. You can launch console once process is complete.

Now you can use FlexDeploy to further automate build and deploy process. See Oracle Business Intelligence Migration with FlexDeploy – Flexibility and Choice.

Related Resources

DevOps to the Cloud Best Practices

DevOps Best Practices for Oracle Cloud Migration

It’s now common for enterprises to move software to the cloud as part of their digital transformation. Upgrading from traditional, ...
Infrastructure of a tall building

Automating Infrastructure Deployment with Terraform and FlexDeploy

What is Terraform? Terraform is an infrastructure as code tool, allowing you to build, change, and version infrastructure. Your infrastructure ...
On-Demand Webinar - Simple and Automated Provisioning with Terraform and FlexDeploy

Webinar Recap: Simple and Automated Provisioning with Terraform and FlexDeploy

The following is a summary of the information covered in the webinar: Simple and Automated Provisioning with Terraform and FlexDeploy, ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox