SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
9/30/13	
  
1	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template1
Understanding
Oracle RAC 12c Internals
Markus Michalewicz, Mark Scardina
Director of Product Management
9/30/13	
  
2	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3
Safe Harbor Statement
The following is intended to outline our general product direction. It is
intended for information purposes only, and may not be incorporated
into any contract. It is not a commitment to deliver any material, code, or
functionality, and should not be relied upon in making purchasing
decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole
discretion of Oracle.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
9/30/13	
  
3	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5
The New Oracle RAC 12c
Oracle RAC 12c provides**:
1.  Better Business Continuity
and High Availability (HA)
2.  Agility and Scalability
3.  Cost-effective Workload Management
Using
§  Standardized and improved
deployment and management
§  A familiar and matured HA stack
Oracle Real Application Clusters (RAC)
Oracle Grid Infrastructure (GI):
Automatic Storage Management (ASM)
Oracle Clusterware (OCW)
Oracle Flex ASM
CRM	
  
**Understanding Oracle RAC Internals 11g Rel. 2:
http://www.oracle.com/technetwork/products/clustering/overview/understandingrac11grel2internals-2010098.pdf
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6
The Setup for this Session
What has been installed and configured so far?
vixen srvpool: frontofficecomet srvpool: backoffice
dancer srvpool: backofficedasher srvpool: frontoffice
OS OL 6.4 OS OL 6.4
OS OL 6.4OS OL 6.4
Oracle GI for a cluster Oracle GI for a cluster
Oracle GI for a clusterOracle GI for a cluster
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_2
raccdb1_1
[RAC]> srvctl status database -d raccdb1
Instance raccdb1_1 is running on node comet
Instance raccdb1_2 is running on node dancer
Instance raccdb1_3 is running on node vixen
Instance raccdb1_4 is running on node dasher
raccdb1_4
raccdb1_3
§  4-node cluster
§  OL 6.4 UEK
§  Oracle Grid Infrastructure 12c
–  Per node installation
§  Oracle RAC Database Home 12c
–  Shared installation on ACFS
§  One Oracle Multitenant Container Database
–  DB name: raccdb1
–  Deployed as a Policy-Managed Database
9/30/13	
  
4	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7
New Memory Requirements
Not an Oracle RAC internal – just something to mention
[GRID]> srvctl status asm
ASM is running on comet,dasher,dancer
[GRID]> srvctl status mgmtdb
Database is enabled
Instance -MGMTDB is running on node dasher
[GRID]> ps -ef |grep pmon
grid 3227 1 0 13:54 ? 00:00:02 asm_pmon_+ASM1
grid 3868 1 0 13:55 ? 00:00:01 mdb_pmon_-MGMTDB
grid 7364 1 0 13:57 ? 00:00:01 apx_pmon_+APX1
oracle 7917 1 0 13:57 ? 00:00:02 ora_pmon_raccdb1_4
[RAC]> df -h
Filesystem Size Used Avail Use% Mounted on
...
tmpfs 1.7G 1.3G 475M 73% /dev/shm
...
Physical memory requirements
with Oracle RAC 12c: 4GB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
9/30/13	
  
5	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
Oracle ASM 12c – Overview
Oracle ASM 12c Standard Deployment
ASM Cluster Pool of Storage
Disk Group BDisk Group AShared Disk
Groups
Wide File Striping
One to One
Mapping of ASM
Instances to
Servers
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node4Node3Node2Node1 Node5ASM ASM ASM ASM ASM
ASM Instance
Database Instance
DBA DBA DBCDBB DBBDBB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10
Introducing Oracle Flex ASM
Removal of One to One Mapping and HA
ASM Cluster Pool of Storage
Disk Group BDisk Group AShared Disk
Groups
Wide File Striping
Databases share
ASM instances
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node5Node4Node3Node2Node1
Node5
runs as
ASM Client
to Node4
Node1
runs as
ASM Client
to Node2
Node1
runs as
ASM Client
to Node4
Node2
runs as
ASM Client
to Node3
ASM ASM ASM
ASM Instance
DBA DBA DBCDBB DBBDBB
9/30/13	
  
6	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11
Supporting Pre-Oracle 12c Databases
Pre-Oracle 12c Databases require a local ASM instance
ASM Cluster Pool of Storage
Disk Group BDisk Group AShared Disk
Groups
Wide File Striping
Databases share
ASM instances
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node5Node4Node3Node2Node1 ASM ASM ASM
DBA DBA DBC
ASM ASM
11g
DB
11g
DB
DBB DBBDBB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12
Oracle Flex ASM
Configuration details
§  Flex ASM introduces new local resources:
–  At least one ASM listener
–  One “proxy_advm” (per node)
§  Used for ACFS access to Flex ASM instances
§  Connections from a database instance to an ASM
instance are based on SQLnet using listeners.
–  The listener directs the connection to the least loaded
ASM instance based on the load metric it maintains.
–  The connection details are fetched from CSS global data
–  The ASM instance to which the database instance
connects to is listed in the database alert log:
§  NOTE: ASMB connected to ASM instance
+ASM1 (Flex mode; client id 0x10004)
–  The userid and password supplied are also managed
automatically. They are supplied while establishing the
session, not while connecting.
[GRID]> crsctl stat res -t
-------------------------------------------------------------------------------
Name Target State Server State details
-------------------------------------------------------------------------------
Local Resources
-------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
ONLINE ONLINE vixen STABLE
...
ora.DATA.dg
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
OFFLINE OFFLINE vixen STABLE
...
ora.INFRA.dg
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
OFFLINE OFFLINE vixen STABLE
...
ora.proxy_advm
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
ONLINE ONLINE vixen STABLE
9/30/13	
  
7	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13
Oracle Flex ASM
Administering Flex ASM
§  Check ASM mode using asmcmd
§  Check where ASM instances are running using srvctl
§  Check the configuration of ASM using srvctl
§  Modify the ASM configuration using srvctl
§  Cluster ASM listener:
–  Flex ASM can have its own network or overlap with the
private interconnect network used by RAC DB instances
–  It is recommended to configure a full overlap of the private
interconnect and the ASM network in current use cases:
[GRID]> asmcmd
ASMCMD> showclustermode
ASM cluster : Flex mode enabled
[GRID]> srvctl status asm
ASM is running on comet,dasher,dancer
[GRID]> srvctl config asm -detail
ASM home: /u01/app/12.1.0/grid
Password file: +INFRA/orapwASM
ASM listener: LISTENER
ASM is enabled.
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM,ASMNET2LSNR_ASM
[GRID]> srvctl modify asm -count all
[GRID]> srvctl status asm
ASM is running on comet,dasher,dancer
[GRID]> srvctl start asm
[GRID]> srvctl status asm
ASM is running on comet,vixen,dasher,dancer
Test scenarios attached
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14
Oracle Flex ASM
Some test scenarios…
§  A failure of an ASM instance is without effect for the
databases using ASM disk groups (here: -MGMTDB)
–  If an ASM instance is running on all nodes (count all)
the ASM instance is restarted upon failure
–  If an ASM instance is running on a subset of nodes
the ASM instance might be restarted on another node
–  The client using the ASM instance may change
§  A failure of an ASM instance is without effect for
the APX (ADVM proxy) running on the same node
§  A failure of the APX will lead to a restart of the database
instance (on the node) that uses an ACFS file system.
§  More information:
–  http://docs.oracle.com/cd/E16655_01/server.121/e17612/
asminst.htm#OSTMG95329
[GRID]> ps -ef |grep pmon
grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB
grid 4093 1 0 11:35 ? 00:00:00 asm_pmon_+ASM1
grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1
oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4
[GRID]> kill -9 4093
[GRID]> ps -ef |grep pmon
grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB
grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1
oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4
[GRID]> ps -ef |grep pmon
grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB
grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1
oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4
grid 5748 1 0 11:39 ? 00:00:00 asm_pmon_+ASM1
grid 5793 19013 0 11:39 pts/1 00:00:00 grep pmon
[GRID]> asmcmd lsct data
DB_Name Status Software_Version Compatible_version Instance_Name Disk_Group
+APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX1 DATA
[GRID]> ssh vixen /u01/app/12.1.0/grid/bin/asmcmd lsct data
DB_Name Status Software_Version Compatible_version Instance_Name Disk_Group
+APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX2 DATA
+APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX3 DATA
9/30/13	
  
8	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15
New in Oracle Grid Infrastructure 12c
Oracle Flex Cluster for better resource management
DBA
DBA
DBA
DBB
DBB
Hub Nodes
Leaf Nodes
§  Oracle Flex Cluster:
–  The new standard for flexible
resource management in the cluster
§  Use it as demand requires it
§  Requires Oracle Flex ASM to be enabled
§  Enables policy-managed clusters.
–  Efficient High Availability and
resource management across tiers
§  Lightweight cluster stack on leaf nodes
–  Benefit from virtualization and
physical deployments in one cluster
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16
Oracle Flex Cluster
Some configuration details
§  Oracle Flex Cluster
–  Will be the basis for more uses cases
in future releases (for resource mgmt)
–  Can consist of only HUB-nodes
–  If a Leaf-node has access to shared storage,
it can perform a role change to a HUB-node
–  A Standard Cluster can be converted to a
Flex Cluster at any time after the installation
–  Once a cluster is configured as a Flex Cluster
this configuration is irreversible without a re-
configuration of the cluster.
§  More Information:
–  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/
bigcluster.htm#CWADD92560
[GRID]> crsctl get cluster mode config
Cluster is configured as "standard"
[GRID]> crsctl get cluster mode status
Cluster is running in "standard" mode
[GRID]> olsnodes -s -a -t
dasher Active Hub Unpinned
vixen Active Hub Unpinned
dancer Active Hub Unpinned
comet Active Hub Unpinned
•  Not a Flex Cluster yet.
•  An all-Hub Flex Cluster is
basically a Standard Cluster
Example attached
9/30/13	
  
9	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17
Oracle Flex Cluster
Converting to Flex Cluster
§  More Information:
–  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/
bigcluster.htm#CHDJGBII
§  Flex Cluster implementations require GNS
§  Converting a Flex Cluster requires a cluster restart
–  Use “crsctl stop crs” followed by “crsctl start crs” as root
–  Hence the difference between “status” and “config”
–  Nodes can be restarted in a rolling fashion:
[GRID]> srvctl config gns
PRKF-1110 : Neither GNS server nor GNS client is configured on
this cluster
[GRID]> more /etc/hosts |grep gns
10.1.1.99 mygns mygns.localdomain
#Change to root
[GRID]> su
Password:
[GRID]> srvctl add gns -vip mygns
[GRID]> srvctl start gns
[GRID]> crsctl set cluster mode flex
Cluster mode set to "flex »
[GRID]> crsctl get cluster mode status
Cluster is running in "standard" mode
[GRID]> crsctl get cluster mode config
Cluster is configured as "flex"
[GRID]> date ; hostname ;
crsctl get cluster mode status
Sat Sep 14 14:43:45 PDT 2013
dasher
Cluster is running in "flex" mode
[GRID]> date ; hostname ;
crsctl get cluster mode status
Sat Sep 14 14:43:37 PDT 2013
dancer
Cluster is running in "standard" mode
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18
Oracle Flex Cluster
Standard to Flex Cluster conversion – what has changed?
vixen srvpool: frontofficecomet srvpool: backoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
[GRID]> crsctl get cluster mode status
Cluster is running in "flex" mode
[GRID]> olsnodes -a -s -t
dasher Active Hub Unpinned
vixen Active Hub Unpinned
dancer Active Hub Unpinned
comet Active Hub Unpinned
[RAC]> srvctl status database -d raccdb1
Instance raccdb1_1 is running on node comet
Instance raccdb1_2 is running on node dancer
Instance raccdb1_3 is running on node vixen
Instance raccdb1_4 is running on node dasher
§  Nothing at first glance…
–  An all-Hub Flex Cluster behaves
like a Standard Cluster
–  When converting from Standard Cluster
all nodes are converted into HUB-nodes
9/30/13	
  
10	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19
Oracle Flex Cluster
Flexibility and High Availability as demand requires it
§  Flex Cluster utilizes two types of cluster nodes:
–  Hub nodes
§  Traditional nodes, tightly coupled via network and
storage, used for running IO intensive workload
–  Leaf nodes
§  A new type of node that runs a lighter weight stack
§  Maintain their own failure and heartbeat settings
§  Do not require direct shared storage connectivity
§  Used for processing oriented (application) workload
Hub Nodes
Leaf Nodes
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20
Oracle Flex Cluster
Changing node roles – server vixen becomes a Leaf node
§  More Information:
–  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/
bigcluster.htm#BABHCEAE
[GRID]> hostname
vixen
[GRID]> srvctl config vip -node vixen
VIP exists: network number 1, hosting node vixen
VIP Name: vixen-vip
VIP IPv4 Address: 10.1.1.33
VIP IPv6 Address:
[GRID]> crsctl get node role config
Node 'vixen' configured role is 'hub'
#Change to root …
[GRID]> su
Password:
[GRID]> crsctl set node role leaf
CRS-4408: Node 'vixen' configured role successfully changed; restart
Oracle High Availability Services for new role to take effect.
[GRID]> crsctl stop crs
[GRID]> crsctl start crs
[GRID]> crsctl get node role config
Node 'vixen' configured role is 'leaf'
[GRID]> srvctl config vip -node vixen
VIP exists: network number 1, hosting node vixen
VIP Name: vixen-vip
VIP IPv4 Address: 10.1.1.33
VIP IPv6 Address:
9/30/13	
  
