|
|
Script to start/stop release12 services |
Tuesday, July 15, 2008 |
Release12 Start/stop scripts ---------------------------------- Script to start services in Release12 ------------------------------------------ login as root user then, #vi start.sh echo "Starting Database Listener" /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh start VIS' echo "Database Listener started" sleep 5 echo "Starting Oracle Database" /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh start' echo "Oracle Database started" sleep 5 echo "Starting Oracle Applications" /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstrtal.sh apps/apps' echo "Oracle Applications Started"
:wq(save and quit)
Script to stop Release12 services --------------------------------------- log in as root user then #vi stop.sh echo "Stopping Oracle Applications" /usr/bin/su - applvis -c '/u01/apps/VIS_lab/admin/scripts/adstpall.sh apps/apps' echo "Oracle Applications stopped" sleep 5 kill -9 `ps -ef | grep applvis | awk '{print $2}'` echo "Stopping Database Listener" /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addlnctl.sh stop VIS' echo "Database Listener stopped" echo "Stopping Oracle Database" /usr/bin/su - oravis -c '/u02/oracle/db/tech_st/10.2.0/appsutil/scripts/VIS_lab/addbctl.sh stop immediate' sleep 5 echo "Oracle Database stopped"
:wq (save and quit)
Use these scripts to start/stop release services. |
posted by Senthil Kumaran @ 5:12 PM |
|
|
|
About Me |
Name: Senthil Kumaran
Home: Oslo, Oslo, Norway
About Me: I'm working as a oracle applications dba(Apps DBA OCP) and fusion middleware.This views are my own only and not neccessary to match with others
See my complete profile
|
Previous Post |
|
Archives |
|
Links |
|
Powered by |
|
Add On |
|
|
|
|
|
|
|