Pageviews

Thursday, December 26, 2019


OIM Installation 12c




Recommended - Follow previous steps to install SOA before starting OIM installation https://rite-oim.blogspot.com/2019/12/soa-installation-12c-22-december-2019_25.html (Ignore, if already done)






























RCU 12c Configuration

Recommended - Follow previous steps for installing OIM before running the RCU https://rite-oim.blogspot.com/2019/12/oim-installation-12c-22-december-2019.html (Ignore, if already done)


After completing the above steps, start running RCU with some prerequisites scripts -


export ORACLE_HOME=/home/oracle/12C/oracle_db/db_home/
export ORACLE_SID=db12c
cd /home/oracle/12C/oracle_db/db_home/bin/
./sqlplus
sys as sysdba

Start the Database


STARTUP

Check database status


select * from dual;

            Now run below SQL queries to switch the container and set the required parameters


ALTER PLUGGABLE DATABASE ORCLPDB OPEN READ WRITE;

commit;

alter session set container=ORCLPDB;

alter system set open_cursors=800 scope=both;

commit;

show parameter open_cursors;

@/home/oracle/12C/oracle_db/db_home/rdbms/admin/xaview.sql
commit;

Now run the RCU


cd /home/oracle/12C/middleware/oracle_common/bin
./rcu



































After RCU, start Weblogic Domain Configuration - https://rite-oim.blogspot.com/2019/12/weblogicdomain-configuration-22.html






Weblogic Domain Configuration



Recommended - Follow previous steps to run RCU before Weblogic Domain Configuration https://rite-oim.blogspot.com/2019/12/rcu-12c-configuration-22-december-2019.html (Ignore, if already done)


After completing the above steps, start running domain configuration -


cd /home/oracle/12C/middleware/oracle_common/common/bin
./config.sh









On the Templates screen, make sure Create Domain Using Product Templates is selected, then select the OIM template.

Selecting this template automatically selects the following as dependencies:
  • Oracle Enterprise Manager
  • Oracle WSM Policy Manager
  • Oracle JRF
  • WebLogic Coherence Cluster Extension
Note:
The basic WebLogic domain is pre-selected.





















































After Weblogic Domain Configuration - Start Post Installation Steps - https://rite-oim.blogspot.com/2019/12/post-installation-steps-23-december.html
Post Installation Steps



Recommended - Follow previous steps for Weblogic Domain Creation before running the post installation steps - https://rite-oim.blogspot.com/2019/12/weblogicdomain-configuration-22.html (Ignore, if already done)


After completing the above steps, start executing below scripts -



vi /home/oracle/.bash_profile

DOMAIN_HOME=/home/oracle/12C/middleware/user_projects/domains/OIG12C


source ~/.bash_profile


cd $DOMAIN_HOME

mkdir servers
mkdir servers/AdminServer
mkdir servers/oim_server1
mkdir servers/soa_server1

mkdir servers/AdminServer/security
mkdir servers/oim_server1/security
mkdir servers/soa_server1/security

vi boot.properties
username=weblogic
password=Oracle123

cp boot.properties servers/AdminServer/security
cp boot.properties servers/oim_server1/security/
cp boot.properties servers/soa_server1/security/

rm boot.properties



Set Alias


vi /home/oracle/.bash_profile

# Oracle Navigation aliases
alias godb='cd /home/oracle/12C/oracle_db/db_home/ && echo "-- ORACLE DATABASE HOME --"'
export godb
alias gomwh='cd /home/oracle/12C/middleware/ && echo "-- ORACLE MIDDLEWARE HOME --"'
export gomwh
alias godh='cd $DOMAIN_HOME && echo "-- ORACLE OIM DOMAIN HOME --"'
export godh
alias gooim='cd $DOMAIN_HOME/servers/oim_server1 && echo "-- OIM SERVER HOME --"'
export gooim
alias gosoa='cd $DOMAIN_HOME/servers/soa_server1 && echo "-- SOA SERVER HOME --"'
export gosoa
alias goadmin='cd $DOMAIN_HOME/servers/AdminServer && echo "-- WL ADMIN SERVER HOME --"'
export goadmin

# Oracle startup shortcuts
alias startnm='nohup $DOMAIN_HOME/bin/startNodeManager.sh > $DOMAIN_HOME/nodemanager/nodemanager.log &'
export startnm
alias stopnm='nohup $DOMAIN_HOME/bin/stopNodeManager.sh >> $DOMAIN_HOME/nodemanager/nodemanager.log &'
export stopnm
alias startadmin='nohup $DOMAIN_HOME/bin/startWebLogic.sh > $DOMAIN_HOME/servers/AdminServer/admin.log &'
export startadmin
alias stopadmin='nohup $DOMAIN_HOME/bin/stopWebLogic.sh >> $DOMAIN_HOME/servers/AdminServer/admin.log &'
export stopadmin

# Oracle log shortcuts
alias nmlog='tail -f $DOMAIN_HOME/nodemanager/nodemanager.log'
export nmlog
alias adminlog='tail -f $DOMAIN_HOME/servers/AdminServer/admin.log'
export adminlog
alias soalog='tail -f $DOMAIN_HOME/servers/soa_server1/logs/soa_server1.out'
export soalog
alias oimlog='tail -f $DOMAIN_HOME/servers/oim_server1/logs/oim_server1.out'
export oimlog


source ~/.bash_profile


Offline Configuration


DOMAIN_HOME=/home/oracle/12C/middleware/user_projects/domains/OIG12C/
export DOMAIN_HOME


JAVA_HOME=/home/oracle/12C/jdk1.8.0_231/
export JAVA_HOME


cd /home/oracle/12C/middleware/idm/server/bin
chmod 777 offlineConfigManager.sh
./offlineConfigManager.sh







Run Node Manager


startnm

nmlog





Run Admin Server



startadmin

adminlog

After Admin server comes up

start soa from admin console

After soa server is up -
start oim from admin console



Tunneling

Download moba-xtrem home edition - https://mobaxterm.mobatek.net/download.html

Click on tunneling and configure it like below - 

IP Address below is VM's IP address




Access weblogic with url http://localhost:7001/console