Previous Next JavaScript must be enabled to correctly display this content

## 5 Product Setup

This topic describes about the Product setup using Oracle Banking Microservices Architecture Installer.

Post completion of Download and Setup Installer tasks for VM identified for Product Setup, perform the below mentioned configurations.

Note:

Oracle Banking Origination product is used as reference for understanding purpose.

- Update Properties File
  This topic provides the systematic instructions to update the Properties file for Product setup.
- Update Roles File
  This topic provides the systematic instructions to update the Roles file for Product setup.
- Execute Installer Script
  This topic provides the systematic instructions to execute Installer Script for Product setup.

### 5.1 Update Properties File

This topic provides the systematic instructions to update the Properties file for Product setup.

1. Navigate to the path `/scratch/obma_installer/chef-repo/`.
2. Open the respective product properties file and update the `obma_properties.rb` with the following details.
3. Update the local user and its group.

       #Standard Values
       INSTALL_USER = "ofssobp"
       INSTALL_GROUP = "dba"
       USER_ROOT = "root"
       GROUP_ROOT = "root"
       INSTALL_BASE_DIR = "/scratch"
       EXTRACT_LOC = "/scratch/extract"

4. Verify the version of java, update if required, and ensure the same version is available in the software's directory.

       #Java Installation Details
       JAVA_INSTALLER_SOURCE = "filesystem"
       JAVA_INSTALLER_PATH = "/java/"
       #JAVA_INSTALLATION_DIR = "/scratch/app/product"
       JAVA_INSTALLATION_DIR = INSTALL_BASE_DIR + "obma"
       JAVA_VERSION = "1.8"
       JDK_INSTALLER_VERSION = "jdk1.8.0_281"
       JDK_INSTALLER_FILE = "jdk-8u281-linux-x64.tar.gz"
       CERTS_DIRNAME = INSTALL_BASE_DIR + "/ssl/"

5. Verify the version of weblogic server, update if required, and ensure the same version is available in the software's directory.

       #Weblogic Infra Installation Details
       #WLS_INSTALL_USER_HOME = "/scratch"
       ORACLE_INVENTORY = "/scratch/app/oraInventory"
       WLS_VERSION = "12.2.1.4"
       WLS_INSTALLER_SOURCE = "filesystem"
       WLS_INSTALLER_PATH = "/wls/"
       WLS_PACKAGE_BASENAME = "fmw_12.2.1.4.0_infrastructure.jar"
       WLS_INSTALLER_FILE = "fmw_12.2.1.4.0_infrastructure_Disk1_1of1.zip"
       #WLS_INSTALL_DIR = "/app/product/fmw"
       WLS_INSTALL_DIR = INSTALL_BASE_DIR + "/obma"
       WLS_INSTALLER_TYPE = 'Fusion Middleware Infrastructure'

6. Update the Product setup hostname and verify various ports, and update if required.

       #Product Specific parameters
       PLATO_HOST = "ofss-mum-1315.snbomprshared1.gbucdsint02bom.oraclevcn.com"
       PLATO_CONFIG_PORT = "8002"
       DISCOVERY_PORT = "8004"
       API_GATEWAY_PORT = "8006"
       SMS_PORT = "8026"
       PROTOCOL = "https"

7. For the respective product, the default servers and their ports are already defined. Any new addition of server or datasource details needs to be appended here under respective product “Flyway configuration details”.

   Note:

   The below snapshot from Oracle Banking Origination FLYWAY Configuration Details is given for reference.

   Figure 5-1 FLYWAY Configurations Details

   Description of "Figure 5-1 FLYWAY Configurations Details"

   Note:

   The password for all the default schema's is "wlcome1". In case there is change in the password for the schemas, user needs to update the same in databag. Refer Password Update in Databag section for more details.
8. Update database details under “#Database details for weblogic datasource configuration”

       #Database details for Weblogic datasource configuration
       ORACLE_PDB_SID = "PBP0163A"
       ORACLE_PDB_HOSTNAME = "whf00ivq.in.example.com"
       ORACLE_PDB_PORT = "1521"
       ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver"

Parent topic: Product Setup

### 5.2 Update Roles File

This topic provides the systematic instructions to update the Roles file for Product setup.

Navigate to the path `/scratch/obma_installer/chef-repo/roles/` and open the respective product role file. Here, we will consider "`obo_mw.rb`" for reference.

1. In case of addition or changes to the existing cluster configuration, modify the same under “cluster_config”.

   Figure 5-2 Cluster Configuration

   Description of "Figure 5-2 Cluster Configuration"
2. In case of addition or changes to the existing data source configuration, modify the same under “datasource_config”.

   Figure 5-3 Datasource Configuration

   Description of "Figure 5-3 Datasource Configuration"
3. In case of addition or changes to the existing services or war files, modify the same under “app_deployment”.

   Figure 5-4 Application Deployment

   Description of "Figure 5-4 Application Deployment"
4. Navigate to the bottom of the file and verify the recipes to be executed. All the listed recipes will be executed in sequential order as shown below.

   Figure 5-5 Recipes List

   Description of "Figure 5-5 Recipes List"

   Note:

   Remove the `user_creation` and `ulimit` recipes from the above list since it is used for internal purpose only.

Parent topic: Product Setup

### 5.3 Execute Installer Script

This topic provides the systematic instructions to execute Installer Script for Product setup.

1. Launch putty and login to foundation VM with NIS user (eg.: dkarkera) and then switch to the root user.
2. Navigate to the chef-repo path by executing the command,
   `cd /scratch/obma_installer/chef-repo`
3. Execute the installer script by executing the command `./obo_installer.sh`.

This will perform the silent installation of Oracle Banking Origination product.

Note:

- The above steps remain the same for all the other products.
- If the Foundation and Product setups are in two different VM's, then the Certificate syncup between these VM's needs to be performed before the deployment activity.

  Refer to Certificate Sync Up between Foundation and Product VMs section for more details.

Parent topic: Product Setup