11	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21
Oracle Flex Cluster
Node role change to Leaf – what has changed?
vixen srvpool: FREEcomet srvpool: backoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | LEAFOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_4 raccdb1_2
raccdb1_1
[RAC]> srvctl status database -d raccdb1
Instance raccdb1_1 is running on node comet
Instance raccdb1_2 is running on node dancer
Instance raccdb1_4 is running on node dasher
[RAC]> srvctl status server -servers vixen -detail
Server active pools: Free
Server name: vixen
Server state: ONLINE
Server state details:
§  Server vixen has converted to a Leaf node
§  Leaf nodes do not host DB instances in 12.1
§  Server vixen moved to Server Pool “FREE” as
Server Pool “frontoffice” is a database pool
–  Note: all nodes in this example have access
to shared storage, which means only the node
role changes – storage access is preserved.
Example attached
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22
Oracle Flex Cluster
Revert role change – server vixen becomes a HUB again
comet srvpool: backoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUB
Oracle RAC Oracle RAC
Oracle RAC
raccdb1
raccdb1_4 raccdb1_2
raccdb1_1
vixen srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_3
#As root
[GRID]> crsctl set node role hub
CRS-4408: Node 'vixen' configured role successfully changed;
restart Oracle High Availability Services for new role to take
effect.
[GRID]> crsctl stop crs
[GRID]> crsctl start crs
[RAC]> srvctl status database -d raccdb1
Instance raccdb1_1 is running on node comet
Instance raccdb1_2 is running on node dancer
Instance raccdb1_3 is running on node vixen
Instance raccdb1_4 is running on node dasher
9/30/13	
  
12	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24
Policy-Managed Databases with Oracle RAC 12c
Adding another dimension – Database Services
vixen srvpool: frontoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUB
Oracle RAC Oracle RAC
Oracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
[GRID]> srvctl status serverpool
Server pool name: frontoffice
Active Servers count: 2
Server pool name: backoffice
Active Servers count: 2
[RAC]> srvctl status service -d raccdb1
Service crmsvc is running on nodes: dasher,vixen
Service hrsvc is running on nodes: comet,dancer
§  Database Services
–  Ensure that workload is hosted in the respective
server pool with the cardinality defined as part of
the policy definition.
comet srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
9/30/13	
  
13	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25
Policy-Managed Databases with Oracle RAC 12c
Improved HA Management - Startup
raccdb1
[GRID]> srvctl config serverpool
Server pool name: frontoffice
Importance: 10, Min: 2, Max 2
Server pool name: backoffice
Importance: 5, Min: 1, Max 1
Server pool name: Free
Importance: 0, Min: 0, Max -1
§  Defining a Service Startup Order
–  Ensure services are started in specified groups
and specified order.
–  Leverages Serverpool Min and Importance properties
dasher srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_4
1st
vixen srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_3
2nd
comet srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
4th
dancer srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
3rd
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26
dancer srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
dancer srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
Policy-Managed Databases with Oracle RAC 12c
Improved HA Management – New Failover Strategy
raccdb1
[GRID]> srvctl config serverpool
Server pool name: frontoffice
Importance: 10, Min: 2, Max 2
Server pool name: backoffice
Importance: 5, Min: 1, Max 1
[GRID]> srvctl status serverpool
Server pool name: frontoffice
Active Servers count: 2
Server pool name: backoffice
Active Servers count: 1
dasher srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_4
vixen srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_3
comet srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
§  Servers “Move” to Replace Failed node
–  Protects against cascade failures due to load
–  Ensures workload isolation between pools
–  Less important workloads shutdown transactionally
9/30/13	
  
14	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
dancer srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
dancer srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
Policy-Managed Databases with Oracle RAC 12c
Improved HA Management – Manage Last Service Standing
raccdb1
[RAC]> srvctl config serverpool
Server pool name: frontoffice
Importance: 10, Min: 2, Max 2
Server pool name: backoffice
Importance: 5, Min: 1, Max 1
[RAC]> srvctl status service –db
Service crmsrv is running on nodes comet,vixen
Service hrsvc is not running
dasher srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_4
vixen srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_3
comet srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
§  Business Critical Services survive multiple failures
–  Most important pool always gets the servers
–  Services preserved across multiple failures
–  Less important workloads shutdown transactionally
comet srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28
Policy-Managed Databases with Oracle RAC 12c
Improved HA Management – Dynamic Provisioning
vixen srvpool: frontoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUB
Oracle RAC Oracle RAC
Oracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
[GRID]> srvctl modify serverpool
–serverpool backoffice –max 1
[RAC]> srvctl config serverpool
Server pool name: frontoffice
Importance: 10, Min: 2, Max 4
Server pool name: backoffice
Importance: 5, Min: 1, Max 1
[RAC]> srvctl status service –db
Service crmsrv is running on nodes dasher,dancer,vixen
Service hrsvc is not running
comet srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
§  Add Servers Just-In Time to meet demand
–  Server Pools sized via Min and Max properties
–  Dynamically controlled by QoS Management
–  Planned control via Clusterware or QoSM Policies
dancer srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
9/30/13	
  
15	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30
Policy-Management with Oracle RAC 12c
Support for Multiple Policies tracking business objectives
§  More Information:
–  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/pbmgmt.htm
§  New in Oracle Grid Infrastructure 12c
–  Server Categories
§  Server Categories use server attributes to allow
for an active use of differently sized servers
–  Policy Sets
§  Policy Sets allow for dynamic adjustment
to demand changes in an atomic transaction
Server Categories
•  NAME
•  ACL
•  EXPRESSION
•  …
Server Attributes
•  NAME
•  MEMORY_SIZE	
  
•  CPU_COUNT
•  CPU_CLOCK_RATE	
  
•  CPU_HYPERTHREADING	
  
•  CPU_EQUIVALENCY
• …	
  
[GRID]> crsctl modify policyset –attr
"LAST_ACTIVATED_POLICY=NightTime“
CRS-2673: Attempting to stop
'ora.raccdb1.crmsvc.svc' on 'comet'
CRS-2673: Attempting to stop
'ora.raccdb1.crmsvc.svc' on 'dancer'
CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on
'comet' succeeded
CRS-2673: Attempting to start
'ora.raccdb1.backup.svc' on 'comet'
CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on
'dancer' succeeded
CRS-2672: Attempting to start
'ora.raccdb1.hrsvc.svc' on 'dancer‘
…
QoS Management
OR
Oracle Clusterware - CRSCTL
9/30/13	
  
16	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31
Policy-Management with Oracle RAC 12c
Setting up policy sets – Provision Server Pools and creating a PolicySet
§  Add another server pool “backup”
§  Set up policy set with 3 server pools & 3 policies as follows:
–  DayTime:
§  frontoffice uses three servers (MIN_SIZE=3)
§  backoffice uses one server (MIN_SIZE=1)
§  backup does not run during daytime (MIN_SIZE=0)
–  NightTime:
§  frontoffice uses one server (MIN_SIZE=1)
§  backoffice uses two servers (MIN_SIZE=2)
§  backup uses only one server (MIN_SIZE=1)
–  Weekend:
§  frontoffice uses one server (MIN_SIZE=1)
§  backoffice uses one server (MIN_SIZE=1)
§  backup uses two servers (MIN_SIZE=2)
[GRID]> srvctl add serverpool
–serverpool backup –min 0 –max 2 –importance 20
[GRID] srvctl status serverpool
Server pool name: frontoffice
Active Servers count: 3
Server pool name: backoffice
Active Servers count: 1
Server pool name: backup
Active Servers count: 0
[GRID]> crsctl modify policyset
-file /u01/app/…/policyset.txt
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32
Policy-Management with Oracle RAC 12c
Using Policy Sets – part 1: Activate a policy
§  Activate the policy for the weekend
[GRID]> crsctl modify policyset
-attr "LAST_ACTIVATED_POLICY=Weekend"
[GRID]> srvctl config serverpool
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: backoffice
Importance: 0, Min: 1, Max: 1
Category:
Candidate server names:
Server pool name: backup
Importance: 1, Min: 2, Max: 2
Category:
Candidate server names:
Server pool name: frontoffice
Importance: 0, Min: 1, Max: 1
Category:
Candidate server names:
9/30/13	
  
17	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33
Policy-Management with Oracle RAC 12c
Using Policy Sets – part 2: check the result
vixen srvpool: frontofficecomet srvpool: backup
dancer srvpool: backupdasher srvpool: backoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
[RAC]> srvctl status database -d raccdb1
Instance raccdb1_1 is running on node comet
Instance raccdb1_2 is running on node dancer
Instance raccdb1_3 is running on node vixen
Instance raccdb1_4 is running on node dasher
[RAC]> srvctl status service -d raccdb1
Service backup is running on nodes: comet,dancer
Service crmsvc is running on nodes: vixen
Service hrsvc is running on nodes: dasher
§  With an activated weekend policy
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34
Policy-Management with Oracle RAC 12c
Adding Server Categories to the picture – part 1
§  Assume you have 2 servers that have better IO
–  Use these servers for backups whenever possible
§  Here comet and dancer have better IO by definition
§  What you need to do:
–  Set up a server category that identifies the servers
–  Add the use of the server category to the server pool
§  Define the server pools that utilize the category
and during which policy activation it shall be used.
§  You need to restart the cluster stack on
the servers that you modify in this fashion
[GRID]> su
Password:
[GRID]> crsctl set server label IOplus
...
#On dancer
[GRID]> crsctl set server label Ioplus
[GRID]> crsctl get server label
CRS-4972: Current SERVER_LABEL parameter value is Ioplus
[GRID]> crsctl status server comet dancer –f
Comet Dancer
NAME=comet
MEMORY_SIZE=3338
CPU_COUNT=1
CPU_CLOCK_RATE=2132
CPU_HYPERTHREADING=0
CPU_EQUIVALENCY=1000
DEPLOYMENT=other
CONFIGURED_CSS_ROLE=hub
RESOURCE_USE_ENABLED=1
SERVER_LABEL=IOplus
...
NAME=dancer
MEMORY_SIZE=3338
CPU_COUNT=1
CPU_CLOCK_RATE=2247
CPU_HYPERTHREADING=0
CPU_EQUIVALENCY=1000
DEPLOYMENT=other
CONFIGURED_CSS_ROLE=hub
RESOURCE_USE_ENABLED=1
SERVER_LABEL=IOplus
...
9/30/13	
  
18	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35
Policy-Management with Oracle RAC 12c
Adding Server Categories to the picture – part 2
§  What you need to do:
–  Set up a server category that identifies the servers -
done
–  Add the use of the server category to the server pool
§  Define the server pools that utilize the category
and during which policy activation it shall be used
§  Note: Add the server category usage to the
server pool(s) that require it & specify the
policies that should be altered accordingly
–  In this example the backup server pool is the one
that will benefit the most and the policies will only
start this server pool as required.
[GRID]> crsctl add category moreIO
–attr "EXPRESSION='SERVER_LABEL co IOplus'"
[GRID]> crsctl status category moreIO
NAME=moreIO
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
ACTIVE_CSS_ROLE=hub
EXPRESSION=(SERVER_LABEL co IOplus)
[GRID]> crsctl modify serverpool ora.backup
-attr "SERVER_CATEGORY=moreIO" -all_policies
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36
Policy-Management with Oracle RAC 12c
Adding Server Categories to the picture – comparison
Before After
[GRID]> crsctl status policy DayTime
POLICY
NAME=DayTime
DESCRIPTION=
SERVERPOOL
NAME=Free
...
SERVERPOOL
NAME=ora.backoffice
IMPORTANCE=0
MAX_SIZE=1
MIN_SIZE=1
SERVER_CATEGORY=
SERVER_NAMES=
SERVERPOOL
NAME=ora.backup
IMPORTANCE=0
MAX_SIZE=0
MIN_SIZE=0
SERVER_CATEGORY=
SERVER_NAMES=
SERVERPOOL
NAME=ora.frontoffice
IMPORTANCE=0
MAX_SIZE=3
MIN_SIZE=3
SERVER_CATEGORY=
SERVER_NAMES=
[GRID]> crsctl status policy DayTime
POLICY
NAME=DayTime
DESCRIPTION=
SERVERPOOL
NAME=Free
...
SERVERPOOL
NAME=ora.backoffice
IMPORTANCE=0
MAX_SIZE=1
MIN_SIZE=1
SERVER_CATEGORY=
SERVER_NAMES=
SERVERPOOL
NAME=ora.backup
IMPORTANCE=0
MAX_SIZE=0
MIN_SIZE=0
SERVER_CATEGORY=moreIO
SERVER_NAMES=
SERVERPOOL
NAME=ora.frontoffice
IMPORTANCE=0
MAX_SIZE=3
MIN_SIZE=3
SERVER_CATEGORY=
SERVER_NAMES=
9/30/13	
  
