11gR2 Database Services for "Policy" and "Administrator" Managed Databases (文件 ID 1481647.1)

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:

Service for a policy-managed databases are defined to a server pool where the database is running, the service can be either UNIFORM or SINGLETON:

-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:

Service for administrator-managed databases is similar as what's in pre-11gR2, it has PREFERRED instances and optionally AVAILABLE instances to control on which instances the service is active:



-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

上一篇:【POJ2242】The Circumference of the Circle(初等几何)


下一篇:Mysql 数据库学习笔记05 触发器