Monday, January 9, 2012

How to STOP and START processes in Oracle RAC and Log Directory Structure

You need to follow the below steps to Stop and Start processes in Oracle RAC

Shutdown RAC Database
You need to Shutdown Database instances on each node. You can either use Oracle Enterprise Manager or SVRCTL to shutdown the instances. If you are using EM Grid control then set a blackout in Grid control for processes that you intend to shutdown. So that records for these processes indicate that the shutdown was planned.
Use below command to stop Enterprise Manager/Grid Control
$ORACLE_HOME/bin/emctl stop dbconsole

Use below command to shutdown all oracle RAC instances on all nodes.
$ ORACLE_HOME/bin/srvctl stop database -d db_name

If you want to stop specific database instances use below command
$ ORACLE_HOME/bin/srvctl stop database -d db_name –i instance_name

Shutdown Oracle ASM Instance
Once the database is stopped, proceed with ASM Instance shutdown.
Use below command to shutdown ASM instances on all nodes
$ORACLE_HOME/bin/bin/srvctl stop asm -n node

Shutdown Node applications
Use below command to shutdown node apps on all RAC nodes
$ORACLE_HOME/bin/bin/srvctl stop nodeapps -n node

Shutdown Oracle Clusterware
You need to Shutdown oracle clusterware or CRS as root and run below command on each node in the cluster.
#crsctl stop crs

Please note that using above command will stop Oracle High availability services (OHAS) and Clustware stack in a single command

From 11g R2, you can do this in two stops

1. Stop Clustwerware stack on local node
#crsctl stop cluster

You can stop the clusterware stack on all nodes in the cluster
# Crsctl stop cluster –all

Where
-all Start clusterware on all nodes
-n Start clusterware on particular nodes

2. Stop Oracle High availability service demon on each node in the cluster.
# crsctl stop has

Check the Status of Cluster
Once all process stopped run the below command to check the status of CRSD,CSSD,EVMD process.
# crsctl check crs

If you see any process failed to stop then you can also use Force option to terminate the processes unconditionally.
$ crsctl stop crs –all –f

Start processes in Oracle RAC
Follow the reverse sequence to start all processes in oracle RAC
# crsctl start crs
$ORACLE_HOME/bin/bin/srvctl start nodeapps -n node
$ORACLE_HOME/bin/bin/srvctl start asm -n node
$ORACLE_HOME/bin/srvctl start database -d db_name

If you come across any issues during startup orshutdown, check the Oracle Clusterware Component Log Files.

Oracle Clusterware Log Directory Structure

CRS_HOME/log/hostname/crsd/ - The log files for the CRS daemon CRS_HOME/log/hostname/cssd/ - The log files for the CSS daemon
CRS_HOME/log/hostname/evmd/ - The log files for the EVM daemon
CRS_HOME/log/hostname/client/ - The log files for the Oracle Cluster Registry (OCR)
CRS_HOME/log/hostname/racg/ - The log files for the Oracle RAC high availability component
CRS_HOME/log/hostname/racg/ - The log files for the Oracle RAC high availability component
CRS_HOME/log/hostanme/alert.log – The alert.log for Clusterware issues.

Please note that the CRS_HOME is the directory in which the Oracle Clusterware software was installed and hostname is the name of the node

Regards,
Satishbabu Gunukula
http://www.oracleracexpert.com

92 comments:

  1. # crsctl start crs
    $ORACLE_HOME/bin/bin/srvctl start nodeapps -n node
    $ORACLE_HOME/bin/bin/srvctl start asm -n node
    $ORACLE_HOME/bin/srvctl start database -d db_name

    qeustion here: when start RAC, you dont need to start each instance then start database?
    just simply start database will ensure all instances would start?

    ReplyDelete
  2. when stop RAC, why we need to stop db then stop instance seprately. I thought, when stop database, all instances would stop at the same time.
    Please advise,
    thanks,

    ReplyDelete
  3. Please note that starting the RAC database will start all its instances and services on all nodes. When you shutdown database, it will stop its instances on all nodes.

    You no need to run stop db then stop instances seperately. I have provided both options.

    ReplyDelete
  4. I am not DBA still need
    hadoop training in chennai your assistance to determine a web administration issue. In one of our dev occurrence, hadoop training in chennaiI am login em (from default url:port). I can effectively login in the wake of giving client name ias_admin and pwd. After effective login, oracle training in chennai I cant see anything aside from inclination alternative. If you don't mind help me..

    ReplyDelete
  5. There are lots of information about latest technology and how to get trained in them, like Hadoop Training Chennai have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies(Hadoop Training in Chennai). By the way you are running a great blog. Thanks for sharing this.

    ReplyDelete
  6. Thanks for sharing informative article on java application development. Your post helped to understand the career in Java.
    J2EE Training in Chennai
    .Net Training in Chennai
    PHP Training in Chennai

    ReplyDelete
  7. The expansion of internet and other business intelligence leads to large volume of data. Industries are looking for talented professionals to maintain and process huge volume of data with latest tools available in the market. Taking Hadoop Training in Chennai | Big Data Training in Chennai will ensure better career prospects for talented professionals.

    ReplyDelete
  8. This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing.
    Regards,
    SAP training in chennai|SAP course in chennai|SAP Course in Chennai|SAP Training

    ReplyDelete
  9. The future of software testing is on positive note. It offers huge career prospects for talented professionals to be skilled software testers. Best software testing training institute in Chennai | Software Testing Training in Chennai

    ReplyDelete
  10. Thanks for your information. QTP provide most precise and independent review about a software application. This automation testing tool is ideal to determine the performance and validity of a software application. QTP Course in Chennai | QTP training

    ReplyDelete
  11. It is really very helpful for us and I have gathered some important information from this blog.
    oracle apps finance Training in Chennai

    ReplyDelete
  12. Automation will make any work to be completed so soon(Selenium training in chennai), in addition to this recording the actions is possible with automated tool. Your content explicitely states the same(Selenium training chennai). Thanks for sharing this worth able content in here. This was very useful to me as well. Keep blogging like this.

    ReplyDelete
  13. GSSSB 2480 Revenue Talati Bharti Recruitment 2016

    Thanks for the information. By visiting to your website it helps me a lot.........

    ReplyDelete
  14. Assam 2564 Police Constable Recruitment 2016


    Thanks for sharing . Will come to visit again.Click here to find more information..............


    ReplyDelete
  15. Website are the only way to execute a company's projects to their visitors. And it is mandatory to maintain a responsive one as well. Your content explicitly states that. Thanks for sharing this worth able article here. Keep up this good work.

    Web designing course in chennai | Web design course | Web design training in chennai

    ReplyDelete
  16. Wow, so all these people commenting on here and leaving info to promote their blogs/courses/products really think it is in good faith?

    ReplyDelete
  17. People read his comments section to glean extra information based on the article he provided. Yet, you pretend to thank him, when obviously your field of occupation is in no way linked to Oracle, then drop your own publicity - in the process diluting the quality of his site.

    ReplyDelete
  18. Learning new technolgoy would help oneself at hard part of their career. And staying updated is the only way to survive in current position. Your content tells the same. Thanks for sharing this information in here. Keep blogging like this.

    Best JAVA Training institute in Chennai | Best JAVA Training in Chennai | Hadoop course in chennai

    ReplyDelete
  19. Well Said. The content provided is true up to my knowledge. This made me to understand the concepts very clear. Thanks for sharing this wonderful information in here. Keep blogging article like this. I have bookmarked this page for future reference as well.


    Hadoop Training Chennai | Hadoop Course in Chennai | JAVA Course in Chennai

    ReplyDelete
  20. Technology place a vital part in humans ecosystem. So in order to survive one must be up to date. Thanks for sharing this information in here. Keep blogging article like this. I have bookmarked this page for future reference.


    Hadoop Training Chennai | Best Hadoop Training in Chennai | JAVA training in Chennai

    ReplyDelete
  21. hai have a good day.....
    i think this is useful for all of us..i am really enjoying when i reading.thanks for updating this informative article..
    i am waiting for your upcoming article..i hope it will be come soon as possible...http://sonymobileservicecenterinchennai.in/

    ReplyDelete
  22. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
    Regards,
    Python Training in Chennai|Angularjs training chennai|Fita Chennai reviews|SAS Training in Chennai

    ReplyDelete
  23. Really awesome blog. Your blog is really useful for me.
    Thanks for sharing this informative blog. Keep update your blog.
    Oracle Training In Chennai

    ReplyDelete
  24. Best Java Training Institute In ChennaiThis information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic..

    ReplyDelete
  25. Testing is very important before launching a web application or a mobile application because it can detect the error at an early stage, and it reduces the work of the developer.
    manual testing training institute in chennai | mobile application training in chennai | FITA Academy Chennai

    ReplyDelete
  26. The best thing about HTML5 is that it allows the developers to embed the video files, audio files, and high quality graphics without any third party applications.
    html5 training in chennai | html5 training institutes in chennai | FITA Academy Chennai

    ReplyDelete
  27. Thanks a lot for all your valuable article! We are really happy about the your...
    hadoop training in Chennai

    ReplyDelete
  28. Really nice post. Thank for taking time to provide us the unique information with us. Keep on blogging
    Loadrunner Training in Chennai

    ReplyDelete
  29. This oracle information is good and is useful to get more information.
    Java Training in Chennai

    ReplyDelete
  30. Great Share!!!Each and every concept was explained clearly.The people who are interested to learn salesforce,can join in our salesforce training institute.Here we offered world class training with placement support.By clicking Salesforce developer training in Chennai,you will get more information.

    ReplyDelete
  31. Thank you for taking time to provide us the useful information with us. Your post is really awesome. Keep on posting. Keep on posting like this unique content.
    Informatica Training in Chennai

    ReplyDelete
  32. The directions of the stop and start oracle rac process and log directory structure method is very usefull and simple method.Informatica Training in Chennai

    ReplyDelete
  33. The oracle information is very useful.thanks for sharing.Your post is really awesome.Android Training in Chennai

    ReplyDelete
  34. Your blog is very useful for knowing about oracle rac process and log directory structure method.We have learned new things.
    Android Training in Chennai

    ReplyDelete
  35. it clearly explains the database, structure and the oracle , thanks for sharing the post it is useful.


    sharepoint training in chennai

    ReplyDelete
  36. You have clearly explained about stop and start process.Its very useful for us.Update more information like this.
    Linux training in chennai

    ReplyDelete
  37. Awesome.Have gave a clear idea about stop and start process.Its very useful and informative.Thanks for sharing.
    Linux training in chennai

    ReplyDelete
  38. This blog is informative. It gives clear idea about the start and stop process. ssrs training in chennai

    ReplyDelete
  39. this blog explains the major for stop and start process in oracle and also explains the directory structure of oracle. all those are very useful for oracle developers.CCNA Training in Chennai

    ReplyDelete
  40. This oracle blog is useful and is easy to understand the information.
    Websphere MQ Training in Chennai

    ReplyDelete
  41. great !clear explanation about oracle,it was helpful to learn more about oracle DBA and RAC DBA.it shows the details about how tostart and stop the process in oracle DBA.
    CCNA Training in Chennai

    ReplyDelete
  42. Clearly explained about start and stop process in oracle.Its very easy and understand.
    weblogic training in chennai

    ReplyDelete
  43. the concept to start and stop the oracle RAC and log directory structure is well clearly explained. the blog is very useful and informative. please keep on updating...
    Microstrategy Training in Chennai

    ReplyDelete
  44. thanks for step by step explanation about how to stop and start the oracle using directory structure. and also please update picture oriented information so easily can get the point.
    Datawarehousing Training in Chennai

    ReplyDelete
  45. Really fantastic post thanks for amazing sharing Buzz App

    ReplyDelete
  46. Selenium is the best tool for software testing automation and it is used globally by the top companies across globe. Get training to use selenium and star yur career as a siftware tester today.
    Selenium training in Chennai | Selenium course in Chennai | Selenium training institute in Chennai

    ReplyDelete
  47. This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you.
    - usps tracking
    - iphone 7 release date
    - netflix

    ReplyDelete
  48. Careless driving citations, what type of coverage yourof you, shopping around for quotes. These are the world’s first car radio and even the smallest – and you feel comfortable with, at a lot of costs and pass offereddrive to work each day. Set a budget. When shopping online is difficult because they got their information and quotes will only take up this mess!” You pick up one thesepurchase a policy for you. As these points to be lowered. Increasing deductibles will promise things such as air bags and anti fog capabilities have negatively impacted by this procedure.
    Daily Trending Guide familyof the drivers of their year in the Pennsylvania auto insurance rates, property insurance due to the car for example you are looking for a

    ReplyDelete
  49. Toujours d'après de Raadt, ces grands comptes exploitent Linux et son mode de fonctionnement communautaire.Old School New Body review IBM par exemple n'aurait plus besoin d'équipes de développeurs travaillant sur Unix, puisqu'il lui suffit de récupérer un travail déjà fait à des coûts défiant toute concurrence.


    old school new body f4x reviews Il précise que la qualité du code d'OpenBSD est
    Steve & Becky Old School New Body review bien meilleure que celle de

    ReplyDelete
  50. To keep ourselves up to date with the current trend is not an easy task in IT. But we can, through quality and worth able content like this. Thanks for sharing this web page. Please write more articles like this in future.
    PHP training in Chennai | PHP course in Chennai

    ReplyDelete
  51. You shared very useful post. I like it. Thanks for sharing.

    seo training chennai

    ReplyDelete
  52. Excelent posts.
    SAS Institute introduced the SAS Certified Professional Program,training proper understanding of how the SAS software works. Among the five certification programs that SAS Institute has come up with, SAS training can be considered as the entry point into the big data and the data analytics industry.
    SAS online training in hyderabad

    ReplyDelete
  53. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    digital marketing course in Chennai | digital marketing training in Chennai

    ReplyDelete
  54. My Arcus offer java training with 100% placement. Our java training course that includes fundamentals and advance java training program with high priority jobs. java j2ee training with placement having more exposure in most of the industry nowadays in depth manner of java .

    java training in chennai

    ReplyDelete
  55. Great article. This is very useful post. Thanks for sharing.


    seo course in chennai

    ReplyDelete
  56. Great article. Happy to visit your blog. Thanks for sharing.

    web design course in chennai

    ReplyDelete
  57. Very nice post. This is very useful. Thanks for sharing.

    PHP Course in Chennai

    ReplyDelete
  58. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Hadoop Training Chennai | PHP Training in Chennai

    ReplyDelete
  59. nice article about directory structure,its a great pleasure to read the post in your blog microstrategy online training

    ReplyDelete
  60. Thanks for Sharing the valuable information and thanks for sharing the wonderful article..We are glad to see such a wonderful article..
    QTP Training in Chennai | QTP Training Institute in Chennai | QTP Training

    ReplyDelete
  61. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    Web Designing Course in Chennai | web designing training in chennai

    ReplyDelete
  62. Great article. I like your post. Thanks for sharing.

    web designing course in chennai

    ReplyDelete
  63. • Very good effort in collecting information.........
    dot net training in chennai

    ReplyDelete
  64. Here, I found useful content about hadoop. I think that will be a Happiest news for every IT candidates. Whatever, everybody should know about hadoop from best training institute in Bangalore

    ReplyDelete
  65. he strategy you posted was nice. The people who want to shift their career to the IT sector then it is the right option to go with the ethical hacking course.
    Ethical hacking course in Chennai | Ethical hacking training in chennai

    ReplyDelete
  66. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Dot net training in Chennai | dot net course in Chennai

    ReplyDelete
  67. Thanks of sharing this post…Informatica is the fastest growing technology that helps to get your dream job in a best way, so if you wants to become a expertise in Informatica get some training on that Technology.
    Regards,

    ETL Training in Chennai | Informatica Training Institutes in Chennai

    ReplyDelete
  68. The blog was absolutely fantastic! Lot of great information which was helpful
    Best software testing training institute in velachery

    ReplyDelete