This discussion is archived
2 Replies Latest reply: Feb 18, 2013 5:22 AM by deepak_kumar19 RSS

How clusterware restarts on automatically after server reboot in 11g R2

Robin Newbie
Currently Being Moderated
Hi,

I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.

Thanks,

Robin.
  • 1. Re: How clusterware restarts on automatically after server reboot in 11g R2
    P.Forstmann Guru
    Currently Being Moderated
    At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
    h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
    and:
    [root@rac1 ~]# head /etc/init.d/init.ohasd
    #!/bin/sh
    #
    # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
    #
    # init.ohasd - Control script for the Oracle HA services daemon
    # This script is invoked by the init system
    
    ORA_CRS_HOME=/u01/app/11.2.0/grid
    export ORA_CRS_HOME
    Edited by: P. Forstmann on 11 févr. 2013 18:45
  • 2. Re: How clusterware restarts on automatically after server reboot in 11g R2
    deepak_kumar19 Newbie
    Currently Being Moderated
    Hi,

    Follows few details:

    In Windows OS:
    OracleOHService is altomatically set to Automatic once Grid is successfully installed, this controls the overall Cluster startup on Server reboot.

    In Linux OS:
    $ tail /etc/inittab
    h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

    $ more /etc/init.d/init.ohasd

    The script controls the automatic startup of Cluster. If the contents are commented or removed, Cluster would not start on reboot. crsctl commands also helps you control the startup feature on reboot


    thanks
    Deepak

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points