Stopping Oracle 11.2.1 RAC

I am using Oracle RAC 11.2.0.1 two node cluster on OEL 5 64-bit.
I have few questions about the stopping and starting of Oracle RAC 11.2, please see my steps and questions:
Steps to Stop Oracle RAC:
/u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl stop agent
/u01/app/oracle/product/11.2.0/dbhome_1/bin/srvctl stop database –d TESTDB
Change Oracle home to grid home:
export ORACLE_HOME=/u01/app/11.2.0/grid
/u01/app/11.2.0/grid/bin/srvctl stop asm
The following needs to be run on each of the nodes:
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
/u01/app/oracle/product/11.2.0/dbhome_1/bin/srvctl stop nodeapps -n test1
Then as root
Shut down the Oracle Clusterware or CRS process by entering the following command on all nodes:
(In grid home)
/u01/app/11.2.0/grid/bin/crsctl stop crsSteps to Start:
As root:
/u01/app/11.2.0/grid/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
As oracle user from database home:
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
srvctl start nodeapps
Check services-
ps -ef | grep LISTENER ensure the listener and scan listeners are up.
ps -ef | grep <sid> ps -ef | grep asm
start agent on all nodes....
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
/u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl start agent Are above steps right and complete? Am I mentioning the correct homes?
Thanks.

Shut down the Oracle Clusterware or CRS process by entering the following command on all nodes:
(In grid home)
do the following(as root user):
cd $GRID_HOME/bin
./crsctl stop cluster -all
In 11gr2 you can stop all resouces as below
<CRS_HOME>/bin/crsctl stop has
or you can stop in the following sequence
stop or relocate service using srvctl
stop instnace using srvctl
stop asm using srvctl
stop nodeapps using srvctl
stop cluster resources as root - <CRS_HOME>/bin/crsctl stop has
To start
<CRS_HOME>/bin/crsctl start has - it should bring all resources automatically.
refer the forum thread:-
Thread: Steps to stop / start CRS & ASM in RAC 11gr2
Steps to stop / start CRS & ASM in RAC 11gr2
Edited by: raJEYsh on Apr 14, 2011 11:56 AM

