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

About lorddisk

WebCenter Content, WebCenter Portal, WebCenter Sites,Weblogic, Identity and Access Management (IAM),SSO,OAM,OIM,OAAM,OUD, OPAM,OID, OVD ,Oracle API Gateway ,OBIEE,OEDQ, Oracle ADF, Oracle SOA,J2EE, CackePHP ,PHP,J2SE,J2EE,Spring,Hibernate,JQuery,CSS,Java Script ,Joomla,Drupal,Worpress
This entry was posted in Uncategorized, Weblogic and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s