码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-07-20 22:17:48      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:under   文档   article   similar   class   option   loop   play   led   

In this Document

  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

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

标签:under   文档   article   similar   class   option   loop   play   led   

原文地址:http://www.cnblogs.com/liguangsunls/p/7214539.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!