Similar Messages

  • Listener Suddenly Stops (Oracle DB 10g R2 RAC on VMWare)

    Hello,
    I am quite new to Oracle, we have a 2-node RAC 10.2.0.4 configured on RHEL 4.5 on a virtual environment using VMWare
    When the system starts up, all services are running fine as seen in crs_stat -t :
    [oracle@bsspbbi2 ~]$ crs_stat -t
    Name Type Target State Host
    ora....I1.inst application ONLINE ONLINE bsspbbi1
    ora....I2.inst application ONLINE ONLINE bsspbbi2
    ora.BSSPBBI.db application ONLINE ONLINE bsspbbi1
    ora....SM1.asm application ONLINE ONLINE bsspbbi1
    ora....I1.lsnr application ONLINE ONLINE bsspbbi1
    ora....bi1.gsd application ONLINE ONLINE bsspbbi1
    ora....bi1.ons application ONLINE ONLINE bsspbbi1
    ora....bi1.vip application ONLINE ONLINE bsspbbi1
    ora....SM2.asm application ONLINE ONLINE bsspbbi2
    ora....I2.lsnr application ONLINE ONLINE bsspbbi2
    ora....bi2.gsd application ONLINE ONLINE bsspbbi2
    ora....bi2.ons application ONLINE ONLINE bsspbbi2
    ora....bi2.vip application ONLINE ONLINE bsspbbi2
    But suddenly, after some time, the listener stops (sometime it is the listener of the node1, sometimes node2):
    [oracle@bsspbbi1 admin]$ crs_stat -t
    Name Type Target State Host
    ora....I1.inst application ONLINE ONLINE bsspbbi1
    ora....I2.inst application ONLINE ONLINE bsspbbi2
    ora.BSSPBBI.db application ONLINE ONLINE bsspbbi1
    ora....SM1.asm application ONLINE ONLINE bsspbbi1
    ora....I1.lsnr application ONLINE ONLINE bsspbbi1
    ora....bi1.gsd application ONLINE ONLINE bsspbbi1
    ora....bi1.ons application ONLINE ONLINE bsspbbi1
    ora....bi1.vip application ONLINE ONLINE bsspbbi1
    ora....SM2.asm application ONLINE ONLINE bsspbbi2
    ora....I2.lsnr application ONLINE OFFLINE
    ora....bi2.gsd application ONLINE ONLINE bsspbbi2
    ora....bi2.ons application ONLINE ONLINE bsspbbi2
    ora....bi2.vip application ONLINE ONLINE bsspbbi1
    I have to manually start the listener again by issuing the ff commands, depending on which node has the listener stopped:
    lsnrctl start
    srvctl start nodeapps -n bsspbbi1
    After which, the status is back to online and we can again succesfully connect to the RAC, to node1 and/or node 2.
    Is it related to network? Because the 2 VMs shares one physical LAN, meaning the public, private, and virtual IPs of the 2 nodes shares on 1 physical LAN.
    They run on the same VMWare host.
    I hope to receive feedbacks from you.
    Thanks.
    -Chris

    Hello,
    here's the listener.log:
    24-JAN-2013 13:31:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:31:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:31:47 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:32:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:32:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:33:05 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:33:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:33:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:33:56 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:34:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:34:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:34:52 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=bsspbbi1.etpi.com.ph)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_BSSPBBI1)(VERSION=169870336)) * status * 0
    24-JAN-2013 13:35:16 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:35:16 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:35:17 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:36:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:36:13 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:36:14 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:37:16 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:37:16 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:37:35 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:38:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:38:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:38:47 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:39:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:39:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:39:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BSSPBBI.etpi.com.ph)(CID=(PROGRAM=imp)(HOST=bsspbbi2.etpi.com.ph)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.216.36)(PORT=37743)) * establish * BSSPBBI.etpi.com.ph * 0
    24-JAN-2013 13:39:47 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:40:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:40:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:40:56 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:41:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:41:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:41:47 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:42:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:42:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:43:05 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:43:22 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:43:22 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:43:56 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:44:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:44:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:44:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=bsspbbi1.etpi.com.ph)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_BSSPBBI1)(VERSION=169870336)) * status * 0
    24-JAN-2013 13:45:14 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:45:22 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:45:22 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:46:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:46:19 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:46:21 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:47:33 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:47:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:47:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:48:33 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:48:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:48:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:49:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:49:34 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:49:48 * service_update * BSSPBBI2 * 0
    24-JAN-2013 13:50:32 * node_down * bsspbbi1 * 0
    24-JAN-2013 13:50:32 * service_down * +ASM1 * 0
    24-JAN-2013 13:50:32 * service_down * BSSPBBI1 * 0
    24-JAN-2013 13:50:32 * service_down * BSSPBBI1 * 0
    24-JAN-2013 13:50:32 * node_down * bsspbbi1 * 0
    24-JAN-2013 13:50:32 * service_register * BSSPBBI1 * 0
    24-JAN-2013 13:50:32 * service_update * BSSPBBI1 * 0
    24-JAN-2013 13:50:32 * service_register * +ASM1 * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.216.45)(PORT=1521)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.216.35)(PORT=1521)))
    Listener completed notification to CRS on stop
    24-JAN-2013 13:50:32 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=bsspbbi1.etpi.com.ph)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER_BSSPBBI1)(VERSION=169870336)) * stop * 0

  • Stop Oracle Apllication -  when installing Reports 6i on Windows XP

    Hi everybody
    I Have Windows XP
    I Have database 9i
    I have Forms 6i
    I have a problem when installing Reports 6i on Windows Xp
    Message appeared and said :-
    Title :Stop Oracle Applications
    Message :You Must stop all Oracle Services and Applications using Net8 for the Net8 installation to be successful
    Press Ok to continue the installation once the services and applications have been stopped, or press Cancel to abort the installation.
    --- End of message
    I stoped all services and pressed Ok but the message never stop asking me until I pressed Cancel .
    Can anyone help me to install the Reports 6i

    Try this, it may help...
    1. Shut down the DB, and make sure it won't automatically restart.
    2. Right click on my computer, go to manage.
    3. in manage, expand the services 'menu' (on right window).
    4. Press on services. That should bring up a list of all the services, running or
    not. Scroll down till you find the Oracle services, Highlight them and press stop.
    (You can also check the services from HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services)
    Run regedit (Start > Run > Enter "regedit", click "Ok"), find and check the following keys:
    HKEY_LOCAL_MACHINE
    \SOFTWARE
    \ORACLE
    HKEY_LOCAL_MACHINE
    \SYSTEM
    \CurrentControlSet
    \Services
    \EventLog
    \Application
    \Oracle.oracle
    Also check in HKEY_CURRENT_USER\SOFTWARE\ORACLE
    5. If that doesn't work, then try to find a different solution
    Uninstall Oracle and then Re-install
    Hassan

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

  • Starting and stopping oracle in Unix

    I have installed oracle in a Unix Box.
    Since i am very new to Unix, Pls tell me tehs steps to start and stop oracle in Unix from telnet

    In addition to Chris' answer, I encourage you to
    1) Enroll in a Unix course, especially 'Shell Concepts';
    2) Read Oracle's Oracle® Database Administrator's Reference
    10g Release 2 (10.2) for UNIX-Based Operating Systems
    TO help in 1), http://www.injunea.demon.co.uk/pages/page203.htm might be useful.

  • How to start/stop  oracle 9i databases in aix

    please provide me details steps of start/stop oracle 9i database in aix . we have four nodes .So i would like to know the steps of shutting down database including all nodes & also starting up and any prerequisite?
    Edited by: apusumit on Jun 10, 2011 5:32 AM
    Edited by: apusumit on Jun 10, 2011 5:35 AM
    Edited by: apusumit on Jun 18, 2011 7:01 AM

    apusumit wrote:
    please provide me details steps of start/stop oracle 9i database . we have four nodes .So i would like to know the steps of shutting down database including all nodes & also starting up and any prerequisite?
    Edited by: apusumit on Jun 10, 2011 5:32 AMrefer the link:-
    http://www.puschitz.com/InstallingOracle9iRAC.shtml#StartingAndStoppingOracle9iClusterManager
    also,
    please post the question in
    Forum Home » Grid Computing » Real Application Clusters
    Good Luck.

  • How to Start / Stop Oracle Applications

    How to Start / Stop Oracle Applications.
    Oracle Applications Services (TCF, ConcManagers, Metric, Forms, Reports etc...) TnsListner & Oracle Service (DB) are started when the Server is started.
    What is the sequential Order to Start / Shutdown services, Listener & DB.
    Best regards,

    hi
    there is no hard coded rule on which service should be started first.
    the basic thing is concurrent manager uses database for starting, so i advice you the following sequence:
    1. start the database
    2. start the database listener
    3. Apache server
    4. forms server
    5. report server
    6. concurrent manager
    and shutdown in the reverse order
    simple
    regards
    srinivas

  • What is dead locks with oracle and wht is race condition wrt oracle

    what is dead locks with oracle and wht is race condition wrt oracle

    > And do you know what a race condition is all about?
    It is a term used to indicate several processes attempting to use the same resource that is not capable of servicing all these at the same time. This could be due to the resource not being thread safe or implemented as a serialised resource.
    It is often easy to look up definitions on Google. In the Google search field, type "define:race condition".
    The following [url http://www.google.co.za/search?hl=en&q=define%3Arace+condition&btnG=Google+Search&meta=]web definitions page is displayed.

  • How to stop oracle services using Net8

    Hi
    each time I try to install oracle report 6i in myy machine (of course in the same developer home on which form installed ).
    a message with title Stop oracle application
    saying the following
    you must stop all  oracle services and application using Net8 for the Net8
    installation to be successfull
    press ok to continue the installation once the services and applications
    have been stopped or press ok to abort this installation.
    can any one help me?
    oracle database 10g
    windows xp
    developer 6i

    You can stop any service either
    a) using the services applet in the control panel window
    b) start a cmd box and issue
    net stop <servicename>
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • How to start and stop Oracle Application Server from ANT

    How to start and stop Oracle Application Server and Web application from ANT
    Thanks in Advance.
    Mani

    Hi,
    You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
    ./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
    For instance, in my case I use:
    unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
    You have to run it on the machine where the managed server was installed.
    Best regards,
    Raúl

  • Oracle 11gR2 (preferably on RAC)

    We have SAP Business Objects XI 3.1, is this version of BOBJ compatible with Oracle 11gR2(preferably on RAC), if not, what is the timeline for the compatibility.

    I cold not find the required documents on PAM as suggested by the previous reply. I believe uou can find the Supported Platforms Documents under sdn -> Articels -> BusinessObjects -> choose your product with Version -> choose the Supported Platforms Document for your OS.  I would advise you to go through "supported platforms documents" for all your installed BoBJ products. What is termed PAM in SAP products (NW, etc.) is called PAR (Products Availability Reports (PARs) for products based on BoBJ products.
    The link is:
    Articles
    I hope this helps.
    Girish

  • Configuring oracle OCI  client for RAC 10.2.0.1

    hi,
    can any one give the links for doc for
    configuraing oracle OCI client for RAC
    regards
    krishna

    Download from below:
    http://www.oracle.com/technology/tech/dotnet/ode/index.html
    Refer:
    Note:374820.1 - How to Install the Oracle Database Extensions for .NET (ODE.NET) from metalink.

  • Stop Oracle.exe from running in background?

    Hi,
    Since I installed Oracle 8i Personal Edition for Win 2000 (SP1), I have seen a great slowdown of my computer. It now takes much longer to start up Windows, longer to open applications and games (UT),.. I check Task Manger and see that Oracle.exe is consuming about 84 MB of my computer memory.
    Can someone help me stop Oracle.exe from running like this?
    Thanks a lot in advance
    Trung.

    Check Your services and set all related to Oracle to manual startup
    If You need Oracle, You will manually start these processes

  • Oracle Application eWay and RAC

    Hi,
    We have an Oracle 12 installation using RAC architecture, and we use JCAPS 6 RU1, and the Oracle Applicaiton eWay. Going through the Stored Procedure OTD wizard, NetBeans only allows me to specify a SID, which I can use to point to one of the nodes, and see the SP and generate the OTD. But I get an error at runtime where JCAPS does not recognise the packagename.procedurename. Our suspicion is that by using the SID we're forcing JCAPS to go to a single node to look for the SP name and it is not able to resolve it, so we need to use the service_name.
    Question: Is there a way I can speficy service_name to the OTD wizard rather than a SID?
    Amir.

    Based on the connection string I saw in the OWBSYS tables...where they were are all of the form host:port:service_name....I'd say no...

  • Stopping Oracle BI Servecies

    Hello,
    can anyone explain to me what is the reason behind stopping Oracle Server BI and Oracle BI presentation Server when restoring presentation catalog and updating metaddata?
    Thanks,
    Maitha

    So that they can pick up the changes you've made.
    Answers has a link to reload server metadata (I think that's what it's called) when you update the RPD, if you've restarted the BI Server.

Maybe you are looking for