shell script for automating Start OAM,OID weblogic domain for SSO

#!/bin/bash

su oracle -c “screen -dm -S OIDInstance /u01/Oracle/Middleware/oid_instance/bin/opmnctl startall”
sleep 30
su oracle -c “screen -dm -S OHSInstance /u01/Oracle/Middleware/Oracle_WT1/instances/instance2/bin/opmnctl startall”
sleep 30

su oracle -c “screen -dm -S NodeManager /u01/Oracle/Middleware/wlserver_10.3/server/bin/startNodeManager.sh”

sleep 30

su oracle -c “screen -dm -S OIDAdminServer /u01/Oracle/Middleware/user_projects/domains/OIDDomain/bin/startWebLogic.sh”
sleep 30
su oracle -c “screen -dm -S ODSManagedServer /u01/Oracle/Middleware/user_projects/domains/OIDDomain/bin/startManagedWebLogic.sh wls_ods1”
sleep 30

su oracle -c “screen -dm -S OAMAdminServer /u01/Oracle/Middleware/user_projects/domains/OAMDomain/bin/startWebLogic.sh”
sleep 30
su oracle -c “screen -dm -S OAMAServer /u01/Oracle/Middleware/user_projects/domains/OAMDomain/bin/startManagedWebLogic.sh oam_server1”
sleep 30
su oracle -c “screen -dm -S EBSAccessGateAdminServer /u01/Oracle/Middleware/user_projects/domains/EBSAccessGate/bin/startWebLogic.sh”
sleep 30
su oracle -c “screen -dm -S EBSAccessGateManagedServer /u01/Oracle/Middleware/user_projects/domains/EBSAccessGate/bin/startManagedWebLogic.sh new_ManagedServer_1″

 

MYPATH_LOCATION=”/u01/Oracle/Middleware/user_projects/domains/”
/bin/echo “OS Server Restarted and start up script run at: $(date +’%Y-%m-%d %I:%M:%S %p’) ” >> $MYPATH_LOCATION/restartOSServer.log

Advertisements
Posted in Uncategorized, Weblogic | Tagged , , , , | Leave a comment

Bulk deletes all OID users created by DIP profile

How to reset OID to default like fresh installation

cd /u01/Oracle/Middleware/Oracle_OID/bin

export ORACLE_HOME= /u01/Oracle/Middleware/Oracle_OID/

./ldapsearch -h ssostageapp.test.com -p 3060 -D “cn=orcladmin” -w oracle11g -b “dc=albilad,dc=com” -S uid -s sub “(creatorsname=orclodipagentname=ad_oid,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory)” cn >users_createdby_dip.ldif

cp users_createdby_dip.ldif /u01/Oracle/Middleware/Oracle_OID/ldap/bin/users_createdby_dip.ldif

export ORACLE_INSTANCE=/u01/Oracle/Middleware/oid_instance/

./opmnctl stopall

cd /u01/Oracle/Middleware/Oracle_OID/ldap/bin/

./bulkdelete connect=oiddb file=users_createdby_dip.ldif

enter passord pf oid DB schema

 

————————————————————

Reading entries under BaseDN “cn=wvdiitsd0009,ou=vdi,ou=xendesktops,ou=citrix,cn=users,dc=albilad,dc=com”…

————————————————————

 

————————————————————

Reading entries under BaseDN “cn=wvdiitsd0009″…

————————————————————

 

————————————————————

374 Entries have been deleted.

————————————

 

 

start OID

cd /u01/Oracle/Middleware/oid_instance/bin

./opmnctl startall

 

 

Posted in IDM | Leave a comment

Export All OID Users

Set environment variables

[oracle@erpsso bin]$ pwd

/u01/app/Middleware/Oracle_OID/ldap/bin

 

Posted in IDM | Leave a comment

Excel to UCM Batch loader Format Parser

Utility developed to convert Excel sheet contains metadata for files to be check-in at UCM to UCM batch loader format

patch loader format

link to download

http://www.mediafire.com/file/36z34rauj545keh/Excel_Parser.rar

Posted in Oracle ECM, UCM, Uncategorized | Tagged , , , , , | Leave a comment

UCM Custom Export Utility

download attached Jar file

link to download JAR

https://www.mediafire.com/file/23fj8ls9xqxc03q/UCMExportUtility.jar

Upload it to UCM server

Follow instructions as screen shoots

Posted in ECM, Oracle ECM, UCM, Uncategorized | Tagged , , | Leave a comment

Identity And Access Management installation part9

Configuring IAM Domain

Image | Posted on by | Tagged , , , , | Leave a comment

Identity And Access Management installation part8

Configuring Identity and Access management Domain

Image | Posted on by | Leave a comment