In this Document
_afrLoop=1459311711568804&id=1481647.1&displayIndex=6&_afrWindowMode=0&_adf.ctrl-state=foyvm6hmv_102#REF_PURPOSE">Purpose |
Details |
Applies to:
Oracle Server - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Purpose
This document describes 11gR2 databases services for Policy and Administrator Managed Databases. Pre-11gR2 has only Administrator Managed Databases
Details
Services for Policy Managed Database:
-UNIFORM (running on all instances in the pool)
-SINGLETON (running on only one instance in the pool)
For singleton services, RAC chooses on which instance the service is active. If that instance fails, the service fails over to another instance in the same pool.
Note: A single RAC database can run on multiple server pools.
Eg:
To create a SINGLETON service called BACKUP_JOB using server pool SP1 and a UNIFORM service called ERP using server pool SP2
$srvctl add service -d RAC_DB -s BACKUP_JOB -g SP1 -c singleton
$srvctl add service -d RAC_DB -s ERP -g SP2 -c UNIFORM
Services for Administrator Managed database:
-PREFERRED (running on these instances normally )
-AVAILABLE (running on these instances when PREFERRED fails)
Eg:
To create a service called PAYROLL with preferred instance RAC_DB2 and available instance RAC_DB1
$srvctl add service -d RAC_DB -s PAYROLL -r RAC_DB2 -a RAC_DB1