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

146 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. 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
  6. 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
  7. GSSSB 2480 Revenue Talati Bharti Recruitment 2016

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

    ReplyDelete
  8. Assam 2564 Police Constable Recruitment 2016


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


    ReplyDelete
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. Thanks a lot for all your valuable article! We are really happy about the your...
    hadoop training in Chennai

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

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

    ReplyDelete
  18. 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
  19. 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
  20. 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
  21. The oracle information is very useful.thanks for sharing.Your post is really awesome.Android Training in Chennai

    ReplyDelete
  22. 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
  23. it clearly explains the database, structure and the oracle , thanks for sharing the post it is useful.


    sharepoint training in chennai

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

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

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

    ReplyDelete
  27. 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
  28. This oracle blog is useful and is easy to understand the information.
    Websphere MQ Training in Chennai

    ReplyDelete
  29. 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
  30. Clearly explained about start and stop process in oracle.Its very easy and understand.
    weblogic training in chennai

    ReplyDelete
  31. 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
  32. 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
  33. Really fantastic post thanks for amazing sharing Buzz App

    ReplyDelete
  34. 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
  35. 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
  36. 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
  37. You shared very useful post. I like it. Thanks for sharing.

    seo training chennai

    ReplyDelete
  38. 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
  39. 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
  40. Great article. This is very useful post. Thanks for sharing.


    seo course in chennai

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

    web design course in chennai

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

    PHP Course in Chennai

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

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

    ReplyDelete
  45. 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
  46. 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
  47. 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
  48. The blog was absolutely fantastic! Lot of great information which was helpful
    Best software testing training institute in velachery

    ReplyDelete
  49. Thank you for Sharing. We are the best erp software providers in chennai. For more details call +91 9677025199 cloud erp in Chennai | erp software solutions provider in chennai

    ReplyDelete

  50. It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific nice content. And tell people specific ways to live their lives.Sometimes you just have to yell at people and give them a good shake to get your point across.
    Web Design Company
    Web Development Company
    Mobile App Development Company

    ReplyDelete

  51. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well
    iOS App Development Company

    ReplyDelete
  52. This blog was so impressive; I am inspired with your post writing style & how continuously you describe this topic. thanks for taking the time to discuss this.. No.1 CCNA Training in Chennai | No.1 CCNP Training in Chennai | Six Sigma Training in Chennai

    ReplyDelete
  53. Thanks for sharing informative article… Know about How to Change BSNL WiFi Password from techfizy.

    ReplyDelete
  54. Your article is enough to know about the basic things of oracle RAC. Also, it very helpful to start my career in this platform i give so much supports to your post.

    php training institute

    ReplyDelete
  55. This comment has been removed by the author.

    ReplyDelete
  56. This comment has been removed by the author.

    ReplyDelete
  57. Your explanation professionally well more informative post it ensures the Oracle RAC database application development
    oracle database cloud service

    ReplyDelete
  58. My partner and I stumbled over here different website and thought I might as well check things out. I like what I see so now I’m following you. Look forward to checking out your web page repeatedly. JAVA Training in chennai

    ReplyDelete
  59. I am so happy to read such a informative post..Thank you for updating...Summer Courses in Chennai | Summer Courses in BesantNagar

    ReplyDelete
  60. Thank you Admin!
    1 crore projects center specializes in Matlab Simulation Training in chennai

    ReplyDelete
  61. Thanks for your post! It's been a long time since I read a good article and such a meaning! I hope you will continue to write articles like these!!!
    wpf training in chennai | wcf training in chennai

    ReplyDelete
  62. It's A Great Pleasure reading your Article. USMLE in Chicago Thanks For Posting.

    ReplyDelete
  63. Great post. This is very useful information to me. Thanks for sharing with us.

    Selenium Training in Chennai

    ReplyDelete
  64. Really Thanks For Sharing Such an Informative Post...Worth Reading

    Vizag Real Estate

    ReplyDelete
  65. This comment has been removed by the author.

    ReplyDelete
  66. This comment has been removed by the author.

    ReplyDelete
  67. Nice article.Thanks for sharing this information..Oracle DBA Training

    ReplyDelete
  68. power testo blastis their such a higher unable amount with weight-loss whenever people begin out with so much motivation. It seems as though people are hitting their heads up against a brick wall over and over again. How often do we need to hit our heads against a wall that is not moving before we decide that it's great the opportunity to are generating your unconscious conscious, it will direct your ideas and you will call it fate. -Carl Jung Have you ever believed that your struggles with weight-loss could be on a unconscious level? Do you felt fate has dealt you a bad hand when it comes to personal body weight loss? What if you can get the parts of the mind that direct your
    https://newsletterforhealth.com/power-testo-blast/

    ReplyDelete
  69. cerisea medica protein goods are fish, shrimp, low fat yogurt, skim dairy and low fat cottage cheese. To eat this stuff, you are adding excellent protein to what you eat strategy strategy, which will aid in repairing your physique system and keeping cholesterol to be able. These are excellent additions to what you eat
    https://newsletterforhealth.com/cerisea-medica/

    ReplyDelete
  70. Keto fast hir interval (anagen) is prolonged and promotes increased growth and growth of hir and solidity. Clinical TrialsClinical trials of the 100 % 100 % organic ingredients have established anti-androgen activity and the ability to suppress di-hydroxy androgenic hormone or androgenic hormone or testosterone (
    https://newsletterforhealth/keto-fast/

    ReplyDelete
  71. keto blast
    .picking a large glass of frequent normal water before you take morning meal to accelerate your metabolic procedure, preparing your physique system to be a fat dropping machine the rest of the day. Are you getting enough during the day to keep yourself hydrated? The personal with average skills
    https://topwellnessblog.com/keto-blast/

    ReplyDelete
  72. provexum performance. As a result of painstaking research, developers have come up with effective natural pennis growth program that produces amazing outcomes. • While there are prescriptions that can provide temporary relief from construction problems, these medication only cure the symptoms, not the
    https://newsletterforhealth.com/provexum/

    ReplyDelete
  73. In the world of www, there are countless blogs. But believe me, this blog has all the perfection that makes it unique in all. I will be back again and again. dba insurance

    ReplyDelete
  74. Thanks for this. I really like what you've posted here and wish you the best of luck with this blog and thanks for sharing.

    sql server dba training in bangalore

    ReplyDelete
  75. I am inspired with your post writing style & how continuously you describe this topic on microstrategy developer tutorial . 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
  76. Nice and interesting information and informative too.
    Can you please let me know the good attraction places we can visit: Maldives tour packages

    ReplyDelete
  77. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
    educational course

    ReplyDelete
  78. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
    360DigiTMG

    ReplyDelete
  79. Cloudi5 is the Web Design Company in Coimbatore. Cloudi5 offer so many services according to the business and clients needs, Best Web design company in coimbatore

    ReplyDelete
  80. Such a great and unique information, really glad to learn something new from you. Good job and keep it up.

    website development packages

    ReplyDelete
  81. Excellent content! Thanks for sharing such a useful information.

    Data Science Training In Bangalore

    ReplyDelete
  82. Excellent blog. Lots of useful information here, thanks for your effort!
    Real Estate Plots in Vizag

    ReplyDelete
  83. Purchase the Convection microwave oven in India with Reviews & Buyer's Guide. Choose the
    best warranty. best convection microwave oven in india

    ReplyDelete
  84. Informative blog article! I look forward to your future updates.
    Brand Animators - Bringing Your Vision to Life with Innovative Video Solutions. From start-ups to large corporations, every business has a unique story to tell. At Brand Animators, our mission is to help you tell that story in a captivating and memorable way. As a top quality 3d, 2d animation video production company in Houston, Texas and best explainer video company in San Antonio, Texas and professional Healthcare & Medical animation video making studio in Dallas, Texas offer services such as 2d animation videos 3d animation videos, Motion graphics, 3d medical animation, Healthcare videos, Corporate films, Whiteboard animation videos, 3d Architectural walkthrough animation, Marketing and training videos, Product videos. And more! Whether you're looking to promote your brand, educate your audience, or simply convey information in an engaging and visually appealing manner, Brand Animators has you covered. Our video solutions are tailored to your budget, timeline, and company objectives.

    ReplyDelete
  85. I found your blog post on assignments help very encouraging. It reassures students that seeking assistance doesn't equate to weakness, but rather a proactive approach to improve their learning outcomes. Thank you for sharing these insights!

    ReplyDelete
  86. I am glad to discover this post Very valuable for me. Join our Online speaking English language class in Bahrain and embark on a journey towards fluency, confidence, and success.
    Book a free demo today. speaking english language class in bahrain

    ReplyDelete
  87. assignment help
    services have become integral in supporting students through their academic journeys. These platforms offer valuable assistance across diverse subjects, aiding students in comprehending complex topics, structuring assignments, and meeting stringent deadlines. Through online accessibility, they connect students with proficient writers, ensuring customized, original, and well-researched content. These services prioritize students’ learning by providing guidance, allowing them to grasp concepts more effectively. Moreover, they serve as a resource for time management, alleviating the stress of heavy workloads. However, while seeking assistance, students must prioritize ethical utilization, leveraging these services as supplements to their learning process rather than replacements for genuine effort and understanding.

    ReplyDelete
  88. If you want to find out more about the Glutathione injections of the products you intend to purchase, it's a good idea to talk with us. We can give you good advice on what products to buy, how to use and the best time to do it.
    IMBMS

    ReplyDelete