19	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37
Policy-Management with Oracle RAC 12c
Using Policy Sets and the effect of Server Categories
vixen srvpool: frontofficecomet srvpool: backup
dancer srvpool: backupdasher srvpool: backoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
vixen srvpool: backofficecomet srvpool: frontoffice
dancer srvpool: frontofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38
[GRID]> crsctl modify policyset –attr
"LAST_ACTIVATED_POLICY=DayTime“
[GRID] srvctl status serverpool
Server pool name: frontoffice
Active Servers count: 3
Server pool name: backoffice
Active Servers count: 1
Server pool name: backup
Active Servers count: 0
[RAC]> srvctl status service -d raccdb1
Service backup is not running.
Service crmsvc is running on nodes: dasher,vixen,comet
Service hrsvc is running on nodes: dancer
Policy-Management with Oracle RAC 12c
Using Policy Sets means changing policies on a push of a button
raccdb1
vixen srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_3
dasher srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_4
comet srvpool: backup
Oracle GI | HUB
Oracle RAC
raccdb1_1
dancer srvpool: backup
Oracle GI | HUB
Oracle RAC
raccdb1_2
dancer srvpool: backoffice
Oracle GI | HUB
Oracle RAC
raccdb1_2
comet srvpool: frontoffice
Oracle GI | HUB
Oracle RAC
raccdb1_1
9/30/13	
  
20	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39
Policy-Management with Oracle RAC 12c
Using Policy Sets – changing policies on the push of a button is fast …
vixen srvpool: frontofficecomet srvpool: backup
dancer srvpool: backupdasher srvpool: backoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
vixen srvpool: backofficecomet srvpool: frontoffice
dancer srvpool: frontofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
[GRID]> date; crsctl modify policyset -attr
"LAST_ACTIVATED_POLICY=DayTime"; date
Mon Sep 16 19:26:42 PDT 2013
CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'dancer'
CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'comet'
CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'dancer' succeeded
CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'comet' succeeded
CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'dancer'
CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'comet'
CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded
CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded
Mon Sep 16 19:26:43 PDT 2013
è Time to execute: 1 second!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40
Policy-Management with Oracle RAC 12c
What-If evaluation of policy changes
[RAC]> srvctl status service -d raccdb1
Service backup is not running.
Service crmsvc is running on nodes: dancer,vixen,dasher
Service hrsvc is running on nodes: comet
[GRID]> crsctl eval activate policy Weekend
Stage Group 1:
-------------------------------------------------------------------------------
Stage Number Required Action
-------------------------------------------------------------------------------
1 Y Server 'comet' will be moved from pools
[ora.frontoffice] to pools [ora.backup]
Y Server 'dancer' will be moved from pools
[ora.frontoffice] to pools [ora.backup]
Y Resource 'ora.raccdb1.crmsvc.svc' (1/1) will be
in state [OFFLINE]
Y Resource 'ora.raccdb1.crmsvc.svc' (2/1) will be
in state [OFFLINE]
2 Y Resource 'ora.raccdb1.backup.svc' (1/1) will be
in state [ONLINE|INTERMEDIATE] on server[comet]
Y Resource 'ora.raccdb1.backup.svc' (2/1) will be
in state [ONLINE|INTERMEDIATE] on server
[dancer]
vixen srvpool: frontofficecomet srvpool: frontoffice
dancer srvpool: backofficedasher srvpool: frontoffice
Oracle GI | HUB Oracle GI | HUB
Oracle GI | HUBOracle GI | HUB
Oracle RAC Oracle RAC
Oracle RACOracle RAC
raccdb1
raccdb1_3
raccdb1_4 raccdb1_2
raccdb1_1
9/30/13	
  
21	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.41
What-If with Oracle RAC 12c
What-If evaluation of policy changes – in various levels
[RAC]> srvctl status service -d raccdb1
Service backup is not running.
Service crmsvc is running on nodes: dancer,vixen,dasher
Service hrsvc is running on nodes: comet
[GRID]> crsctl eval activate policy Weekend -admin -l 'serverpools'
NAME = Free
ACTIVE_SERVERS =
NAME = Generic
ACTIVE_SERVERS =
NAME = ora.backoffice
ACTIVE_SERVERS = vixen
NAME = ora.backup
ACTIVE_SERVERS = comet dancer
NAME = ora.frontoffice
ACTIVE_SERVERS = dasher
[RAC]> srvctl status service -d raccdb1
Service backup is not running.
Service crmsvc is running on nodes: dancer,vixen,dasher
Service hrsvc is running on nodes: comet
[GRID]> crsctl eval activate policy Weekend -admin -l 'resources'
--------------------------------------------------------------------------------
Name Target State Server Effect
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.mgmtdb
1 ONLINE ONLINE dasher
ora.raccdb1.backup.svc
1 ONLINE ONLINE comet Started
2 ONLINE ONLINE dancer Started
ora.raccdb1.crmsvc.svc
1 ONLINE OFFLINE Stopped
2 ONLINE OFFLINE Stopped
3 ONLINE ONLINE dasher
ora.raccdb1.db
1 ONLINE ONLINE comet
2 ONLINE ONLINE dancer
3 ONLINE ONLINE vixen
4 ONLINE ONLINE dasher
ora.raccdb1.hrsvc.svc
1 ONLINE ONLINE vixen
2 ONLINE OFFLINE
--------------------------------------------------------------------------------
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.42
Policy-Management with Oracle RAC 12c
Information on each step on the way
Before After
[GRID]> crsctl modify policyset -attr
"LAST_ACTIVATED_POLICY=NightTime“
CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'dancer'
CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'comet'
CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded
CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded
CRS-2672: Attempting to start 'ora.raccdb1.backup.svc' on 'dancer'
CRS-2672: Attempting to start 'ora.raccdb1.backup.svc' on 'comet'
CRS-2676: Start of 'ora.raccdb1.backup.svc' on 'dancer' succeeded
CRS-2676: Start of 'ora.raccdb1.backup.svc' on 'comet' succeeded
[GRID]> crsctl modify policyset -attr
"LAST_ACTIVATED_POLICY=DayTime"
CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'dancer'
CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'comet'
CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'dancer' succeeded
CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'comet' succeeded
CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'dancer'
CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'comet'
CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded
CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded
9/30/13	
  
22	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44
Multiple Subnet Support in Oracle RAC 12c
Preparing for multiple subnet usage – part 1
§  Multiple subnet support was introduced
with Oracle RAC 11g Rel. 2
–  Using multiple subnets per cluster can come in
handy for various reasons – backups for example.
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.networkora.net1.network
[GRID]> crsctl stat res ora.net1.network -t
------------------------------------------------------------------------
Name Target State Server State details
------------------------------------------------------------------------
Local Resources
------------------------------------------------------------------------
ora.net1.network
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
ONLINE ONLINE vixen STABLE
------------------------------------------------------------------------
[GRID]> oifcfg iflist
eth0 10.1.1.0
eth1 192.168.7.0
eth1 169.254.128.0
eth2 172.149.2.0
eth2 169.254.0.0
eth3 10.2.2.0
[GRID]> oifcfg getif
eth0 10.1.1.0 global public
eth1 192.168.7.0 global cluster_interconnect,asm
eth2 172.149.2.0 global cluster_interconnect,asm
One more physical interface
that can be used for public or
private communication.
Private communication already
uses multiple subnets.
Example attached
9/30/13	
  
23	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.45
Multiple Subnet Support in Oracle RAC 12c
Preparing for multiple subnet usage – part 2
§  Multiple subnet support can be
activated in two alternative ways:
1.  Defining interface name and subnet identifier
2.  Defining only a subnet identifier (interface: “*”)
§  Using approach one allows for more consistent
management and will be used in this example.
[GRID]> oifcfg setif -global eth3/10.2.2.0:public
[GRID]> oifcfg getif
eth0 10.1.1.0 global public
eth1 192.168.7.0 global cluster_interconnect,asm
eth2 172.149.2.0 global cluster_interconnect,asm
eth3 10.2.2.0 global public
[GRID]> oifcfg setif -global "*"/10.2.2.0:public
[GRID]> oifcfg getif
eth0 10.1.1.0 global public
eth1 192.168.7.0 global cluster_interconnect,asm
eth2 172.149.2.0 global cluster_interconnect,asm
* 10.2.2.0 global public
PRIF-29: Warning: wildcard in network parameters can
cause mismatch among GPnP profile, OCR, and system
Alternative configuration:
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.46
Multiple Subnet Support in Oracle RAC 12c
Adding second network resource to support multiple public subnets
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.network:10.2.2.0ora.net2.network:10.2.2.0
[GRID]> su
Password:
[GRID]> srvctl add network -netnum 2
-subnet 10.2.2.0/255.255.255.0
[GRID]> exit
[GRID]> crsctl stat res ora.net2.network -t
------------------------------------------------------------------------
Name Target State Server State details
------------------------------------------------------------------------
Local Resources
------------------------------------------------------------------------
ora.net2.network
OFFLINE OFFLINE comet STABLE
OFFLINE OFFLINE dancer STABLE
OFFLINE OFFLINE dasher STABLE
OFFLINE OFFLINE vixen STABLE
------------------------------------------------------------------------
§  The preparation:
–  Prepare the physical connectivity – done
–  Prepare the stack as shown
§  Adding the network is one command
§  VIPs need to be added separately.
9/30/13	
  
24	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.47
Multiple Subnet Support in Oracle RAC 12c
Adding VIPs on second network to support multiple public subnets
§  Adding node VIPs to second subnet:
[GRID]> more /etc/hosts
...
10.2.2.30 dasher-vip2 dasher-vip2.localdomain
10.2.2.31 dancer-vip2 dancer-vip2.localdomain
10.2.2.32 comet-vip2 comet-vip2.localdomain
10.2.2.33 vixen-vip2 vixen-vip2.localdomain
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.networkora.net2.network
[GRID]> srvctl config vip -node comet
VIP exists: network number 1, hosting node comet
VIP Name: comet-vip
VIP IPv4 Address: 10.1.1.32
VIP IPv6 Address:
[GRID]> srvctl config vip -node vixen
VIP exists: network number 1, hosting node vixen
VIP Name: vixen-vip
VIP IPv4 Address: 10.1.1.33
VIP IPv6 Address:
[GRID]> su
Password:
[GRID]> srvctl add vip -node comet -k 2
-A comet-vip2/255.255.255.0
[GRID]> srvctl add vip -node vixen -k 2
-A vixen-vip2/255.255.255.0
[GRID]> srvctl add vip -node dancer -k 2
-A dancer-vip2/255.255.255.0
[GRID]> srvctl add vip -node dasher -k 2
-A dasher-vip2/255.255.255.0
vixen-vip / 10.1.1.33comet-vip / 10.1.1.32
vixen-vip2 / 10.2.2.33comet-vip2 / 10.2.2.32
Complete Example attached
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.48
Multiple Subnet Support in Oracle RAC 12c
Start using the second subnet VIPs
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.networkora.net2.network
#Example only – need to check for all nodes
[GRID]> srvctl config vip -node vixen
VIP exists: network number 1, hosting node vixen
VIP Name: vixen-vip
VIP IPv4 Address: 10.1.1.33
VIP IPv6 Address:
VIP exists: network number 2, hosting node vixen
VIP Name: vixen-vip2
VIP IPv4 Address: 10.2.2.33
VIP IPv6 Address:
[GRID]> srvctl status vip -node vixen
VIP vixen-vip is enabled
VIP vixen-vip is running on node: vixen
VIP vixen-vip2 is enabled
VIP vixen-vip2 is not running
[GRID]> srvctl start vip -node vixen
PRKO-2420 : VIP is already started on node(s): vixen
[GRID]> srvctl start vip -vip vixen-vip2
[GRID]> srvctl start vip -vip comet-vip2
[GRID]> srvctl start vip -vip dancer-vip2
[GRID]> srvctl start vip -vip dasher-vip2
vixen-vip / 10.1.1.33comet-vip / 10.1.1.32
vixen-vip2 / 10.2.2.33comet-vip2 / 10.2.2.32
§  Once VIPs are added verify the setup
§  Start the VIPs in order to use them
§  Note: you need to specify the VIP name for the
VIPs on the second subnet to be started, as the
default assumes the “default node VIP”.
9/30/13	
  
25	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.49
Listeners in Oracle RAC 12c
The default listener is available by default
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
[GRID]> srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s):
comet,vixen,dasher,dancer
[GRID]> srvctl config listener
Name: LISTENER
Network: 1, Owner: grid
Home: <CRS home>
End points: TCP:1521
LISTENER: 10.1.1.13
and 10.1.1.33
LISTENER: 10.1.1.10
and 10.1.1.30
§  Various listeners are used in Oracle RAC 12c
§  These are all listeners – used in a certain way!
§  The simplest one is the default listener
§  A listener depends on a network
§  A listener will listen on the node and VIP IP
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.50
Listeners in Oracle RAC 12c
The default listener FAQ
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
[GRID]> srvctl modify listener -h
Modifies the configuration for the listener.
Usage: srvctl modify listener [-listener <lsnr_name>]
[-oraclehome <path>] [-endpoints "[TCP:]<port>[, ...][/
IPC:<key>][/NMP:<pipe_name>][/TCPS:<s_port>] [/SDP:<port>]"] [-
user <oracle_user>] [-netnum <net_num>]
#Example – adding another listener on another port on net 1
[GRID]> srvctl add listener -listener LSNR2NET1 -netnum 1
[GRID]> srvctl config listener -listener LSNR2NET1
Name: LSNR2NET1
Network: 1, Owner: grid
Home: <CRS home>
End points: TCP:1522
[GRID]> srvctl status listener -listener LSNR2NET1
Listener LSNR2NET1 is enabled
Listener LSNR2NET1 is not running
[GRID]> srvctl start listener -listener LSNR2NET1
[GRID]> srvctl status listener -listener LSNR2NET1
Listener LSNR2NET1 is enabled
Listener LSNR2NET1 is running on node(s):
comet,vixen,dasher,dancer
§  Can you define another port? - YES
§  Can you define another owner? – YES
§  Can you define another home? – YES, if needed.
§  Can I add another listener on another port? - YES
LISTENERLISTENER
LSNR2NET1LSNR2NET1
Example attached
9/30/13	
  
