Wednesday, 18 October 2017

Weblogic 12.2.1.1 Install



Steps to install weblogic 12.2.1.1

step1: Create oraInst.loc

oraInst.loc
inst_group=soa
inventory_loc=/apps



step2 : Create .rsp file, Update the ORALCE_HOME Variable


WLS1221ResponseFile.rsp


#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/apps/Oracle/1221/oracle_home
#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=Complete with Examples

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=

#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=

#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

#Provide the Proxy Host
PROXY_HOST=

#Provide the Proxy Port
PROXY_PORT=

#Provide the Proxy Username
PROXY_USER=

#Provide the Proxy Password
PROXY_PWD=

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]
COLLECTOR_SUPPORTHUB_URL=
 

Step3:Run the below command

 java -Djava.io.tmpdir=/apps -jar /apps/fmw_12.2.1.1.0_wls.jar -silent -invPtrLoc /apps/oraInst.loc -responseFile /apps/WLS1221ResponseFile.rsp -logLevel severe -debug
 

o/p 




Weblogic 12c installation script

Weblogic 12c installation script

This script we can use to Install WLS Infra for 12c FMW versions.

 silent_install_WLS.rsp

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/home/soa/srinfo01/Oracle/Middleware/Oracle_Home


#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=

#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=

#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

#Provide the Proxy Host
PROXY_HOST=

#Provide the Proxy Port
PROXY_PORT=

#Provide the Proxy Username
PROXY_USER=

#Provide the Proxy Password
PROXY_PWD=

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]

COLLECTOR_SUPPORTHUB_URL=

oraInst.loc

inventory_loc=/home/soa/srinfo01/app/oraInventory

inst_group=soa

installWLS.sh

#!/bin/sh


# Install WLS Infra

export JAVA_HOME=/home/soa/srinfo01/Oracle/Java/jdk1.8.0_71
export FMWJAR_HOME=/home/soa/srinfo01/app/softwares/FMW
export RESPONSEFILE_HOME=/home/soa/srinfo01/app/ResponseFiles
export INVENTORY_HOME=/home/soa/srinfo01/app/oraInventory


$JAVA_HOME/bin/java -jar $FMWJAR_HOME/fmw_12.2.1.1.0_wls.jar  -silent -responseFile $RESPONSEFILE_HOME/silent_install_WLS.rsp -invPtrLoc $INVENTORY_HOME/oraInst.loc

Domain creation in weblogic 12c



Weblogic domain is an administrative unit on Weblogic Platform.Each domain must have one Administration Server.Administration server will administrate the domain, all the field configurations and deployments will store under Administration server.
Other than administration server all other servers we called as Managed Servers.


Here is the script to create Weblogic Domain


#=======================================================================================
# Usage: 
#      java weblogic.WLST  
#
# Where: 
#       specifies the full path to the WLST script.
#=======================================================================================

#=======================================================================================
# Open a domain template.
#=======================================================================================

readTemplate("/u02/jenkins/oracle12c_r2/mw_home/oracle_home/wlserver/common/templates/wls/wls.jar")

#=======================================================================================
# Configure the Administration Server and SSL port.
#
# To enable access by both local and remote processes, you should not set the 
# listen address for the server instance (that is, it should be left blank or not set). 
# In this case, the server instance will determine the address of the machine and 
# listen on it. 
#=======================================================================================

cd('Servers/AdminServer')
set('ListenAddress','aussoaditapp16.us.dell.com')
set('ListenPort', 25019)

create('AdminServer','SSL')
cd('SSL/AdminServer')
set('Enabled', 'True')
set('ListenPort', 25020)

#=======================================================================================
# Define the user password for weblogic.
#=======================================================================================

cd('/')
cd('Security/base_domain/User/weblogic')
cmo.setPassword('jenkins@domain1')
# Please set password here before using this script, e.g. cmo.setPassword('value')

#=======================================================================================
# Create and configure a JDBC Data Source, and sets the JDBC user.
#=======================================================================================
#set('URL','jdbc:derby://localhost:1527/db;create=true')
#set('PasswordEncrypted', 'PBPUBLIC')
#set('UseXADataSourceInterface', 'false')
#create('myProps','Properties')
#cd('Properties/NO_NAME_0')
#create('user', 'Property')
#cd('Property/user')
#cmo.setValue('PBPUBLIC')

