Wednesday, January 29, 2020

Oracle Service Bus (OSB) Silent mode installation

Welcome 🎻🎷🎷 to MyOFMWExpeirments blog fans!! In this post I would like to share the OSB installation in silent mode. 

The basic assumptions are you have already provisioned a Linux VM. It can be on your own Laptop or on the one of Cloud provider.

The Begining

You could download the OSB Software which is available as zip file V78173-01.zip from edilvery.oracle.com it will be changing for every time when Oracle packs a new bundle.

Oracle Service Bus OSB silent mode installation

For this learning and experiment purposes, alternative download is available on OTN.

Prerequisites

  1. JDK 1.8.0_xxx installation
  2. Oracle Fusion Middleware Infrastructure installation
  3. Oracle SOA Suite 12.2.1 installation [Optional]

Preparing for the installation, Firstly do unzip the downloaded file and then proceed with the following steps.

Step 1: Create oraInst.loc file

Just like other products you tell about Oracle inventory details. If you don't have already on your machine then you can give the Oracle inventory path, installation user group here is my sample: oraInst.loc
inventory_loc=/home/oracle/oraInventory
inst_group=oinstall

Step 2: Create an OSB Response File

Create the answers as response file which contains major changes are where you wish to install the OSB product and what is INSTALL_TYPE value here it is Service Bus for the Silent mode installation;

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]
ORACLE_HOME=/home/oracle/products/12.2.1/Oracle_Home
#Set this variable value to the Installation Type selected. e.g. Fusion Middleware Infrastructure, Fusion Middleware Infrastructure With Examples.
INSTALL_TYPE=Service Bus

#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=true

#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
Note that after simplified responses, it looks smaller in size, this is a complete OSB response file which I've used in this experiment.

Step 3: Install OSB in Silent mode

Before you go for installation of OSB you need to check all pre-requisites satisfied then run the below given silent mode command to install the OSB

java -jar /vagrant_data/fmw_12.2.1.0.0_osb.jar -silent \
-responseFile /home/oracle/silent/osbinstall.rsp \
-invPtrLoc /home/oracle/silent/oraInst.loc

This experiment we have done successfully on my Oracle VirtualBox on Oracle Linux 7

OSB installation completed then needs to proceed on the Domain configuration you can do it by config.sh or using WLST.

That's it!!

Happy Learning keeps writing your comments or errors if you have any, we will update accordingly.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.