26	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.51
Listeners in Oracle RAC 12c
The default listener FAQ
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
[GRID]> srvctl modify listener -listener LSNR2NET1
-endpoints "TCP:1528«
[GRID]> lsnrctl status LSNR2NET1
LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 16-SEP-2013 19:34:13
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LSNR2NET1)))
STATUS of the LISTENER
------------------------
Alias LSNR2NET1
Version TNSLSNR for Linux: Version 12.1.0.1.0 - Production
Start Date 16-SEP-2013 16:35:34
Uptime 0 days 2 hr. 58 min. 39 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/12.1.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/dasher/lsnr2net1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LSNR2NET1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.10)(PORT=1528)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.30)(PORT=1528)))
Services Summary...
§  Can you define another port? - YES
§  New in Oracle Grid Infrastructure 12c:
§  Online Modification of Resources
LISTENERLISTENER
LSNR2NET1:1522LSNR2NET1:1522 LSNR2NET1:1528LSNR2NET1:1528
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.52
Listeners in Oracle RAC 12c
Adding a node listener to the second subnet
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
[GRID]> srvctl add listener -listener LSNR1NET2
-netnum 2 -endpoints 1522
[GRID]> srvctl config listener -listener LSNR1NET2
Name: LSNR1NET2
Network: 2, Owner: grid
Home: <CRS home>
End points: TCP:1522
[GRID]> srvctl status listener -listener LSNR1NET2
Listener LSNR1NET2 is enabled
Listener LSNR1NET2 is not running
[GRID]> srvctl start listener -listener LSNR1NET2
[GRID]> srvctl status listener -listener LSNR1NET2
Listener LSNR1NET2 is enabled
Listener LSNR1NET2 is running on node(s):
comet,vixen,dasher,dancer
§  Can I add another listener on another subnet?
§  Absolutely!
ora.net2.networkora.net2.network
LSNR1NET2:1522LSNR1NET2:1522
Listener summary attached
9/30/13	
  
27	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.53
Listeners in Oracle RAC 12c
Other listeners used as part of the stack
[GRID]> crsctl stat res –t
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
ONLINE ONLINE vixen STABLE
ora.ASMNET2LSNR_ASM.lsnr
ONLINE ONLINE comet STABLE
ONLINE ONLINE dancer STABLE
ONLINE ONLINE dasher STABLE
ONLINE ONLINE vixen STABLE
...
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE dasher STABLE
ora.MGMTLSNR
1 ONLINE ONLINE dasher 169.254.73.11 192.16
8.7.10 172.149.2.10,
STABLE
§  Oracle RAC 12c introduces more listener (types):
§  ora.LISTENER.lsnr
§  Default listener of type “ora.listener.type”
§  ora.ASMNETnLSNR_ASM.lsnr
§  An Oracle ASM listener used by Flex
ASM of type “ora.asm_listener.type”
§  ora.mgmtlsnr.type
§  Grid Infrastructure Management Repository
(GIMR) DB listener of type “ora.mgmtlsnr.type”
§  ora.LISTENER_SCANn.lsnr”
§  A SCAN listener of type “ora.scan_listener.type”
local resource (runs on every node)
cluster resource (runs on any node)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.54
Listeners in Oracle RAC 12c
Valid Node Checking for Registration
§  New in the Oracle RAC 12c listeners:
§  For Oracle RAC: IPv6 support
§  Valid Node Checking for Registration
§  http://docs.oracle.com/cd/E16655_01/network.
121/e17610/listenercfg.htm#NETAG1588
§  The listener is now protected to both sides:
§  It can be restricted to accept client connections
§  http://docs.oracle.com/cd/E16655_01/network.
121/e17607/guidelines.htm#DBSEG504
§  It can be restricted to prevent ay arbitrary DB
(instance) from registering to it, if not allowed
by default. (Valid Node Checking for Registration)
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
LISTENERLISTENER
raccdb1_3raccdb1_1
Valid Node
Checking for
Registration
SCAN
9/30/13	
  
28	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.55
SCAN in Oracle RAC 12c
The listener usage that combines it all
[GRID]> srvctl config network
Network 1 exists
Subnet IPv4: 10.1.1.0/255.255.255.0/eth0, static
Subnet IPv6:
[GRID]> srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
Registration invited nodes:
Registration invited subnets:
...
[GRID]> srvctl status scan_listener -netnum 2
SCAN Listener LISTENER_SCAN1_NET2 is enabled
SCAN listener LISTENER_SCAN1_NET2 is running on node vixen
§  SCAN was introduced with Oracle RAC 11g Rel. 2
–  http://www.oracle.com/technetwork/products/
clustering/overview/scan-129069.pdf
§  New in SCAN with Oracle RAC 12c:
–  Multiple Subnet Support
§  IPv6 support for client connectivity (public network)
–  Valid Node Checking for Registration
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.networkora.net2.network
MySCAN_3 / 10.1.1.52
MySCAN2_3 / 10.2.2.52MySCAN2_2 / 10.2.2.51
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.56
SCAN in Oracle RAC 12c
Adding a second SCAN listener to the system
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.networkora.net2.network
MySCAN / 10.1.1.50
§  Adding a second SCAN listener to the system
–  There is only one SCAN listener per subnet
–  In this example, each SCAN has only 1 IP address
§  Three steps are required to add another scan:
1.  Preparation of the host / network
2.  Adding another SCAN (VIPs mainly)
3.  Adding another SCAN listener
#Step 1: Preparation
[GRID]> more /etc/hosts
...
10.1.1.50 myscan myscan.localdomain
10.2.2.50 myscan2 myscan2.localdomain
[GRID]> srvctl config network
Network 1 exists
Subnet IPv4: 10.1.1.0/255.255.255.0/eth0, static
Subnet IPv6:
Network 2 exists
Subnet IPv4: 10.2.2.0/255.255.255.0/, static
Subnet IPv6:
The second (non-default)
network to be used for the
second scan (netnumber 2)
A second IP for SCAN2
9/30/13	
  
29	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.57
SCAN in Oracle RAC 12c
Starting the SCAN listener on the second network
#Step 2: Adding another SCAN
[GRID]> su
Password:
[GRID]> srvctl add scan -scanname myscan2 -netnum 2
[GRID]> exit
[GRID]> srvctl add scan_listener -netnum 2 -endpoints 1530
[GRID]> srvctl status scan -netnum 2
SCAN VIP scan1_net2 is enabled
SCAN VIP scan1_net2 is not running
[GRID]> srvctl status scan_listener -netnum 2
SCAN Listener LISTENER_SCAN1_NET2 is enabled
SCAN listener LISTENER_SCAN1_NET2 is not running
[GRID]> srvctl start scan_listener -netnum 2
[GRID]> srvctl status scan_listener -netnum 2
SCAN Listener LISTENER_SCAN1_NET2 is enabled
SCAN listener LISTENER_SCAN1_NET2 is running on node vixen
vixencomet
Oracle GI | HUBOracle GI | HUB
Oracle RACOracle RAC
ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0
ora.net2.networkora.net2.network
MySCAN / 10.1.1.50
§  Then start the SCAN on the second network
LISTENER_SCAN1_NET2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.58
SCAN in Oracle RAC 12c
Start using SCAN with the Oracle Database
[RAC]> sqlplus sys/<pswd>@MySCAN:1521/raccdb1 as sysdba
...
SQL> show parameters listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks string
local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST=
10.1.1.31)(PORT=1521)), (ADDRE
SS=(PROTOCOL=TCP)(HOST=10.1.1.
31)(PORT=1528))
remote_listener string myscan:1521
[RAC]> srvctl stop database -d raccdb1
[RAC]> srvctl start database -d raccdb1
[RAC]> sqlplus sys/oracle@MySCAN:1521/raccdb1 as sysdba
...
SQL> show parameters listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks string (( NAME=net2)(LOCAL_LISTENER=(
DESCRIPTION=(ADDRESS=(PROTOCOL
=TCP)(HOST=10.2.2.32)(PORT=152
2))))), ((NAME=net2)(REMOTE_LI
STENER=myscan2:1530))
local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST=
10.1.1.32)(PORT=1521)), (ADDRE
SS=(PROTOCOL=TCP)(HOST=10.1.1.
32)(PORT=1528))
remote_listener string myscan:1521
§  When using more than one SCAN on the system,
the LISTENER_NETWORKS parameter needs to
be set for databases.
§  New in Oracle RAC12c:
–  The LISTENER_NETWORKS parameter
is managed by the Oracle (Database) Agent
as part of the Oracle Clusterware management.
–  To initiate the new configuration
a database restart is required.
9/30/13	
  
30	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.59
SCAN in Oracle RAC 12c
The SCAN listener FAQ
§  Can you define another port? - YES
§  Can I define multiple ports? – YES**
§  Can you define another owner? – NO
§  Can you define another home? – NO
§  Can I add another listener on another port? – YES
§  See MOS Note 220970.1 – The RAC FAQ:
§  How to use SCAN and node
listeners with different ports?
• ** For the purpose of allowing applications to
maintain a distinguishable connect string on host /
port level using one SCAN as the host or to
enable port-based firewall configurations, SCAN
can be set up to support more than one port.
• It needs to be noticed that different ports are only
used for an initial connect.
• Once a connection using SCAN on any SCAN
port has been established, port assignment is not
maintained .
• This means that all SCAN ports are treated the
same, so that a connection that comes in on any
SCAN port can be directed to any registered local
listener on any port.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.60
Agenda
§  Introduction
§  The New Features in Oracle Grid Infrastructure and RAC 12c
–  Flex ASM
–  Flex Cluster
§  Policy-Managed Databases
–  Improved HA Management
–  Dynamic Database Services
§  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c
§  Summary and Q&A
9/30/13	
  
31	
  
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template61
Graphic Section Divider
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template62

Más contenido relacionado

La actualidad más candente

Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN Riyaj Shamsudeen
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 
Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rmanitsabidhussain
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 

La actualidad más candente (20)

Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
ASM
ASMASM
ASM
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rman
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 

Destacado

Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionMarkus Michalewicz
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewMarkus Michalewicz
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Markus Michalewicz
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
 
A Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12cA Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12cLeighton Nelson
 
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
 
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 Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsMarkus Michalewicz
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus Michalewicz
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RACSyed Hussain
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Yury Velikanov
 
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
 
Oracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesOracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesChristian Antognini
 
Histograms : Pre-12c and Now
Histograms : Pre-12c and NowHistograms : Pre-12c and Now
Histograms : Pre-12c and NowAnju Garg
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACSolarWinds
 
Ora10g Rac Best Practices
Ora10g Rac Best PracticesOra10g Rac Best Practices
Ora10g Rac Best Practicesvasanthkp
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practicesHaseeb Alam
 
Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Fran Navarro
 

Destacado (20)

Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
A Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12cA Second Look at Oracle RAC 12c
A Second Look at Oracle RAC 12c
 
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
 
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 Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
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
 
Oracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesOracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance Features
 
Histograms : Pre-12c and Now
Histograms : Pre-12c and NowHistograms : Pre-12c and Now
Histograms : Pre-12c and Now
 
Rac 12c optimization
Rac 12c optimizationRac 12c optimization
Rac 12c optimization
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Ora10g Rac Best Practices
Ora10g Rac Best PracticesOra10g Rac Best Practices
Ora10g Rac Best Practices
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practices
 
Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4Exalogic workshop overview__hardwarev4
Exalogic workshop overview__hardwarev4
 

Similar a Understanding Oracle RAC 12c Internals OOW13 [CON8806]

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
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMAlex Zaballa
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Markus Michalewicz
 
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
 
Making MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureIlmar Kerm
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMARpasalapudi123
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”Ruggero Citton
 
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
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』Insight Technology, Inc.
 
Oracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldOracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldPaul Marden
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksScott Jenner
 
12c Flex ASM: Moving to Flex ASM
12c Flex ASM: Moving to Flex ASM12c Flex ASM: Moving to Flex ASM
12c Flex ASM: Moving to Flex ASMMonowar Mukul
 
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1DataStax Academy
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 
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
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Markus Michalewicz
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Mohamed Sadek
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Osama Mustafa
 

Similar a Understanding Oracle RAC 12c Internals OOW13 [CON8806] (20)

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
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
 
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?
 
Making MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid Infrastructure
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”
 
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
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
 
Oracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldOracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open World
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
 
12c Flex ASM: Moving to Flex ASM
12c Flex ASM: Moving to Flex ASM12c Flex ASM: Moving to Flex ASM
12c Flex ASM: Moving to Flex ASM
 
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
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
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9Presentation Template - NCOAUG Conference Presentation - 16 9
Presentation Template - NCOAUG Conference Presentation - 16 9
 
les04.pdf
les04.pdfles04.pdf
les04.pdf
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
 

Más de Markus Michalewicz

Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAMarkus Michalewicz
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...Markus Michalewicz
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityMarkus Michalewicz
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission CriticalMarkus Michalewicz
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...Markus Michalewicz
 
MAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the CloudMAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the CloudMarkus Michalewicz
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020Markus Michalewicz
 
Make Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMarkus Michalewicz
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
 
Oracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsOracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsMarkus Michalewicz
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
 
From HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical DiscussionFrom HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical DiscussionMarkus Michalewicz
 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database? Markus Michalewicz
 

Más de Markus Michalewicz (20)

Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAA
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High Availability
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
2020 – A Decade of Change
2020 – A Decade of Change2020 – A Decade of Change
2020 – A Decade of Change
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
 
MAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the CloudMAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the Cloud
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020
 
Make Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For It
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
Oracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsOracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & Editions
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 
From HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical DiscussionFrom HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical Discussion
 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database?
 

Último

Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...
Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...
Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...Pooja Nehwal
 
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440Best VIP Call Girls Noida Sector 18 Call Me: 8264348440
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440soniya singh
 
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.soniya singh
 
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...hf8803863
 
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=kojalkojal131
 
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts Service
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts ServiceCall Girls In Goa 7028418221 Call Girls In Colva Beach Escorts Service
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts ServiceApsara Of India
 
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012Mona Rathore
 
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt ServiceApsara Of India
 
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️Call Girls in green park Delhi 8264348440 ✅ call girls ❤️
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️soniya singh
 
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy Girls
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy GirlsCall Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy Girls
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy GirlsPooja Nehwal
 
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort ServiceApsara Of India
 
Dubai Call Girls O528786472 Call Girls Dubai OL
Dubai Call Girls O528786472 Call Girls Dubai OLDubai Call Girls O528786472 Call Girls Dubai OL
Dubai Call Girls O528786472 Call Girls Dubai OLhf8803863
 
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiCall Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiRaviSingh594208
 
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In Delhi
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In DelhiCall Girls In Lajpat Nagar__ 8448079011 __Escort Service In Delhi
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In DelhiRaviSingh594208
 
Panipat Call Girls in Five Star Services Call 08860008073
Panipat Call Girls in Five Star Services Call 08860008073 Panipat Call Girls in Five Star Services Call 08860008073
Panipat Call Girls in Five Star Services Call 08860008073 Apsara Of India
 
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsVIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsApsara Of India
 
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your DoorstepCall girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your DoorstepPooja Nehwal
 
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesFun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesApsara Of India
 

Último (20)

Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...
Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...
Mumbai Call Girls Andheri East WhatsApp 9167673311 💞 Full Night Enjoy Pooja M...
 
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440Best VIP Call Girls Noida Sector 18 Call Me: 8264348440
Best VIP Call Girls Noida Sector 18 Call Me: 8264348440
 
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
 
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...
Jumeirah Call Girls Dubai Concupis O528786472 Dubai Call Girls In Bur Dubai N...
 
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=
Dubai Call Girls Phone O525547819 Take+ Call Girls Dubai=
 
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts Service
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts ServiceCall Girls In Goa 7028418221 Call Girls In Colva Beach Escorts Service
Call Girls In Goa 7028418221 Call Girls In Colva Beach Escorts Service
 
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012
Russian BINDASH Call Girls In Mahipalpur Delhi ☎️9711199012
 
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service
💞Call Girls In Sonipat 08168329307 Sonipat Kundli GTK Bypass EsCoRt Service
 
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️Call Girls in green park Delhi 8264348440 ✅ call girls ❤️
Call Girls in green park Delhi 8264348440 ✅ call girls ❤️
 
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy Girls
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy GirlsCall Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy Girls
Call Girls In Vashi Call Girls Pooja 📞 9892124323 ✅Book Hot And Sexy Girls
 
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
 
Dubai Call Girls O528786472 Call Girls Dubai OL
Dubai Call Girls O528786472 Call Girls Dubai OLDubai Call Girls O528786472 Call Girls Dubai OL
Dubai Call Girls O528786472 Call Girls Dubai OL
 
Rohini Sector 9 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 9 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 9 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 9 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiCall Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
 
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In Delhi
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In DelhiCall Girls In Lajpat Nagar__ 8448079011 __Escort Service In Delhi
Call Girls In Lajpat Nagar__ 8448079011 __Escort Service In Delhi
 
Panipat Call Girls in Five Star Services Call 08860008073
Panipat Call Girls in Five Star Services Call 08860008073 Panipat Call Girls in Five Star Services Call 08860008073
Panipat Call Girls in Five Star Services Call 08860008073
 
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsVIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
 
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your DoorstepCall girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
 
Rohini Sector 24 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 24 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 24 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 24 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesFun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
 