#cd('/JDBCSystemResource/myDataSource/JdbcResource/myDataSource')
#create('myJdbcDataSourceParams','JDBCDataSourceParams')
#cd('JDBCDataSourceParams/NO_NAME_0')
#set('JNDIName', java.lang.String("myDataSource_jndi"))

#cd('/JDBCSystemResource/myDataSource/JdbcResource/myDataSource')
#create('myJdbcConnectionPoolParams','JDBCConnectionPoolParams')
#cd('JDBCConnectionPoolParams/NO_NAME_0')
#set('TestTableName','SYSTABLES')

#=======================================================================================
# Target resources to the servers. 
#=======================================================================================

#cd('/')
#assign('JMSServer', 'myJMSServer', 'Target', 'AdminServer')
#assign('JMSSystemResource.SubDeployment', 'myJmsSystemResource.myQueueSubDeployment', 'Target', 'myJMSServer')
#assign('JDBCSystemResource', 'myDataSource', 'Target', 'AdminServer')

#=======================================================================================
# Write the domain and close the domain template.
#=======================================================================================

setOption('OverwriteDomain', 'true')
writeDomain('/u02/jenkins/domains/jenkins_domain')
closeTemplate()

#=======================================================================================
# Exit WLST.
#=======================================================================================

exit()

How to Disable/Enable ProxyService in OSB 12c

How to Disable/Enable ProxyService in OSB 12c

Before 12c in older versions if we want to enable/disable ProxyService we need to login sbconsole.

But in 12c that option moved to EM console.

Here are the steps to enable/disable ProxyService.

1) Login to EM console 

2) Navigate to OSB Project--> Operations tab

3) Select the ProxyService and enable or disable checkbox for state option.


Sunday, 15 October 2017

Oracle Managed File Transfer (MFT) Step By Step Installation Guide

Oracle has introduced MFT (Managed File Transfer) tool in Oracle SOA 12c. MFT enables secure file exchange between two points; these two points can be internal or external.

This post is step by step installation guide of Managed File Transfer (MFT).

In this release of Oracle SOA 12c, we can't use Java DB for MFT. We have to use Oracle database.

There are some Prerequisites for MFT Installation which are mentioned below.

·

Follow Below chapters to install MFT.


SOA 12c- Oracle Managed File Transfer (MFT) Installation

This is Chapter-1 of MFT installation guide. You need to fulfill all the prerequisites which are mentioned in Installation guide before you start with this post.

In this post, we see how to install the Managed File Transfer.

First of all, download the MFT installer from Oracle. Once you download it run the installer.

Note that it is executable jar so to run the installer we need to go to java bin folder and run this executable jar file from there using below command.

Java –jar executable_jar_file_location

Oracle MFT Installation

This will launch the installer wizard.

Oracle MFT Installation


Click on next.

Oracle MFT Installation


Choose already existing Oracle home path as we install MFT to already existing oracle folder.

Oracle MFT Installation



Wizard will perform prerequisites checks.

Oracle MFT Installation


Click on Install to install the MFT.

Oracle MFT Installation


Below screen shows the installation progress.

Oracle MFT Installation


Click on finish once installation is complete.

Oracle MFT Installation




Now go to next Chapter which is Chapter-2 of MFT Installation guide.

SOA12c - RCU Step by Step Installation


RCU comes with Oracle SOA 12c installer, so you need not to download it separately.  You can find rcu file at below location.

ORACLE_HOME\oracle_commom\bin\rcu.bat

To run the rcu go to oracle_common bin folder.

RCU 12c Installation


This will launch the RCU wizard. Choose "System Load and Product Load" if you DB privilages.


RCU 12c Installation


Provide oracle database details and click on next.


RCU 12c Installation


It check prerequisites.


RCU 12c Installation


Specify schema prefix and choose the components which you need.


RCU 12c Installation



it will check prerequisites.




choose same password for all the schemas.


RCU 12c Installation


Click on next.
RCU 12c Installation


RCU 12c Installation


RCU setup will create required tablespace.


RCU 12c Installation

click on create to create required schemas.


RCU 12c Installation

RCU 12c Installation