This discussion is archived
1 Reply Latest reply: Apr 30, 2012 4:35 AM by Marko Sutic RSS

Cloud Control 12c: OMS & Agent automatic startup when booting with CRS

Casimir Newbie
Currently Being Moderated
Hello

Cloud Control 12c
Instance is 11gR2
OS: SLES11 64Bit

How can I add a script as a ressource to CRS so that OMS and Agent are started after booting?

I followed instructions given in document:
Oracle® Clusterware Administration and Deployment Guide
11g Release 1 (11.1)
Part Number B28255-07

Chapter "5 Making Applications Highly Available Using Oracle Clusterware"

What I have is as script that
- starts
- stops
- checks
OMS and Agent.

How can I add this to CRS for automatic startup when booting the host?

Thanks Casi
  • 1. Re: Cloud Control 12c: OMS & Agent automatic startup when booting with CRS
    Marko Sutic Newbie
    Currently Being Moderated
    Set parameter AUTO_START=always. It will always restart resource when node restarts.
    If you want for resource to restore the last state then set AUTO_START=restore.

    $ ./crs_stat -p rg_test
    NAME=rg_test
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=<b>always</b>
    ...
    ...

    Use crs_profile to update application resource profile.
    Use crs_register to register configuration with OCR.


    For Oracle Clusterware:
    $./crsctl disable crs
    Disable startup Oracle Clusterware after a reboot.

    $./crsctl enable crs
    Enable startup Oracle Clusterware after a reboot.


    Regards,
    Marko

    Edited by: Marko Sutic on Apr 30, 2012 1:34 PM

Legend

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