Understanding Oracle RAC 12c Internals OOW13 [CON8806]

  • 1. 9/30/13   1   Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template1 Understanding Oracle RAC 12c Internals Markus Michalewicz, Mark Scardina Director of Product Management
  • 2. 9/30/13   2   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A
  • 3. 9/30/13   3   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5 The New Oracle RAC 12c Oracle RAC 12c provides**: 1.  Better Business Continuity and High Availability (HA) 2.  Agility and Scalability 3.  Cost-effective Workload Management Using §  Standardized and improved deployment and management §  A familiar and matured HA stack Oracle Real Application Clusters (RAC) Oracle Grid Infrastructure (GI): Automatic Storage Management (ASM) Oracle Clusterware (OCW) Oracle Flex ASM CRM   **Understanding Oracle RAC Internals 11g Rel. 2: http://www.oracle.com/technetwork/products/clustering/overview/understandingrac11grel2internals-2010098.pdf Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6 The Setup for this Session What has been installed and configured so far? vixen srvpool: frontofficecomet srvpool: backoffice dancer srvpool: backofficedasher srvpool: frontoffice OS OL 6.4 OS OL 6.4 OS OL 6.4OS OL 6.4 Oracle GI for a cluster Oracle GI for a cluster Oracle GI for a clusterOracle GI for a cluster Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_2 raccdb1_1 [RAC]> srvctl status database -d raccdb1 Instance raccdb1_1 is running on node comet Instance raccdb1_2 is running on node dancer Instance raccdb1_3 is running on node vixen Instance raccdb1_4 is running on node dasher raccdb1_4 raccdb1_3 §  4-node cluster §  OL 6.4 UEK §  Oracle Grid Infrastructure 12c –  Per node installation §  Oracle RAC Database Home 12c –  Shared installation on ACFS §  One Oracle Multitenant Container Database –  DB name: raccdb1 –  Deployed as a Policy-Managed Database
  • 4. 9/30/13   4   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7 New Memory Requirements Not an Oracle RAC internal – just something to mention [GRID]> srvctl status asm ASM is running on comet,dasher,dancer [GRID]> srvctl status mgmtdb Database is enabled Instance -MGMTDB is running on node dasher [GRID]> ps -ef |grep pmon grid 3227 1 0 13:54 ? 00:00:02 asm_pmon_+ASM1 grid 3868 1 0 13:55 ? 00:00:01 mdb_pmon_-MGMTDB grid 7364 1 0 13:57 ? 00:00:01 apx_pmon_+APX1 oracle 7917 1 0 13:57 ? 00:00:02 ora_pmon_raccdb1_4 [RAC]> df -h Filesystem Size Used Avail Use% Mounted on ... tmpfs 1.7G 1.3G 475M 73% /dev/shm ... Physical memory requirements with Oracle RAC 12c: 4GB Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A
  • 5. 9/30/13   5   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9 Oracle ASM 12c – Overview Oracle ASM 12c Standard Deployment ASM Cluster Pool of Storage Disk Group BDisk Group AShared Disk Groups Wide File Striping One to One Mapping of ASM Instances to Servers ASM Instance Database Instance ASM Disk RAC Cluster Node4Node3Node2Node1 Node5ASM ASM ASM ASM ASM ASM Instance Database Instance DBA DBA DBCDBB DBBDBB Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10 Introducing Oracle Flex ASM Removal of One to One Mapping and HA ASM Cluster Pool of Storage Disk Group BDisk Group AShared Disk Groups Wide File Striping Databases share ASM instances ASM Instance Database Instance ASM Disk RAC Cluster Node5Node4Node3Node2Node1 Node5 runs as ASM Client to Node4 Node1 runs as ASM Client to Node2 Node1 runs as ASM Client to Node4 Node2 runs as ASM Client to Node3 ASM ASM ASM ASM Instance DBA DBA DBCDBB DBBDBB
  • 6. 9/30/13   6   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11 Supporting Pre-Oracle 12c Databases Pre-Oracle 12c Databases require a local ASM instance ASM Cluster Pool of Storage Disk Group BDisk Group AShared Disk Groups Wide File Striping Databases share ASM instances ASM Instance Database Instance ASM Disk RAC Cluster Node5Node4Node3Node2Node1 ASM ASM ASM DBA DBA DBC ASM ASM 11g DB 11g DB DBB DBBDBB Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12 Oracle Flex ASM Configuration details §  Flex ASM introduces new local resources: –  At least one ASM listener –  One “proxy_advm” (per node) §  Used for ACFS access to Flex ASM instances §  Connections from a database instance to an ASM instance are based on SQLnet using listeners. –  The listener directs the connection to the least loaded ASM instance based on the load metric it maintains. –  The connection details are fetched from CSS global data –  The ASM instance to which the database instance connects to is listed in the database alert log: §  NOTE: ASMB connected to ASM instance +ASM1 (Flex mode; client id 0x10004) –  The userid and password supplied are also managed automatically. They are supplied while establishing the session, not while connecting. [GRID]> crsctl stat res -t ------------------------------------------------------------------------------- Name Target State Server State details ------------------------------------------------------------------------------- Local Resources ------------------------------------------------------------------------------- ora.ASMNET1LSNR_ASM.lsnr ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE ONLINE ONLINE vixen STABLE ... ora.DATA.dg ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE OFFLINE OFFLINE vixen STABLE ... ora.INFRA.dg ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE OFFLINE OFFLINE vixen STABLE ... ora.proxy_advm ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE ONLINE ONLINE vixen STABLE
  • 7. 9/30/13   7   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13 Oracle Flex ASM Administering Flex ASM §  Check ASM mode using asmcmd §  Check where ASM instances are running using srvctl §  Check the configuration of ASM using srvctl §  Modify the ASM configuration using srvctl §  Cluster ASM listener: –  Flex ASM can have its own network or overlap with the private interconnect network used by RAC DB instances –  It is recommended to configure a full overlap of the private interconnect and the ASM network in current use cases: [GRID]> asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled [GRID]> srvctl status asm ASM is running on comet,dasher,dancer [GRID]> srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +INFRA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM,ASMNET2LSNR_ASM [GRID]> srvctl modify asm -count all [GRID]> srvctl status asm ASM is running on comet,dasher,dancer [GRID]> srvctl start asm [GRID]> srvctl status asm ASM is running on comet,vixen,dasher,dancer Test scenarios attached Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14 Oracle Flex ASM Some test scenarios… §  A failure of an ASM instance is without effect for the databases using ASM disk groups (here: -MGMTDB) –  If an ASM instance is running on all nodes (count all) the ASM instance is restarted upon failure –  If an ASM instance is running on a subset of nodes the ASM instance might be restarted on another node –  The client using the ASM instance may change §  A failure of an ASM instance is without effect for the APX (ADVM proxy) running on the same node §  A failure of the APX will lead to a restart of the database instance (on the node) that uses an ACFS file system. §  More information: –  http://docs.oracle.com/cd/E16655_01/server.121/e17612/ asminst.htm#OSTMG95329 [GRID]> ps -ef |grep pmon grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB grid 4093 1 0 11:35 ? 00:00:00 asm_pmon_+ASM1 grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1 oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4 [GRID]> kill -9 4093 [GRID]> ps -ef |grep pmon grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1 oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4 [GRID]> ps -ef |grep pmon grid 3840 1 0 09:11 ? 00:00:01 mdb_pmon_-MGMTDB grid 4548 1 0 11:36 ? 00:00:00 apx_pmon_+APX1 oracle 5092 1 0 11:36 ? 00:00:00 ora_pmon_raccdb1_4 grid 5748 1 0 11:39 ? 00:00:00 asm_pmon_+ASM1 grid 5793 19013 0 11:39 pts/1 00:00:00 grep pmon [GRID]> asmcmd lsct data DB_Name Status Software_Version Compatible_version Instance_Name Disk_Group +APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX1 DATA [GRID]> ssh vixen /u01/app/12.1.0/grid/bin/asmcmd lsct data DB_Name Status Software_Version Compatible_version Instance_Name Disk_Group +APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX2 DATA +APX CONNECTED 12.1.0.1.0 12.0.0.0.0 +APX3 DATA
  • 8. 9/30/13   8   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15 New in Oracle Grid Infrastructure 12c Oracle Flex Cluster for better resource management DBA DBA DBA DBB DBB Hub Nodes Leaf Nodes §  Oracle Flex Cluster: –  The new standard for flexible resource management in the cluster §  Use it as demand requires it §  Requires Oracle Flex ASM to be enabled §  Enables policy-managed clusters. –  Efficient High Availability and resource management across tiers §  Lightweight cluster stack on leaf nodes –  Benefit from virtualization and physical deployments in one cluster Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16 Oracle Flex Cluster Some configuration details §  Oracle Flex Cluster –  Will be the basis for more uses cases in future releases (for resource mgmt) –  Can consist of only HUB-nodes –  If a Leaf-node has access to shared storage, it can perform a role change to a HUB-node –  A Standard Cluster can be converted to a Flex Cluster at any time after the installation –  Once a cluster is configured as a Flex Cluster this configuration is irreversible without a re- configuration of the cluster. §  More Information: –  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/ bigcluster.htm#CWADD92560 [GRID]> crsctl get cluster mode config Cluster is configured as "standard" [GRID]> crsctl get cluster mode status Cluster is running in "standard" mode [GRID]> olsnodes -s -a -t dasher Active Hub Unpinned vixen Active Hub Unpinned dancer Active Hub Unpinned comet Active Hub Unpinned •  Not a Flex Cluster yet. •  An all-Hub Flex Cluster is basically a Standard Cluster Example attached
  • 9. 9/30/13   9   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17 Oracle Flex Cluster Converting to Flex Cluster §  More Information: –  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/ bigcluster.htm#CHDJGBII §  Flex Cluster implementations require GNS §  Converting a Flex Cluster requires a cluster restart –  Use “crsctl stop crs” followed by “crsctl start crs” as root –  Hence the difference between “status” and “config” –  Nodes can be restarted in a rolling fashion: [GRID]> srvctl config gns PRKF-1110 : Neither GNS server nor GNS client is configured on this cluster [GRID]> more /etc/hosts |grep gns 10.1.1.99 mygns mygns.localdomain #Change to root [GRID]> su Password: [GRID]> srvctl add gns -vip mygns [GRID]> srvctl start gns [GRID]> crsctl set cluster mode flex Cluster mode set to "flex » [GRID]> crsctl get cluster mode status Cluster is running in "standard" mode [GRID]> crsctl get cluster mode config Cluster is configured as "flex" [GRID]> date ; hostname ; crsctl get cluster mode status Sat Sep 14 14:43:45 PDT 2013 dasher Cluster is running in "flex" mode [GRID]> date ; hostname ; crsctl get cluster mode status Sat Sep 14 14:43:37 PDT 2013 dancer Cluster is running in "standard" mode Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18 Oracle Flex Cluster Standard to Flex Cluster conversion – what has changed? vixen srvpool: frontofficecomet srvpool: backoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 [GRID]> crsctl get cluster mode status Cluster is running in "flex" mode [GRID]> olsnodes -a -s -t dasher Active Hub Unpinned vixen Active Hub Unpinned dancer Active Hub Unpinned comet Active Hub Unpinned [RAC]> srvctl status database -d raccdb1 Instance raccdb1_1 is running on node comet Instance raccdb1_2 is running on node dancer Instance raccdb1_3 is running on node vixen Instance raccdb1_4 is running on node dasher §  Nothing at first glance… –  An all-Hub Flex Cluster behaves like a Standard Cluster –  When converting from Standard Cluster all nodes are converted into HUB-nodes
  • 10. 9/30/13   10   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 Oracle Flex Cluster Flexibility and High Availability as demand requires it §  Flex Cluster utilizes two types of cluster nodes: –  Hub nodes §  Traditional nodes, tightly coupled via network and storage, used for running IO intensive workload –  Leaf nodes §  A new type of node that runs a lighter weight stack §  Maintain their own failure and heartbeat settings §  Do not require direct shared storage connectivity §  Used for processing oriented (application) workload Hub Nodes Leaf Nodes Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20 Oracle Flex Cluster Changing node roles – server vixen becomes a Leaf node §  More Information: –  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/ bigcluster.htm#BABHCEAE [GRID]> hostname vixen [GRID]> srvctl config vip -node vixen VIP exists: network number 1, hosting node vixen VIP Name: vixen-vip VIP IPv4 Address: 10.1.1.33 VIP IPv6 Address: [GRID]> crsctl get node role config Node 'vixen' configured role is 'hub' #Change to root … [GRID]> su Password: [GRID]> crsctl set node role leaf CRS-4408: Node 'vixen' configured role successfully changed; restart Oracle High Availability Services for new role to take effect. [GRID]> crsctl stop crs [GRID]> crsctl start crs [GRID]> crsctl get node role config Node 'vixen' configured role is 'leaf' [GRID]> srvctl config vip -node vixen VIP exists: network number 1, hosting node vixen VIP Name: vixen-vip VIP IPv4 Address: 10.1.1.33 VIP IPv6 Address:
  • 11. 9/30/13   11   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21 Oracle Flex Cluster Node role change to Leaf – what has changed? vixen srvpool: FREEcomet srvpool: backoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | LEAFOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_4 raccdb1_2 raccdb1_1 [RAC]> srvctl status database -d raccdb1 Instance raccdb1_1 is running on node comet Instance raccdb1_2 is running on node dancer Instance raccdb1_4 is running on node dasher [RAC]> srvctl status server -servers vixen -detail Server active pools: Free Server name: vixen Server state: ONLINE Server state details: §  Server vixen has converted to a Leaf node §  Leaf nodes do not host DB instances in 12.1 §  Server vixen moved to Server Pool “FREE” as Server Pool “frontoffice” is a database pool –  Note: all nodes in this example have access to shared storage, which means only the node role changes – storage access is preserved. Example attached Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22 Oracle Flex Cluster Revert role change – server vixen becomes a HUB again comet srvpool: backoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUB Oracle RAC Oracle RAC Oracle RAC raccdb1 raccdb1_4 raccdb1_2 raccdb1_1 vixen srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_3 #As root [GRID]> crsctl set node role hub CRS-4408: Node 'vixen' configured role successfully changed; restart Oracle High Availability Services for new role to take effect. [GRID]> crsctl stop crs [GRID]> crsctl start crs [RAC]> srvctl status database -d raccdb1 Instance raccdb1_1 is running on node comet Instance raccdb1_2 is running on node dancer Instance raccdb1_3 is running on node vixen Instance raccdb1_4 is running on node dasher
  • 12. 9/30/13   12   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24 Policy-Managed Databases with Oracle RAC 12c Adding another dimension – Database Services vixen srvpool: frontoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUB Oracle RAC Oracle RAC Oracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 [GRID]> srvctl status serverpool Server pool name: frontoffice Active Servers count: 2 Server pool name: backoffice Active Servers count: 2 [RAC]> srvctl status service -d raccdb1 Service crmsvc is running on nodes: dasher,vixen Service hrsvc is running on nodes: comet,dancer §  Database Services –  Ensure that workload is hosted in the respective server pool with the cardinality defined as part of the policy definition. comet srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_1
  • 13. 9/30/13   13   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25 Policy-Managed Databases with Oracle RAC 12c Improved HA Management - Startup raccdb1 [GRID]> srvctl config serverpool Server pool name: frontoffice Importance: 10, Min: 2, Max 2 Server pool name: backoffice Importance: 5, Min: 1, Max 1 Server pool name: Free Importance: 0, Min: 0, Max -1 §  Defining a Service Startup Order –  Ensure services are started in specified groups and specified order. –  Leverages Serverpool Min and Importance properties dasher srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_4 1st vixen srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_3 2nd comet srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_1 4th dancer srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_2 3rd Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26 dancer srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_2 dancer srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_2 Policy-Managed Databases with Oracle RAC 12c Improved HA Management – New Failover Strategy raccdb1 [GRID]> srvctl config serverpool Server pool name: frontoffice Importance: 10, Min: 2, Max 2 Server pool name: backoffice Importance: 5, Min: 1, Max 1 [GRID]> srvctl status serverpool Server pool name: frontoffice Active Servers count: 2 Server pool name: backoffice Active Servers count: 1 dasher srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_4 vixen srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_3 comet srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_1 §  Servers “Move” to Replace Failed node –  Protects against cascade failures due to load –  Ensures workload isolation between pools –  Less important workloads shutdown transactionally
  • 14. 9/30/13   14   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27 dancer srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_2 dancer srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_2 Policy-Managed Databases with Oracle RAC 12c Improved HA Management – Manage Last Service Standing raccdb1 [RAC]> srvctl config serverpool Server pool name: frontoffice Importance: 10, Min: 2, Max 2 Server pool name: backoffice Importance: 5, Min: 1, Max 1 [RAC]> srvctl status service –db Service crmsrv is running on nodes comet,vixen Service hrsvc is not running dasher srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_4 vixen srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_3 comet srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_1 §  Business Critical Services survive multiple failures –  Most important pool always gets the servers –  Services preserved across multiple failures –  Less important workloads shutdown transactionally comet srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28 Policy-Managed Databases with Oracle RAC 12c Improved HA Management – Dynamic Provisioning vixen srvpool: frontoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUB Oracle RAC Oracle RAC Oracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 [GRID]> srvctl modify serverpool –serverpool backoffice –max 1 [RAC]> srvctl config serverpool Server pool name: frontoffice Importance: 10, Min: 2, Max 4 Server pool name: backoffice Importance: 5, Min: 1, Max 1 [RAC]> srvctl status service –db Service crmsrv is running on nodes dasher,dancer,vixen Service hrsvc is not running comet srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_1 §  Add Servers Just-In Time to meet demand –  Server Pools sized via Min and Max properties –  Dynamically controlled by QoS Management –  Planned control via Clusterware or QoSM Policies dancer srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_2
  • 15. 9/30/13   15   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30 Policy-Management with Oracle RAC 12c Support for Multiple Policies tracking business objectives §  More Information: –  http://docs.oracle.com/cd/E16655_01/rac.121/e17886/pbmgmt.htm §  New in Oracle Grid Infrastructure 12c –  Server Categories §  Server Categories use server attributes to allow for an active use of differently sized servers –  Policy Sets §  Policy Sets allow for dynamic adjustment to demand changes in an atomic transaction Server Categories •  NAME •  ACL •  EXPRESSION •  … Server Attributes •  NAME •  MEMORY_SIZE   •  CPU_COUNT •  CPU_CLOCK_RATE   •  CPU_HYPERTHREADING   •  CPU_EQUIVALENCY • …   [GRID]> crsctl modify policyset –attr "LAST_ACTIVATED_POLICY=NightTime“ CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'comet' CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'dancer' CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded CRS-2673: Attempting to start 'ora.raccdb1.backup.svc' on 'comet' CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded CRS-2672: Attempting to start 'ora.raccdb1.hrsvc.svc' on 'dancer‘ … QoS Management OR Oracle Clusterware - CRSCTL
  • 16. 9/30/13   16   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31 Policy-Management with Oracle RAC 12c Setting up policy sets – Provision Server Pools and creating a PolicySet §  Add another server pool “backup” §  Set up policy set with 3 server pools & 3 policies as follows: –  DayTime: §  frontoffice uses three servers (MIN_SIZE=3) §  backoffice uses one server (MIN_SIZE=1) §  backup does not run during daytime (MIN_SIZE=0) –  NightTime: §  frontoffice uses one server (MIN_SIZE=1) §  backoffice uses two servers (MIN_SIZE=2) §  backup uses only one server (MIN_SIZE=1) –  Weekend: §  frontoffice uses one server (MIN_SIZE=1) §  backoffice uses one server (MIN_SIZE=1) §  backup uses two servers (MIN_SIZE=2) [GRID]> srvctl add serverpool –serverpool backup –min 0 –max 2 –importance 20 [GRID] srvctl status serverpool Server pool name: frontoffice Active Servers count: 3 Server pool name: backoffice Active Servers count: 1 Server pool name: backup Active Servers count: 0 [GRID]> crsctl modify policyset -file /u01/app/…/policyset.txt Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32 Policy-Management with Oracle RAC 12c Using Policy Sets – part 1: Activate a policy §  Activate the policy for the weekend [GRID]> crsctl modify policyset -attr "LAST_ACTIVATED_POLICY=Weekend" [GRID]> srvctl config serverpool 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: backoffice Importance: 0, Min: 1, Max: 1 Category: Candidate server names: Server pool name: backup Importance: 1, Min: 2, Max: 2 Category: Candidate server names: Server pool name: frontoffice Importance: 0, Min: 1, Max: 1 Category: Candidate server names:
  • 17. 9/30/13   17   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33 Policy-Management with Oracle RAC 12c Using Policy Sets – part 2: check the result vixen srvpool: frontofficecomet srvpool: backup dancer srvpool: backupdasher srvpool: backoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 [RAC]> srvctl status database -d raccdb1 Instance raccdb1_1 is running on node comet Instance raccdb1_2 is running on node dancer Instance raccdb1_3 is running on node vixen Instance raccdb1_4 is running on node dasher [RAC]> srvctl status service -d raccdb1 Service backup is running on nodes: comet,dancer Service crmsvc is running on nodes: vixen Service hrsvc is running on nodes: dasher §  With an activated weekend policy Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34 Policy-Management with Oracle RAC 12c Adding Server Categories to the picture – part 1 §  Assume you have 2 servers that have better IO –  Use these servers for backups whenever possible §  Here comet and dancer have better IO by definition §  What you need to do: –  Set up a server category that identifies the servers –  Add the use of the server category to the server pool §  Define the server pools that utilize the category and during which policy activation it shall be used. §  You need to restart the cluster stack on the servers that you modify in this fashion [GRID]> su Password: [GRID]> crsctl set server label IOplus ... #On dancer [GRID]> crsctl set server label Ioplus [GRID]> crsctl get server label CRS-4972: Current SERVER_LABEL parameter value is Ioplus [GRID]> crsctl status server comet dancer –f Comet Dancer NAME=comet MEMORY_SIZE=3338 CPU_COUNT=1 CPU_CLOCK_RATE=2132 CPU_HYPERTHREADING=0 CPU_EQUIVALENCY=1000 DEPLOYMENT=other CONFIGURED_CSS_ROLE=hub RESOURCE_USE_ENABLED=1 SERVER_LABEL=IOplus ... NAME=dancer MEMORY_SIZE=3338 CPU_COUNT=1 CPU_CLOCK_RATE=2247 CPU_HYPERTHREADING=0 CPU_EQUIVALENCY=1000 DEPLOYMENT=other CONFIGURED_CSS_ROLE=hub RESOURCE_USE_ENABLED=1 SERVER_LABEL=IOplus ...
  • 18. 9/30/13   18   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35 Policy-Management with Oracle RAC 12c Adding Server Categories to the picture – part 2 §  What you need to do: –  Set up a server category that identifies the servers - done –  Add the use of the server category to the server pool §  Define the server pools that utilize the category and during which policy activation it shall be used §  Note: Add the server category usage to the server pool(s) that require it & specify the policies that should be altered accordingly –  In this example the backup server pool is the one that will benefit the most and the policies will only start this server pool as required. [GRID]> crsctl add category moreIO –attr "EXPRESSION='SERVER_LABEL co IOplus'" [GRID]> crsctl status category moreIO NAME=moreIO ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r-- ACTIVE_CSS_ROLE=hub EXPRESSION=(SERVER_LABEL co IOplus) [GRID]> crsctl modify serverpool ora.backup -attr "SERVER_CATEGORY=moreIO" -all_policies Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36 Policy-Management with Oracle RAC 12c Adding Server Categories to the picture – comparison Before After [GRID]> crsctl status policy DayTime POLICY NAME=DayTime DESCRIPTION= SERVERPOOL NAME=Free ... SERVERPOOL NAME=ora.backoffice IMPORTANCE=0 MAX_SIZE=1 MIN_SIZE=1 SERVER_CATEGORY= SERVER_NAMES= SERVERPOOL NAME=ora.backup IMPORTANCE=0 MAX_SIZE=0 MIN_SIZE=0 SERVER_CATEGORY= SERVER_NAMES= SERVERPOOL NAME=ora.frontoffice IMPORTANCE=0 MAX_SIZE=3 MIN_SIZE=3 SERVER_CATEGORY= SERVER_NAMES= [GRID]> crsctl status policy DayTime POLICY NAME=DayTime DESCRIPTION= SERVERPOOL NAME=Free ... SERVERPOOL NAME=ora.backoffice IMPORTANCE=0 MAX_SIZE=1 MIN_SIZE=1 SERVER_CATEGORY= SERVER_NAMES= SERVERPOOL NAME=ora.backup IMPORTANCE=0 MAX_SIZE=0 MIN_SIZE=0 SERVER_CATEGORY=moreIO SERVER_NAMES= SERVERPOOL NAME=ora.frontoffice IMPORTANCE=0 MAX_SIZE=3 MIN_SIZE=3 SERVER_CATEGORY= SERVER_NAMES=
  • 19. 9/30/13   19   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37 Policy-Management with Oracle RAC 12c Using Policy Sets and the effect of Server Categories vixen srvpool: frontofficecomet srvpool: backup dancer srvpool: backupdasher srvpool: backoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 vixen srvpool: backofficecomet srvpool: frontoffice dancer srvpool: frontofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38 [GRID]> crsctl modify policyset –attr "LAST_ACTIVATED_POLICY=DayTime“ [GRID] srvctl status serverpool Server pool name: frontoffice Active Servers count: 3 Server pool name: backoffice Active Servers count: 1 Server pool name: backup Active Servers count: 0 [RAC]> srvctl status service -d raccdb1 Service backup is not running. Service crmsvc is running on nodes: dasher,vixen,comet Service hrsvc is running on nodes: dancer Policy-Management with Oracle RAC 12c Using Policy Sets means changing policies on a push of a button raccdb1 vixen srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_3 dasher srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_4 comet srvpool: backup Oracle GI | HUB Oracle RAC raccdb1_1 dancer srvpool: backup Oracle GI | HUB Oracle RAC raccdb1_2 dancer srvpool: backoffice Oracle GI | HUB Oracle RAC raccdb1_2 comet srvpool: frontoffice Oracle GI | HUB Oracle RAC raccdb1_1
  • 20. 9/30/13   20   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39 Policy-Management with Oracle RAC 12c Using Policy Sets – changing policies on the push of a button is fast … vixen srvpool: frontofficecomet srvpool: backup dancer srvpool: backupdasher srvpool: backoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 vixen srvpool: backofficecomet srvpool: frontoffice dancer srvpool: frontofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1 [GRID]> date; crsctl modify policyset -attr "LAST_ACTIVATED_POLICY=DayTime"; date Mon Sep 16 19:26:42 PDT 2013 CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'dancer' CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'comet' CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'dancer' succeeded CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'comet' succeeded CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'dancer' CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'comet' CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded Mon Sep 16 19:26:43 PDT 2013 è Time to execute: 1 second! Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40 Policy-Management with Oracle RAC 12c What-If evaluation of policy changes [RAC]> srvctl status service -d raccdb1 Service backup is not running. Service crmsvc is running on nodes: dancer,vixen,dasher Service hrsvc is running on nodes: comet [GRID]> crsctl eval activate policy Weekend Stage Group 1: ------------------------------------------------------------------------------- Stage Number Required Action ------------------------------------------------------------------------------- 1 Y Server 'comet' will be moved from pools [ora.frontoffice] to pools [ora.backup] Y Server 'dancer' will be moved from pools [ora.frontoffice] to pools [ora.backup] Y Resource 'ora.raccdb1.crmsvc.svc' (1/1) will be in state [OFFLINE] Y Resource 'ora.raccdb1.crmsvc.svc' (2/1) will be in state [OFFLINE] 2 Y Resource 'ora.raccdb1.backup.svc' (1/1) will be in state [ONLINE|INTERMEDIATE] on server[comet] Y Resource 'ora.raccdb1.backup.svc' (2/1) will be in state [ONLINE|INTERMEDIATE] on server [dancer] vixen srvpool: frontofficecomet srvpool: frontoffice dancer srvpool: backofficedasher srvpool: frontoffice Oracle GI | HUB Oracle GI | HUB Oracle GI | HUBOracle GI | HUB Oracle RAC Oracle RAC Oracle RACOracle RAC raccdb1 raccdb1_3 raccdb1_4 raccdb1_2 raccdb1_1
  • 21. 9/30/13   21   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.41 What-If with Oracle RAC 12c What-If evaluation of policy changes – in various levels [RAC]> srvctl status service -d raccdb1 Service backup is not running. Service crmsvc is running on nodes: dancer,vixen,dasher Service hrsvc is running on nodes: comet [GRID]> crsctl eval activate policy Weekend -admin -l 'serverpools' NAME = Free ACTIVE_SERVERS = NAME = Generic ACTIVE_SERVERS = NAME = ora.backoffice ACTIVE_SERVERS = vixen NAME = ora.backup ACTIVE_SERVERS = comet dancer NAME = ora.frontoffice ACTIVE_SERVERS = dasher [RAC]> srvctl status service -d raccdb1 Service backup is not running. Service crmsvc is running on nodes: dancer,vixen,dasher Service hrsvc is running on nodes: comet [GRID]> crsctl eval activate policy Weekend -admin -l 'resources' -------------------------------------------------------------------------------- Name Target State Server Effect -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.mgmtdb 1 ONLINE ONLINE dasher ora.raccdb1.backup.svc 1 ONLINE ONLINE comet Started 2 ONLINE ONLINE dancer Started ora.raccdb1.crmsvc.svc 1 ONLINE OFFLINE Stopped 2 ONLINE OFFLINE Stopped 3 ONLINE ONLINE dasher ora.raccdb1.db 1 ONLINE ONLINE comet 2 ONLINE ONLINE dancer 3 ONLINE ONLINE vixen 4 ONLINE ONLINE dasher ora.raccdb1.hrsvc.svc 1 ONLINE ONLINE vixen 2 ONLINE OFFLINE -------------------------------------------------------------------------------- Copyright © 2013, Oracle and/or its affiliates. All rights reserved.42 Policy-Management with Oracle RAC 12c Information on each step on the way Before After [GRID]> crsctl modify policyset -attr "LAST_ACTIVATED_POLICY=NightTime“ CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'dancer' CRS-2673: Attempting to stop 'ora.raccdb1.crmsvc.svc' on 'comet' CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded CRS-2677: Stop of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded CRS-2672: Attempting to start 'ora.raccdb1.backup.svc' on 'dancer' CRS-2672: Attempting to start 'ora.raccdb1.backup.svc' on 'comet' CRS-2676: Start of 'ora.raccdb1.backup.svc' on 'dancer' succeeded CRS-2676: Start of 'ora.raccdb1.backup.svc' on 'comet' succeeded [GRID]> crsctl modify policyset -attr "LAST_ACTIVATED_POLICY=DayTime" CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'dancer' CRS-2673: Attempting to stop 'ora.raccdb1.backup.svc' on 'comet' CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'dancer' succeeded CRS-2677: Stop of 'ora.raccdb1.backup.svc' on 'comet' succeeded CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'dancer' CRS-2672: Attempting to start 'ora.raccdb1.crmsvc.svc' on 'comet' CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'dancer' succeeded CRS-2676: Start of 'ora.raccdb1.crmsvc.svc' on 'comet' succeeded
  • 22. 9/30/13   22   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44 Multiple Subnet Support in Oracle RAC 12c Preparing for multiple subnet usage – part 1 §  Multiple subnet support was introduced with Oracle RAC 11g Rel. 2 –  Using multiple subnets per cluster can come in handy for various reasons – backups for example. vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.networkora.net1.network [GRID]> crsctl stat res ora.net1.network -t ------------------------------------------------------------------------ Name Target State Server State details ------------------------------------------------------------------------ Local Resources ------------------------------------------------------------------------ ora.net1.network ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE ONLINE ONLINE vixen STABLE ------------------------------------------------------------------------ [GRID]> oifcfg iflist eth0 10.1.1.0 eth1 192.168.7.0 eth1 169.254.128.0 eth2 172.149.2.0 eth2 169.254.0.0 eth3 10.2.2.0 [GRID]> oifcfg getif eth0 10.1.1.0 global public eth1 192.168.7.0 global cluster_interconnect,asm eth2 172.149.2.0 global cluster_interconnect,asm One more physical interface that can be used for public or private communication. Private communication already uses multiple subnets. Example attached
  • 23. 9/30/13   23   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.45 Multiple Subnet Support in Oracle RAC 12c Preparing for multiple subnet usage – part 2 §  Multiple subnet support can be activated in two alternative ways: 1.  Defining interface name and subnet identifier 2.  Defining only a subnet identifier (interface: “*”) §  Using approach one allows for more consistent management and will be used in this example. [GRID]> oifcfg setif -global eth3/10.2.2.0:public [GRID]> oifcfg getif eth0 10.1.1.0 global public eth1 192.168.7.0 global cluster_interconnect,asm eth2 172.149.2.0 global cluster_interconnect,asm eth3 10.2.2.0 global public [GRID]> oifcfg setif -global "*"/10.2.2.0:public [GRID]> oifcfg getif eth0 10.1.1.0 global public eth1 192.168.7.0 global cluster_interconnect,asm eth2 172.149.2.0 global cluster_interconnect,asm * 10.2.2.0 global public PRIF-29: Warning: wildcard in network parameters can cause mismatch among GPnP profile, OCR, and system Alternative configuration: Copyright © 2013, Oracle and/or its affiliates. All rights reserved.46 Multiple Subnet Support in Oracle RAC 12c Adding second network resource to support multiple public subnets vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.network:10.2.2.0ora.net2.network:10.2.2.0 [GRID]> su Password: [GRID]> srvctl add network -netnum 2 -subnet 10.2.2.0/255.255.255.0 [GRID]> exit [GRID]> crsctl stat res ora.net2.network -t ------------------------------------------------------------------------ Name Target State Server State details ------------------------------------------------------------------------ Local Resources ------------------------------------------------------------------------ ora.net2.network OFFLINE OFFLINE comet STABLE OFFLINE OFFLINE dancer STABLE OFFLINE OFFLINE dasher STABLE OFFLINE OFFLINE vixen STABLE ------------------------------------------------------------------------ §  The preparation: –  Prepare the physical connectivity – done –  Prepare the stack as shown §  Adding the network is one command §  VIPs need to be added separately.
  • 24. 9/30/13   24   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.47 Multiple Subnet Support in Oracle RAC 12c Adding VIPs on second network to support multiple public subnets §  Adding node VIPs to second subnet: [GRID]> more /etc/hosts ... 10.2.2.30 dasher-vip2 dasher-vip2.localdomain 10.2.2.31 dancer-vip2 dancer-vip2.localdomain 10.2.2.32 comet-vip2 comet-vip2.localdomain 10.2.2.33 vixen-vip2 vixen-vip2.localdomain vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.networkora.net2.network [GRID]> srvctl config vip -node comet VIP exists: network number 1, hosting node comet VIP Name: comet-vip VIP IPv4 Address: 10.1.1.32 VIP IPv6 Address: [GRID]> srvctl config vip -node vixen VIP exists: network number 1, hosting node vixen VIP Name: vixen-vip VIP IPv4 Address: 10.1.1.33 VIP IPv6 Address: [GRID]> su Password: [GRID]> srvctl add vip -node comet -k 2 -A comet-vip2/255.255.255.0 [GRID]> srvctl add vip -node vixen -k 2 -A vixen-vip2/255.255.255.0 [GRID]> srvctl add vip -node dancer -k 2 -A dancer-vip2/255.255.255.0 [GRID]> srvctl add vip -node dasher -k 2 -A dasher-vip2/255.255.255.0 vixen-vip / 10.1.1.33comet-vip / 10.1.1.32 vixen-vip2 / 10.2.2.33comet-vip2 / 10.2.2.32 Complete Example attached Copyright © 2013, Oracle and/or its affiliates. All rights reserved.48 Multiple Subnet Support in Oracle RAC 12c Start using the second subnet VIPs vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.networkora.net2.network #Example only – need to check for all nodes [GRID]> srvctl config vip -node vixen VIP exists: network number 1, hosting node vixen VIP Name: vixen-vip VIP IPv4 Address: 10.1.1.33 VIP IPv6 Address: VIP exists: network number 2, hosting node vixen VIP Name: vixen-vip2 VIP IPv4 Address: 10.2.2.33 VIP IPv6 Address: [GRID]> srvctl status vip -node vixen VIP vixen-vip is enabled VIP vixen-vip is running on node: vixen VIP vixen-vip2 is enabled VIP vixen-vip2 is not running [GRID]> srvctl start vip -node vixen PRKO-2420 : VIP is already started on node(s): vixen [GRID]> srvctl start vip -vip vixen-vip2 [GRID]> srvctl start vip -vip comet-vip2 [GRID]> srvctl start vip -vip dancer-vip2 [GRID]> srvctl start vip -vip dasher-vip2 vixen-vip / 10.1.1.33comet-vip / 10.1.1.32 vixen-vip2 / 10.2.2.33comet-vip2 / 10.2.2.32 §  Once VIPs are added verify the setup §  Start the VIPs in order to use them §  Note: you need to specify the VIP name for the VIPs on the second subnet to be started, as the default assumes the “default node VIP”.
  • 25. 9/30/13   25   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.49 Listeners in Oracle RAC 12c The default listener is available by default vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 [GRID]> srvctl status listener Listener LISTENER is enabled Listener LISTENER is running on node(s): comet,vixen,dasher,dancer [GRID]> srvctl config listener Name: LISTENER Network: 1, Owner: grid Home: <CRS home> End points: TCP:1521 LISTENER: 10.1.1.13 and 10.1.1.33 LISTENER: 10.1.1.10 and 10.1.1.30 §  Various listeners are used in Oracle RAC 12c §  These are all listeners – used in a certain way! §  The simplest one is the default listener §  A listener depends on a network §  A listener will listen on the node and VIP IP Copyright © 2013, Oracle and/or its affiliates. All rights reserved.50 Listeners in Oracle RAC 12c The default listener FAQ vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 [GRID]> srvctl modify listener -h Modifies the configuration for the listener. Usage: srvctl modify listener [-listener <lsnr_name>] [-oraclehome <path>] [-endpoints "[TCP:]<port>[, ...][/ IPC:<key>][/NMP:<pipe_name>][/TCPS:<s_port>] [/SDP:<port>]"] [- user <oracle_user>] [-netnum <net_num>] #Example – adding another listener on another port on net 1 [GRID]> srvctl add listener -listener LSNR2NET1 -netnum 1 [GRID]> srvctl config listener -listener LSNR2NET1 Name: LSNR2NET1 Network: 1, Owner: grid Home: <CRS home> End points: TCP:1522 [GRID]> srvctl status listener -listener LSNR2NET1 Listener LSNR2NET1 is enabled Listener LSNR2NET1 is not running [GRID]> srvctl start listener -listener LSNR2NET1 [GRID]> srvctl status listener -listener LSNR2NET1 Listener LSNR2NET1 is enabled Listener LSNR2NET1 is running on node(s): comet,vixen,dasher,dancer §  Can you define another port? - YES §  Can you define another owner? – YES §  Can you define another home? – YES, if needed. §  Can I add another listener on another port? - YES LISTENERLISTENER LSNR2NET1LSNR2NET1 Example attached
  • 26. 9/30/13   26   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.51 Listeners in Oracle RAC 12c The default listener FAQ vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 [GRID]> srvctl modify listener -listener LSNR2NET1 -endpoints "TCP:1528« [GRID]> lsnrctl status LSNR2NET1 LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 16-SEP-2013 19:34:13 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LSNR2NET1))) STATUS of the LISTENER ------------------------ Alias LSNR2NET1 Version TNSLSNR for Linux: Version 12.1.0.1.0 - Production Start Date 16-SEP-2013 16:35:34 Uptime 0 days 2 hr. 58 min. 39 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/12.1.0/grid/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/dasher/lsnr2net1/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LSNR2NET1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.10)(PORT=1528))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.30)(PORT=1528))) Services Summary... §  Can you define another port? - YES §  New in Oracle Grid Infrastructure 12c: §  Online Modification of Resources LISTENERLISTENER LSNR2NET1:1522LSNR2NET1:1522 LSNR2NET1:1528LSNR2NET1:1528 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.52 Listeners in Oracle RAC 12c Adding a node listener to the second subnet vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC [GRID]> srvctl add listener -listener LSNR1NET2 -netnum 2 -endpoints 1522 [GRID]> srvctl config listener -listener LSNR1NET2 Name: LSNR1NET2 Network: 2, Owner: grid Home: <CRS home> End points: TCP:1522 [GRID]> srvctl status listener -listener LSNR1NET2 Listener LSNR1NET2 is enabled Listener LSNR1NET2 is not running [GRID]> srvctl start listener -listener LSNR1NET2 [GRID]> srvctl status listener -listener LSNR1NET2 Listener LSNR1NET2 is enabled Listener LSNR1NET2 is running on node(s): comet,vixen,dasher,dancer §  Can I add another listener on another subnet? §  Absolutely! ora.net2.networkora.net2.network LSNR1NET2:1522LSNR1NET2:1522 Listener summary attached
  • 27. 9/30/13   27   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.53 Listeners in Oracle RAC 12c Other listeners used as part of the stack [GRID]> crsctl stat res –t -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.ASMNET1LSNR_ASM.lsnr ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE ONLINE ONLINE vixen STABLE ora.ASMNET2LSNR_ASM.lsnr ONLINE ONLINE comet STABLE ONLINE ONLINE dancer STABLE ONLINE ONLINE dasher STABLE ONLINE ONLINE vixen STABLE ... -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.LISTENER_SCAN1.lsnr 1 ONLINE ONLINE dasher STABLE ora.MGMTLSNR 1 ONLINE ONLINE dasher 169.254.73.11 192.16 8.7.10 172.149.2.10, STABLE §  Oracle RAC 12c introduces more listener (types): §  ora.LISTENER.lsnr §  Default listener of type “ora.listener.type” §  ora.ASMNETnLSNR_ASM.lsnr §  An Oracle ASM listener used by Flex ASM of type “ora.asm_listener.type” §  ora.mgmtlsnr.type §  Grid Infrastructure Management Repository (GIMR) DB listener of type “ora.mgmtlsnr.type” §  ora.LISTENER_SCANn.lsnr” §  A SCAN listener of type “ora.scan_listener.type” local resource (runs on every node) cluster resource (runs on any node) Copyright © 2013, Oracle and/or its affiliates. All rights reserved.54 Listeners in Oracle RAC 12c Valid Node Checking for Registration §  New in the Oracle RAC 12c listeners: §  For Oracle RAC: IPv6 support §  Valid Node Checking for Registration §  http://docs.oracle.com/cd/E16655_01/network. 121/e17610/listenercfg.htm#NETAG1588 §  The listener is now protected to both sides: §  It can be restricted to accept client connections §  http://docs.oracle.com/cd/E16655_01/network. 121/e17607/guidelines.htm#DBSEG504 §  It can be restricted to prevent ay arbitrary DB (instance) from registering to it, if not allowed by default. (Valid Node Checking for Registration) vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC LISTENERLISTENER raccdb1_3raccdb1_1 Valid Node Checking for Registration SCAN
  • 28. 9/30/13   28   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.55 SCAN in Oracle RAC 12c The listener usage that combines it all [GRID]> srvctl config network Network 1 exists Subnet IPv4: 10.1.1.0/255.255.255.0/eth0, static Subnet IPv6: [GRID]> srvctl config scan_listener SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521 Registration invited nodes: Registration invited subnets: ... [GRID]> srvctl status scan_listener -netnum 2 SCAN Listener LISTENER_SCAN1_NET2 is enabled SCAN listener LISTENER_SCAN1_NET2 is running on node vixen §  SCAN was introduced with Oracle RAC 11g Rel. 2 –  http://www.oracle.com/technetwork/products/ clustering/overview/scan-129069.pdf §  New in SCAN with Oracle RAC 12c: –  Multiple Subnet Support §  IPv6 support for client connectivity (public network) –  Valid Node Checking for Registration vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.networkora.net2.network MySCAN_3 / 10.1.1.52 MySCAN2_3 / 10.2.2.52MySCAN2_2 / 10.2.2.51 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.56 SCAN in Oracle RAC 12c Adding a second SCAN listener to the system vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.networkora.net2.network MySCAN / 10.1.1.50 §  Adding a second SCAN listener to the system –  There is only one SCAN listener per subnet –  In this example, each SCAN has only 1 IP address §  Three steps are required to add another scan: 1.  Preparation of the host / network 2.  Adding another SCAN (VIPs mainly) 3.  Adding another SCAN listener #Step 1: Preparation [GRID]> more /etc/hosts ... 10.1.1.50 myscan myscan.localdomain 10.2.2.50 myscan2 myscan2.localdomain [GRID]> srvctl config network Network 1 exists Subnet IPv4: 10.1.1.0/255.255.255.0/eth0, static Subnet IPv6: Network 2 exists Subnet IPv4: 10.2.2.0/255.255.255.0/, static Subnet IPv6: The second (non-default) network to be used for the second scan (netnumber 2) A second IP for SCAN2
  • 29. 9/30/13   29   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.57 SCAN in Oracle RAC 12c Starting the SCAN listener on the second network #Step 2: Adding another SCAN [GRID]> su Password: [GRID]> srvctl add scan -scanname myscan2 -netnum 2 [GRID]> exit [GRID]> srvctl add scan_listener -netnum 2 -endpoints 1530 [GRID]> srvctl status scan -netnum 2 SCAN VIP scan1_net2 is enabled SCAN VIP scan1_net2 is not running [GRID]> srvctl status scan_listener -netnum 2 SCAN Listener LISTENER_SCAN1_NET2 is enabled SCAN listener LISTENER_SCAN1_NET2 is not running [GRID]> srvctl start scan_listener -netnum 2 [GRID]> srvctl status scan_listener -netnum 2 SCAN Listener LISTENER_SCAN1_NET2 is enabled SCAN listener LISTENER_SCAN1_NET2 is running on node vixen vixencomet Oracle GI | HUBOracle GI | HUB Oracle RACOracle RAC ora.net1.network:10.1.1.0ora.net1.network:10.1.1.0 ora.net2.networkora.net2.network MySCAN / 10.1.1.50 §  Then start the SCAN on the second network LISTENER_SCAN1_NET2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.58 SCAN in Oracle RAC 12c Start using SCAN with the Oracle Database [RAC]> sqlplus sys/<pswd>@MySCAN:1521/raccdb1 as sysdba ... SQL> show parameters listener NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ listener_networks string local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST= 10.1.1.31)(PORT=1521)), (ADDRE SS=(PROTOCOL=TCP)(HOST=10.1.1. 31)(PORT=1528)) remote_listener string myscan:1521 [RAC]> srvctl stop database -d raccdb1 [RAC]> srvctl start database -d raccdb1 [RAC]> sqlplus sys/oracle@MySCAN:1521/raccdb1 as sysdba ... SQL> show parameters listener NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ listener_networks string (( NAME=net2)(LOCAL_LISTENER=( DESCRIPTION=(ADDRESS=(PROTOCOL =TCP)(HOST=10.2.2.32)(PORT=152 2))))), ((NAME=net2)(REMOTE_LI STENER=myscan2:1530)) local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST= 10.1.1.32)(PORT=1521)), (ADDRE SS=(PROTOCOL=TCP)(HOST=10.1.1. 32)(PORT=1528)) remote_listener string myscan:1521 §  When using more than one SCAN on the system, the LISTENER_NETWORKS parameter needs to be set for databases. §  New in Oracle RAC12c: –  The LISTENER_NETWORKS parameter is managed by the Oracle (Database) Agent as part of the Oracle Clusterware management. –  To initiate the new configuration a database restart is required.
  • 30. 9/30/13   30   Copyright © 2013, Oracle and/or its affiliates. All rights reserved.59 SCAN in Oracle RAC 12c The SCAN listener FAQ §  Can you define another port? - YES §  Can I define multiple ports? – YES** §  Can you define another owner? – NO §  Can you define another home? – NO §  Can I add another listener on another port? – YES §  See MOS Note 220970.1 – The RAC FAQ: §  How to use SCAN and node listeners with different ports? • ** For the purpose of allowing applications to maintain a distinguishable connect string on host / port level using one SCAN as the host or to enable port-based firewall configurations, SCAN can be set up to support more than one port. • It needs to be noticed that different ports are only used for an initial connect. • Once a connection using SCAN on any SCAN port has been established, port assignment is not maintained . • This means that all SCAN ports are treated the same, so that a connection that comes in on any SCAN port can be directed to any registered local listener on any port. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.60 Agenda §  Introduction §  The New Features in Oracle Grid Infrastructure and RAC 12c –  Flex ASM –  Flex Cluster §  Policy-Managed Databases –  Improved HA Management –  Dynamic Database Services §  Multiple Subnet Support, Listeners & SCAN in Oracle RAC 12c §  Summary and Q&A
  • 31. 9/30/13   31   Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template61 Graphic Section Divider Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template62