SlideShare a Scribd company logo
1 of 12
Download to read offline
SERVER POOLS AND POLICY MANAGED DATABASES
Author: RAC Attack Community
Creation Date: March 23, 2014
Last Updated: March 23, 2014
Version: 1.0
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 2
1 PREFACE
RAC Attack is an Oracle RAC SIG community effort to invite all Oracle Users to install and configure a 2-
Node RAC environment on their own hardware (laptops) with experienced RAC Attack Ninja’s support.
The effort has gained much support within the last year of its inception and is held at most major
conferences. For more information, visit http://racattack.org/12c.
2 PURPOSE
The purpose of this particular is to illustrate a conversion from Admin-Managed RAC Databases to Policy
Managed databases, a feature introduced with Oracle 11gR2 but still quite uncommon.
Policy Managed Databases require less configuration effort and achieve superior High Availability for the
most critical databases. The database instances are no more directly assigned to cluster nodes. The
database are assigned instead to server pools and there is no more a one-to-one relation between
instances and servers.
2.1 SERVER POOLS
Server pools are the foundation of policy managed databases. They are used to partition a cluster into
smaller groups of servers. Because databases are assigned to server pools, their size directly affects the
resources available to the databases.
The size of server pools is driven by three main attributes:
• MIN_SIZE: The minimum number of servers that compose the server pool
• MAX_SIZE: The maximum number of servers
• IMPORTANCE: The priority level (from 0 to 1000, higher numbers means higher priority)
These factors are used by the cluster to assign server pools when the cluster starts.
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 3
2.2 POLICY MANAGED DATABASES
With admin-managed databases, you must set manually which instances run on which servers. This is
somehow an additional effort on one side, but on the other it allows DBAs to choose how many instances
can run for each database:
Policy-managed databases however span the entire server pool, so the number of instances is always
equal to the number of servers composing the server pool, and it is the same for each database in the
server pool.
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 4
3 ASSUMPTIONS
This lab assumes that the user has an existing 2-node RAC environment configured as per the base RAC
Attack 12c manual instructions listed here.
4 CONVERT TO POLICY MANAGED DATABASES
4.1 GET CURRENT SERVER POOLS
[oracle@collabn1 bin]$ . oraenv
ORACLE_SID = [oracle] ? RAC
[oracle@collabn1 ~]$ srvctl status srvpool -detail
Server pool name: Free
Active servers count: 0
Active server names:
Server pool name: Generic
Active servers count: 2
Active server names: collabn1,collabn2
NAME=collabn1 STATE=ONLINE
NAME=collabn2 STATE=ONLINE
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 5
When a cluster is configured with admin managed databases, only two server pools exist: Generic and
Free. The first contains the database instances, the second contain servers that don’t have database
configured.
4.2 GET DATABASE MANAGEMENT MODE
[oracle@collabn1 ~]$ srvctl config database -db RAC
Database unique name: RAC
Database name: RAC
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/RAC/spfileRAC.ora
Password file: +DATA/RAC/orapwrac
Domain: racattack
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RAC
Database instances: RAC1,RAC2
Disk Groups: FRA,DATA
Mount point paths:
Services: svctest
Type: RAC
Start concurrency:
Stop concurrency:
Database is administrator managed
The last line states that the database is admin-managed.
4.3 CREATE A NEW SERVER POOL
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 2
[oracle@collabn1 ~]$ srvctl add srvpool -serverpool RACATTACK -min 1 -max 2 -importance 10
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 2
Server pool name: RACATTACK
Active servers count: 0
[oracle@collabn1 ~]$
The RACATTACK server pool is created, however it is empty because there are no servers available in the
“Free” server pool or other server pools with lower priority.
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 6
4.4 FREE-UP A NODE FOR THE NEW SERVER POOL
In order to get a server for the new created server pool, we should either add a node to the cluster or
remove a server from the generic server pool. We’ll choose the second one as it is the easiest example for
the lab.
To get a server from the Generic server pool we need to remove all the instances assigned to a chosen
node (we’ll free up the collabn1 node first).
Stop the instance, remove any exclusive service assigned to it, if existing, and remove the instance from
the clusterware configuration:
[oracle@collabn1 ~]$ srvctl stop instance -db RAC -instance RAC1
[oracle@collabn1 ~]$ srvctl remove service -service svctest -db RAC
[oracle@collabn1 ~]$ srvctl remove instance -db RAC -instance RAC1
Remove instance from the database RAC? (y/[n]) y
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 1
Server pool name: RACATTACK
Active servers count: 1
[oracle@collabn1 ~]$
As you can see, the freed node is immediately assigned to RACATTACK server pool because it is already
configured.
4.5 CONVERTING THE DATABASE TO POLICY-MANAGED
Converting a DB to policy managed is as simple as modifying it by specifying the new server pool through
srvctl, however this will shut down completely the database the time necessary for the reconfiguration
(seconds to minutes). The “-force” switch is necessary to confirm the shutdown of the database.
[oracle@collabn1 ~]$ srvctl status database -db RAC
Instance RAC2 is running on node collabn2
[oracle@collabn1 ~]$ srvctl modify database -db RAC -serverpool RACATTACK -force
[oracle@collabn1 ~]$
The database now is running on two instances, two nodes.
[oracle@collabn1 ~]$ srvctl status database -db RAC
Instance RAC_1 is running on node collabn2
Instance RAC_2 is running on node collabn1
Why?
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 7
Once the admin-managed database instances have been removed from the cluster, the Generic server
pool is automatically emptied because RAC is the only database in the cluster. The servers are then
assigned both to the RACATTACK server pool.
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 0
Server pool name: RACATTACK
Active servers count: 2
Notice that the instance names contain an underscore (RAC_1 and RAC_2), this is the naming convention
used by the clusterware for policy managed databases. The cluster automatically adds UNDO tablespaces
and REDO threads to new the database in order to satisfy new instances in the server pool. This is has not
been done in our example however, because the database was already composed by two instances.
The instances, RAC_1 and RAC_2, may not be assigned respectively to collabn1 and collabn2. The server
assignment is dynamic and the first instance is usually configured on the first available node so don’t rely
on this.
Verify that the instance is now policy managed:
[oracle@collabn1 ~]$ srvctl config database -d RAC
Database unique name: RAC
Database name: RAC
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/RAC/spfileRAC.ora
Password file: +DATA/RAC/orapwrac
Domain: racattack
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RACATTACK
Database instances:
Disk Groups: FRA,DATA
Mount point paths:
Services:
Type: RAC
Start concurrency:
Stop concurrency:
Database is policy managed
5 PLAYING WITH THE SERVER POOLS
The server pool now has min pool size 1, max pool size 2.
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 8
[oracle@collabn1 ~]$ srvctl config srvpool -serverpool RACATTACK
Server pool name: RACATTACK
Importance: 10, Min: 1, Max: 2
Category: hub
Candidate server names:
Because it’s the only server pool, it can get its maximum number of servers.
Check the status of the database using crsctl:
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
1 ONLINE ONLINE collabn2 Open,STABLE
2 ONLINE ONLINE collabn1 Open,STABLE
--------------------------------------------------------------------------------
Now try to shrink the server pool:
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool RACATTACK -min 1 -max 1 -force
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
1 ONLINE ONLINE collabn2 Open,STABLE
2 ONLINE OFFLINE Instance Shutdown,ST
ABLE
--------------------------------------------------------------------------------
Have you notice the behavior? Even if we have shrunk the server pool, the second instance is already
configured and showing up as an offline instance.
This is a misleading behavior for the users, but according to Oracle, it is the expected behavior.
Now try to add another server pool.
[oracle@collabn1 ~]$ srvctl add srvpool -serverpool ANOTHERPOOL -min 1 -max 1 -importance 1
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 0
Server pool name: ANOTHERPOOL
Active servers count: 1
Server pool name: RACATTACK
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 9
Active servers count: 1
The server pool is added and one server is assigned to ANOTHERPOOL.
Now try to specify a minimum size of 2:
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 2
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Active servers count: 0
Server pool name: Generic
Active servers count: 0
Server pool name: ANOTHERPOOL
Active servers count: 1
Server pool name: RACATTACK
Active servers count: 1
The new server pool has lower importance than RACATTACK, so the RAC database survives and both
server pools have 1 server assigned.
Expand RACATTACK again:
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool RACATTACK -min 2 -max 2
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
1 ONLINE ONLINE collabn2 Open,STABLE
2 ONLINE ONLINE collabn1 Open,STABLE
--------------------------------------------------------------------------------
Review the current configuration and status of server pools:
[oracle@collabn1 ~]$ srvctl config srvpool
Server pool name: Free
Importance: 0, Min: 0, Max: -1
Category:
Candidate server names:
Server pool name: Generic
Importance: 0, Min: 0, Max: -1
Category:
Candidate server names:
Server pool name: ANOTHERPOOL
Importance: 2, Min: 2, Max: 2
Category: hub
Candidate server names:
Server pool name: RACATTACK
Importance: 10, Min: 2, Max: 2
Category: hub
Candidate server names:
[oracle@collabn1 ~]$ srvctl status serverpool
Server pool name: Free
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 10
Active servers count: 0
Server pool name: Generic
Active servers count: 0
Server pool name: ANOTHERPOOL
Active servers count: 0
Server pool name: RACATTACK
Active servers count: 2
Now try to give more importance to ANOTHERPOOL. Because it requires shutting down the database
RAC, it asks to use the –force switch:
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20
PRCS-1011 : Failed to modify server pool ANOTHERPOOL
CRS-2736: The operation requires stopping resource 'ora.rac.db' on server 'collabn2'
CRS-2736: The operation requires stopping resource 'ora.rac.db' on server 'collabn1'
CRS-2738: Unable to modify server pool 'ora.ANOTHERPOOL' as this will affect running resources,
but the force option was not specified
You can verify the actions that the clusterware would do by using the new 12c –eval switch:
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20 -
eval
Database rac will be stopped on nodes collabn2,collabn1
Server collabn1 will be moved from pool RACATTACK to pool ANOTHERPOOL
Server collabn2 will be moved from pool RACATTACK to pool ANOTHERPOOL
Finally, use the -force switch and verify that the RAC database is shut down by the cluster.
[oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20 -
force
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
1 ONLINE OFFLINE Instance Shutdown,ST
ABLE
2 ONLINE OFFLINE Instance Shutdown,ST
ABLE
--------------------------------------------------------------------------------
6 RAC ONE NODE
Oracle RAC One Node may be convenient and cheaper than Oracle RAC for many customers.
As final step in this lab we’ll convert our database to RAC One Node.
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 11
Because our RAC database is already shut down (no servers assigned to RACATTACK server pool), we can
remove it from the configuration:
[oracle@collabn1 ~]$ srvctl remove database -db RAC
Remove the database RAC? (y/[n) y
Then we can add back the database as RAC One Node:
[oracle@collabn1 ~]$ srvctl add database -db RAC -oraclehome
/u01/app/oracle/product/12.1.0/dbhome_1 -dbtype RACONENODE -serverpool ANOTHERPOOL -spfile
+DATA/RAC/spfileRAC.ora -pwfile +DATA/RAC/orapwrac -domain racattack -diskgroup "FRA,DATA"
[oracle@collabn1 ~]$ srvctl start database -db RAC
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
1 ONLINE ONLINE collabn2 Open,STABLE
--------------------------------------------------------------------------------
The database has only one instance as expected.
Review its configuration:
[oracle@collabn1 ~]$ srvctl config database -d RAC
Database unique name: RAC
Database name:
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/RAC/spfileRAC.ora
Password file: +DATA/RAC/orapwrac
Domain: racattack
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: ANOTHERPOOL
Database instances:
Disk Groups: FRA,DATA
Mount point paths:
Services:
Type: RACOneNode
Online relocation timeout: 30
Instance name prefix: RAC
Candidate servers:
Database is policy managed
Now the instance to the other node of the cluster:
Server Pools and Policy Managed Databases
Author: RAC Attack Community
Last Updated: March 21, 2014
Page#: 12
[oracle@collabn1 ~]$ srvctl relocate database -db RAC
[oracle@collabn1 ~]$
[oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type"
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.rac.db
2 ONLINE ONLINE collabn1 Open,STABLE
--------------------------------------------------------------------------------

More Related Content

What's hot

Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Ludovico Caldara
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Bashapasalapudi123
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newNassyam Basha
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Ludovico Caldara
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Ludovico Caldara
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesGustavo Rene Antunez
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesDeiby GĂłmez
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
Oracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&TricksOracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&TricksZekeriya Besiroglu
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?Gustavo Rene Antunez
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Ludovico Caldara
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Ludovico Caldara
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACKristofferson A
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overviewaguswahyudi09
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RACSatishbabu Gunukula
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 

What's hot (20)

Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats new
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Oracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&TricksOracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&Tricks
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overview
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 

Viewers also liked

Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...Zhaoyang Wang
 
Deploying Oracle 11g R2 on Linux RHEL6
Deploying Oracle 11g R2 on Linux RHEL6Deploying Oracle 11g R2 on Linux RHEL6
Deploying Oracle 11g R2 on Linux RHEL6Mc Cloud
 
D17316 gc20 l01_overview
D17316 gc20 l01_overviewD17316 gc20 l01_overview
D17316 gc20 l01_overviewMoeen_uddin
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cTrivadis
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Markus Michalewicz
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMRACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMMaaz Anjum
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationMarkus Michalewicz
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And Whatudaymoogala
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RACSyed Hussain
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentationegirshovich
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMridul Bansal
 

Viewers also liked (17)

Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...
 
Resume
ResumeResume
Resume
 
Deploying Oracle 11g R2 on Linux RHEL6
Deploying Oracle 11g R2 on Linux RHEL6Deploying Oracle 11g R2 on Linux RHEL6
Deploying Oracle 11g R2 on Linux RHEL6
 
D17316 gc20 l01_overview
D17316 gc20 l01_overviewD17316 gc20 l01_overview
D17316 gc20 l01_overview
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 
Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13Oracle RAC 12c New Features List OOW13
Oracle RAC 12c New Features List OOW13
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMRACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Oracle Enterprise Manager 11g
Oracle Enterprise Manager 11gOracle Enterprise Manager 11g
Oracle Enterprise Manager 11g
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
1 Rac
1 Rac1 Rac
1 Rac
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentation
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 

Similar to RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases

Sun oracle-maa-060407
Sun oracle-maa-060407Sun oracle-maa-060407
Sun oracle-maa-060407Sal Marcus
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewMarkus Michalewicz
 
SQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinarSQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinarDenny Lee
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalAjith Narayanan
 
Database decommission process
Database decommission processDatabase decommission process
Database decommission processK Kumar Guduru
 
HA System-First presentation
HA System-First presentationHA System-First presentation
HA System-First presentationAvin Chan
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
SQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery WebinarSQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery WebinarDenny Lee
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesSeveralnines
 
MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017Dave Stokes
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Graciete Martins
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
How to scale your web app
How to scale your web appHow to scale your web app
How to scale your web appGeorgio_1999
 
How to connect sql server to oracle server
How to connect sql server to oracle serverHow to connect sql server to oracle server
How to connect sql server to oracle serverGustavo Bernardo
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 
🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...Alireza Kamrani
 
ConFoo MySQL Replication Evolution : From Simple to Group Replication
ConFoo  MySQL Replication Evolution : From Simple to Group ReplicationConFoo  MySQL Replication Evolution : From Simple to Group Replication
ConFoo MySQL Replication Evolution : From Simple to Group ReplicationDave Stokes
 

Similar to RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases (20)

Sun oracle-maa-060407
Sun oracle-maa-060407Sun oracle-maa-060407
Sun oracle-maa-060407
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 
les04.pdf
les04.pdfles04.pdf
les04.pdf
 
SQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinarSQL Server Reporting Services Disaster Recovery webinar
SQL Server Reporting Services Disaster Recovery webinar
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
 
Database decommission process
Database decommission processDatabase decommission process
Database decommission process
 
HA System-First presentation
HA System-First presentationHA System-First presentation
HA System-First presentation
 
21 Pdfsam
21 Pdfsam21 Pdfsam
21 Pdfsam
 
21 Rac
21 Rac21 Rac
21 Rac
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
SQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery WebinarSQL Server Reporting Services Disaster Recovery Webinar
SQL Server Reporting Services Disaster Recovery Webinar
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
 
MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017
 
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
Configuration of sap net weaver for oracle grid infrastructure 11.2 with orac...
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
How to scale your web app
How to scale your web appHow to scale your web app
How to scale your web app
 
How to connect sql server to oracle server
How to connect sql server to oracle serverHow to connect sql server to oracle server
How to connect sql server to oracle server
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...
 
ConFoo MySQL Replication Evolution : From Simple to Group Replication
ConFoo  MySQL Replication Evolution : From Simple to Group ReplicationConFoo  MySQL Replication Evolution : From Simple to Group Replication
ConFoo MySQL Replication Evolution : From Simple to Group Replication
 

More from Ludovico Caldara

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityLudovico Caldara
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Ludovico Caldara
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18Ludovico Caldara
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraLudovico Caldara
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...Ludovico Caldara
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionLudovico Caldara
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBLudovico Caldara
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Ludovico Caldara
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Ludovico Caldara
 

More from Ludovico Caldara (12)

Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model era
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 

Recently uploaded (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 âś“Call Girls In Kalyan ( Mumbai ) secure service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 

RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases

  • 1. SERVER POOLS AND POLICY MANAGED DATABASES Author: RAC Attack Community Creation Date: March 23, 2014 Last Updated: March 23, 2014 Version: 1.0
  • 2. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 2 1 PREFACE RAC Attack is an Oracle RAC SIG community effort to invite all Oracle Users to install and configure a 2- Node RAC environment on their own hardware (laptops) with experienced RAC Attack Ninja’s support. The effort has gained much support within the last year of its inception and is held at most major conferences. For more information, visit http://racattack.org/12c. 2 PURPOSE The purpose of this particular is to illustrate a conversion from Admin-Managed RAC Databases to Policy Managed databases, a feature introduced with Oracle 11gR2 but still quite uncommon. Policy Managed Databases require less configuration effort and achieve superior High Availability for the most critical databases. The database instances are no more directly assigned to cluster nodes. The database are assigned instead to server pools and there is no more a one-to-one relation between instances and servers. 2.1 SERVER POOLS Server pools are the foundation of policy managed databases. They are used to partition a cluster into smaller groups of servers. Because databases are assigned to server pools, their size directly affects the resources available to the databases. The size of server pools is driven by three main attributes: • MIN_SIZE: The minimum number of servers that compose the server pool • MAX_SIZE: The maximum number of servers • IMPORTANCE: The priority level (from 0 to 1000, higher numbers means higher priority) These factors are used by the cluster to assign server pools when the cluster starts.
  • 3. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 3 2.2 POLICY MANAGED DATABASES With admin-managed databases, you must set manually which instances run on which servers. This is somehow an additional effort on one side, but on the other it allows DBAs to choose how many instances can run for each database: Policy-managed databases however span the entire server pool, so the number of instances is always equal to the number of servers composing the server pool, and it is the same for each database in the server pool.
  • 4. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 4 3 ASSUMPTIONS This lab assumes that the user has an existing 2-node RAC environment configured as per the base RAC Attack 12c manual instructions listed here. 4 CONVERT TO POLICY MANAGED DATABASES 4.1 GET CURRENT SERVER POOLS [oracle@collabn1 bin]$ . oraenv ORACLE_SID = [oracle] ? RAC [oracle@collabn1 ~]$ srvctl status srvpool -detail Server pool name: Free Active servers count: 0 Active server names: Server pool name: Generic Active servers count: 2 Active server names: collabn1,collabn2 NAME=collabn1 STATE=ONLINE NAME=collabn2 STATE=ONLINE
  • 5. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 5 When a cluster is configured with admin managed databases, only two server pools exist: Generic and Free. The first contains the database instances, the second contain servers that don’t have database configured. 4.2 GET DATABASE MANAGEMENT MODE [oracle@collabn1 ~]$ srvctl config database -db RAC Database unique name: RAC Database name: RAC Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1 Oracle user: oracle Spfile: +DATA/RAC/spfileRAC.ora Password file: +DATA/RAC/orapwrac Domain: racattack Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: RAC Database instances: RAC1,RAC2 Disk Groups: FRA,DATA Mount point paths: Services: svctest Type: RAC Start concurrency: Stop concurrency: Database is administrator managed The last line states that the database is admin-managed. 4.3 CREATE A NEW SERVER POOL [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 2 [oracle@collabn1 ~]$ srvctl add srvpool -serverpool RACATTACK -min 1 -max 2 -importance 10 [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 2 Server pool name: RACATTACK Active servers count: 0 [oracle@collabn1 ~]$ The RACATTACK server pool is created, however it is empty because there are no servers available in the “Free” server pool or other server pools with lower priority.
  • 6. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 6 4.4 FREE-UP A NODE FOR THE NEW SERVER POOL In order to get a server for the new created server pool, we should either add a node to the cluster or remove a server from the generic server pool. We’ll choose the second one as it is the easiest example for the lab. To get a server from the Generic server pool we need to remove all the instances assigned to a chosen node (we’ll free up the collabn1 node first). Stop the instance, remove any exclusive service assigned to it, if existing, and remove the instance from the clusterware configuration: [oracle@collabn1 ~]$ srvctl stop instance -db RAC -instance RAC1 [oracle@collabn1 ~]$ srvctl remove service -service svctest -db RAC [oracle@collabn1 ~]$ srvctl remove instance -db RAC -instance RAC1 Remove instance from the database RAC? (y/[n]) y [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 1 Server pool name: RACATTACK Active servers count: 1 [oracle@collabn1 ~]$ As you can see, the freed node is immediately assigned to RACATTACK server pool because it is already configured. 4.5 CONVERTING THE DATABASE TO POLICY-MANAGED Converting a DB to policy managed is as simple as modifying it by specifying the new server pool through srvctl, however this will shut down completely the database the time necessary for the reconfiguration (seconds to minutes). The “-force” switch is necessary to confirm the shutdown of the database. [oracle@collabn1 ~]$ srvctl status database -db RAC Instance RAC2 is running on node collabn2 [oracle@collabn1 ~]$ srvctl modify database -db RAC -serverpool RACATTACK -force [oracle@collabn1 ~]$ The database now is running on two instances, two nodes. [oracle@collabn1 ~]$ srvctl status database -db RAC Instance RAC_1 is running on node collabn2 Instance RAC_2 is running on node collabn1 Why?
  • 7. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 7 Once the admin-managed database instances have been removed from the cluster, the Generic server pool is automatically emptied because RAC is the only database in the cluster. The servers are then assigned both to the RACATTACK server pool. [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 0 Server pool name: RACATTACK Active servers count: 2 Notice that the instance names contain an underscore (RAC_1 and RAC_2), this is the naming convention used by the clusterware for policy managed databases. The cluster automatically adds UNDO tablespaces and REDO threads to new the database in order to satisfy new instances in the server pool. This is has not been done in our example however, because the database was already composed by two instances. The instances, RAC_1 and RAC_2, may not be assigned respectively to collabn1 and collabn2. The server assignment is dynamic and the first instance is usually configured on the first available node so don’t rely on this. Verify that the instance is now policy managed: [oracle@collabn1 ~]$ srvctl config database -d RAC Database unique name: RAC Database name: RAC Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1 Oracle user: oracle Spfile: +DATA/RAC/spfileRAC.ora Password file: +DATA/RAC/orapwrac Domain: racattack Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: RACATTACK Database instances: Disk Groups: FRA,DATA Mount point paths: Services: Type: RAC Start concurrency: Stop concurrency: Database is policy managed 5 PLAYING WITH THE SERVER POOLS The server pool now has min pool size 1, max pool size 2.
  • 8. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 8 [oracle@collabn1 ~]$ srvctl config srvpool -serverpool RACATTACK Server pool name: RACATTACK Importance: 10, Min: 1, Max: 2 Category: hub Candidate server names: Because it’s the only server pool, it can get its maximum number of servers. Check the status of the database using crsctl: [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 1 ONLINE ONLINE collabn2 Open,STABLE 2 ONLINE ONLINE collabn1 Open,STABLE -------------------------------------------------------------------------------- Now try to shrink the server pool: [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool RACATTACK -min 1 -max 1 -force [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 1 ONLINE ONLINE collabn2 Open,STABLE 2 ONLINE OFFLINE Instance Shutdown,ST ABLE -------------------------------------------------------------------------------- Have you notice the behavior? Even if we have shrunk the server pool, the second instance is already configured and showing up as an offline instance. This is a misleading behavior for the users, but according to Oracle, it is the expected behavior. Now try to add another server pool. [oracle@collabn1 ~]$ srvctl add srvpool -serverpool ANOTHERPOOL -min 1 -max 1 -importance 1 [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 0 Server pool name: ANOTHERPOOL Active servers count: 1 Server pool name: RACATTACK
  • 9. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 9 Active servers count: 1 The server pool is added and one server is assigned to ANOTHERPOOL. Now try to specify a minimum size of 2: [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 2 [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free Active servers count: 0 Server pool name: Generic Active servers count: 0 Server pool name: ANOTHERPOOL Active servers count: 1 Server pool name: RACATTACK Active servers count: 1 The new server pool has lower importance than RACATTACK, so the RAC database survives and both server pools have 1 server assigned. Expand RACATTACK again: [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool RACATTACK -min 2 -max 2 [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 1 ONLINE ONLINE collabn2 Open,STABLE 2 ONLINE ONLINE collabn1 Open,STABLE -------------------------------------------------------------------------------- Review the current configuration and status of server pools: [oracle@collabn1 ~]$ srvctl config srvpool Server pool name: Free Importance: 0, Min: 0, Max: -1 Category: Candidate server names: Server pool name: Generic Importance: 0, Min: 0, Max: -1 Category: Candidate server names: Server pool name: ANOTHERPOOL Importance: 2, Min: 2, Max: 2 Category: hub Candidate server names: Server pool name: RACATTACK Importance: 10, Min: 2, Max: 2 Category: hub Candidate server names: [oracle@collabn1 ~]$ srvctl status serverpool Server pool name: Free
  • 10. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 10 Active servers count: 0 Server pool name: Generic Active servers count: 0 Server pool name: ANOTHERPOOL Active servers count: 0 Server pool name: RACATTACK Active servers count: 2 Now try to give more importance to ANOTHERPOOL. Because it requires shutting down the database RAC, it asks to use the –force switch: [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20 PRCS-1011 : Failed to modify server pool ANOTHERPOOL CRS-2736: The operation requires stopping resource 'ora.rac.db' on server 'collabn2' CRS-2736: The operation requires stopping resource 'ora.rac.db' on server 'collabn1' CRS-2738: Unable to modify server pool 'ora.ANOTHERPOOL' as this will affect running resources, but the force option was not specified You can verify the actions that the clusterware would do by using the new 12c –eval switch: [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20 - eval Database rac will be stopped on nodes collabn2,collabn1 Server collabn1 will be moved from pool RACATTACK to pool ANOTHERPOOL Server collabn2 will be moved from pool RACATTACK to pool ANOTHERPOOL Finally, use the -force switch and verify that the RAC database is shut down by the cluster. [oracle@collabn1 ~]$ srvctl modify srvpool -serverpool ANOTHERPOOL -min 2 -max 2 -importance 20 - force [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 1 ONLINE OFFLINE Instance Shutdown,ST ABLE 2 ONLINE OFFLINE Instance Shutdown,ST ABLE -------------------------------------------------------------------------------- 6 RAC ONE NODE Oracle RAC One Node may be convenient and cheaper than Oracle RAC for many customers. As final step in this lab we’ll convert our database to RAC One Node.
  • 11. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 11 Because our RAC database is already shut down (no servers assigned to RACATTACK server pool), we can remove it from the configuration: [oracle@collabn1 ~]$ srvctl remove database -db RAC Remove the database RAC? (y/[n) y Then we can add back the database as RAC One Node: [oracle@collabn1 ~]$ srvctl add database -db RAC -oraclehome /u01/app/oracle/product/12.1.0/dbhome_1 -dbtype RACONENODE -serverpool ANOTHERPOOL -spfile +DATA/RAC/spfileRAC.ora -pwfile +DATA/RAC/orapwrac -domain racattack -diskgroup "FRA,DATA" [oracle@collabn1 ~]$ srvctl start database -db RAC [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 1 ONLINE ONLINE collabn2 Open,STABLE -------------------------------------------------------------------------------- The database has only one instance as expected. Review its configuration: [oracle@collabn1 ~]$ srvctl config database -d RAC Database unique name: RAC Database name: Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1 Oracle user: oracle Spfile: +DATA/RAC/spfileRAC.ora Password file: +DATA/RAC/orapwrac Domain: racattack Start options: open Stop options: immediate Database role: PRIMARY Management policy: AUTOMATIC Server pools: ANOTHERPOOL Database instances: Disk Groups: FRA,DATA Mount point paths: Services: Type: RACOneNode Online relocation timeout: 30 Instance name prefix: RAC Candidate servers: Database is policy managed Now the instance to the other node of the cluster:
  • 12. Server Pools and Policy Managed Databases Author: RAC Attack Community Last Updated: March 21, 2014 Page#: 12 [oracle@collabn1 ~]$ srvctl relocate database -db RAC [oracle@collabn1 ~]$ [oracle@collabn1 ~]$ /u01/app/12.1.0/grid/bin/crsctl stat res -t -w "TYPE = ora.database.type" -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.rac.db 2 ONLINE ONLINE collabn1 Open,STABLE --------------------------------------------------------------------------------