时间:2021-07-01 10:21:17 帮助过:4人阅读
In this Document
_afrLoop=1459311711568804&id=1481647.1&displayIndex=6&_afrWindowMode=0&_adf.ctrl-state=foyvm6hmv_102#REF_PURPOSE">Purpose |
Details |
This document describes 11gR2 databases services for Policy and Administrator Managed Databases. Pre-11gR2 has only Administrator Managed Databases
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:
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:
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
11gR2 Database Services for "Policy" and "Administrator" Managed Databases (文件 ID 1481647.1)
标签: