SlideShare uma empresa Scribd logo
1 de 60
Baixar para ler offline
BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Rapid Home Provisioning
A new Oracle Grid Infrastructure 12.1.0.2 feature
Ludovico Caldara
Oracle ACE, Senior Oracle Consultant
Trivadis SA
About Ludovico Caldara
Rapid Home Provisioning2 09.12.2015
■ 16 Years DBA (Not Only Oracle)
▪ I do it everywhere (even Windows)
■ RAC ATTACK Ninja & co-writer
■ VP, SOUG & ITOUG Board member
■ OCP (11g, 12c, MySQL) & OCE
■ Italian living in Switzerland
■ http://www.ludovicocaldara.net
■ @ludodba
■ ludovicocaldara
Our company.
Rapid Home Provisioning3 09.12.2015
Trivadis is a market leader in IT consulting, system integration, solution engineering
and the provision of IT services focusing on and
technologies in Switzerland, Germany, Austria and Denmark.
We offer our services in the following strategic business fields:
Trivadis Services takes over the interactive operation of your IT systems.
O P E R A T I O N
COPENHAGEN
MUNICH
LAUSANNE
BERN
ZURICH
BRUGG
GENEVA
HAMBURG
DÜSSELDORF
FRANKFURT
STUTTGART
FREIBURG
BASEL
VIENNA
With over 600 specialists and IT experts in your region.
Rapid Home Provisioning4 09.12.2015
14 Trivadis branches and more than
600 employees
200 Service Level Agreements
Over 4,000 training participants
Research and development budget:
CHF 5.0 / EUR 4 million
Financially self-supporting and
sustainably profitable
Experience from more than 1,900
projects per year at over 800
customers
Rapid Home Provisioning5 09.12.2015
Patching, Patching, Patching
(or how I will NOT apply PSUs every quarter)
Patching, Patching, Patching
Rapid Home Provisioning6 09.12.2015
(Original: https://xkcd.com/838/ )
Patching, worst way
Rapid Home Provisioning7 09.12.2015
1. Stop everything
2. In-place binaries patching
3. Database patching, "big bang" mode
4. Start everything
Patching, worst way
Rapid Home Provisioning8 09.12.2015
1. Stop everything
2. In-place binaries patching
3. Database patching, "big bang" mode
4. Start everything
Problem: you seriously need a check-up of your operational practices
Patching, better way
Rapid Home Provisioning9 09.12.2015
1. Re-install binaries, out-of-place binaries patching
2. Stop databases, one by one
3. Move to new ORACLE_HOME, patch one by one
4. Decommission old binaries
Patching, better way
Rapid Home Provisioning10 09.12.2015
1. Re-install binaries, out-of-place binaries patching
2. Stop databases, one by one
3. Move to new ORACLE_HOME, patch one by one
4. Decommission old binaries
Problem: what if you have many servers/environments and patch frequently?
Patching, best way (so far)
Rapid Home Provisioning11 09.12.2015
1. Install binaries somewhere
2. Detach and patch them
3. Keep them as golden images somewhere
4. Deploy them on the servers somehow, attach them
5. Stop databases, one by one
6. Move to new ORACLE_HOME, patch one by one
7. Decommission old binaries
Patching, best way (so far)
Rapid Home Provisioning12 09.12.2015
1. Install binaries somewhere
2. Detach and patch them
3. Keep them as golden images somewhere
4. Deploy them on the servers somehow, attach them
5. Stop databases, one by one
6. Move to new ORACLE_HOME, patch one by one
7. Decommission old binaries
Flexible?
YES!
Patching, best way (so far)
Rapid Home Provisioning13 09.12.2015
1. Install binaries somewhere
2. Detach and patch them
3. Keep them as golden images somewhere
4. Deploy them on the servers somehow, attach them
5. Stop databases, one by one
6. Move to new ORACLE_HOME, patch one by one
7. Decommission old binaries
Flexible?
YES!
Easy?
NO!
Rapid Home Provisioning14 09.12.2015
Rapid Home Provisioning
What is it?
Rapid Home Provisioning is...
Rapid Home Provisioning15 09.12.2015
Usage: srvctl ... asm
Usage: srvctl ... cvu
Usage: srvctl ... database
Usage: srvctl ... diskgroup
Usage: srvctl ... exportfs
Usage: srvctl ... filesystem
Usage: srvctl ... gns
Usage: srvctl ... havip
Usage: srvctl ... home
Usage: srvctl ... instance
Usage: srvctl ... listener
Usage: srvctl ... mgmtdb
Usage: srvctl ... mgmtlsnr
Usage: srvctl ... mountfs
Usage: srvctl ... network
Usage: srvctl ... nodeapps
Usage: srvctl ... oc4j
Usage: srvctl ... rhpclient
Usage: srvctl ... rhpserver
Usage: srvctl ... scan
Usage: srvctl ... scan_listener
Usage: srvctl ... server
Usage: srvctl ... service
Usage: srvctl ... srvpool
Usage: srvctl ... vip
Usage: srvctl ... volume
grid$ srvctl -help | grep Usage: | awk '{printf ("%s %s ... %sn", $1, $2, $4)}' | sort | uniq
Something that messes my srvctl help!
Rapid Home Provisioning is...
Rapid Home Provisioning16 09.12.2015
Usage: rhpctl ... client
Usage: rhpctl ... database
Usage: rhpctl ... image
Usage: rhpctl ... role
Usage: rhpctl ... series
Usage: rhpctl ... server
Usage: rhpctl ... user
Usage: rhpctl ... workingcopy
grid$ rhpctl -help | grep Usage: | awk '{printf ("%s %s ... %sn", $1, $2, $4)}' | sort |uniq
It has its own rhpctl command too! This is how you administer it.
Rapid Home Provisioning - the idea
Rapid Home Provisioning17 09.12.2015
DF
OH_1 OH_2 OH_3
RHP SERVER
-MGMTDB
RHP CLIENT
RHP CLIENT
RHP CLIENT
RHP CLIENT
RHP CLIENT
RHP CLIENT
RHP CLIENT RHP CLIENT
GOLDEN
IMAGE
DB
WORKING
COPY
Rapid Home Provisioning is a tool for...
Rapid Home Provisioning18 09.12.2015
Provisioning and patching
– Oracle Homes
– other Software
Simplifying software deployment
Patching Databases (Mass patching possible)
Centralizing Golden Images
Ensuring standardization within the enterprise
Rapid Home Provisioning has mandatory requirements
Rapid Home Provisioning19 09.12.2015
Oracle Grid Infrastructure release 12.1.0.2 or upwards (use the last PSU)
ASM Cluster File System (ACFS)
Oracle Grid Infrastructure Global Naming Services (GNS)
NFS Server and HAVIP (optional*)
Lifecycle Management Pack Option (optional*)
* how optional is optional? We will see in the next episode (coming soon)
Rapid Home Provisioning has also limitations!
Rapid Home Provisioning20 09.12.2015
The main ones:
Not available on Windows
Cannot upgrade from a release to another (planned in 12.2)
Cannot provision Grid Infrastructure Homes (not yet, maybe 12.2?)
– Bug 19596245 : IMPLEMENT GRID INFRASTRUCTURE SUPPORT IN RAPID HOME PROVISIONING
Cannot provision OS Images or VMs, not in the scope of the tool
Rapid Home Provisioning - Security Roles
Rapid Home Provisioning21 09.12.2015
Several roles -> specific permissions on Working Copies and and Golden Images
But basically three composite roles:
– GH_SA : RHP Server administrator
– GH_CA : RHP Client administrator
– GH_OPER : for generic administration
Rapid Home Provisioning22 09.12.2015
Rapid Home Provisioning
Single Cluster Architecture
(or when you have only one cluster)
Single Cluster Architecture - Setup
Rapid Home Provisioning23 09.12.2015
RHP Server Cluster
ASM RHP DG-MGMTDB
Single Cluster Architecture - Setup
Rapid Home Provisioning24 09.12.2015
RHP Server Cluster
ASM RHP DG-MGMTDB
Existing
OraHome
1
Single Cluster Architecture - Setup
Rapid Home Provisioning25 09.12.2015
RHP Server Cluster
ASM RHP DG-MGMTDB
RHP
Server
Existing
OraHome
1
# srvctl add rhpserver -storage /my/path/to/rhp/ -diskgroup RHP
# srvctl start rhpserver
new resource ora.ghs is created
ASM DG must exist,
ADVM Compatible >= 12.1.0.0
Single Cluster Architecture - Adding Images
Rapid Home Provisioning26 09.12.2015
RHP Server Cluster
ASM RHP DG-MGMTDB
RHP
Server
Existing
OraHome
ACFS Mount
Base
Golden
Image
grid $ rhpctl grant role -role GH_CA -user oracle -client rhps-cluster
oracle $ rhpctl import image -image 12cR1_EE_Base 
-path $OH -imagetype ORACLEDBSOFTWARE
Getting Golden Image details
Rapid Home Provisioning27 09.12.2015
grid $ rhpctl query image -image 12cR1_EE_Base
Image name: 12cR1_EE_Base
Owner: grid@rhps-cluster
Site: rhps-cluster
Access control: USER:oracle@rhps-cluster
Access control: ROLE:OTHER
...
Parent Image:
Image Type: ORACLEDBSOFTWARE
Image Version: 12.1.0.2.0
Software home path:
/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/swhome
Image state: PUBLISHED
Image size: 5332MB
Image platform: Linux_AMD64
Interim patches installed:
Complete: TRUE
Single Cluster Architecture - Adding Working Copies
Rapid Home Provisioning28 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
Existing
OraHome
1
ACFS Mount
Base
Golden
Image
no more needed
oracle $ rhpctl add workingcopy -workingcopy 12cR1_EE_Base_1 
-image 12cR1_EE_Base -oraclebase /u01/app/oracle
ACFS Snap
Base
Working
Copy
Getting Working Copy details
Rapid Home Provisioning29 09.12.2015
oracle $ rhpctl query workingcopy -workingcopy 12cR1_EE_Base_1
Working copy name: 12cR1_EE_Base_1
Image name: 12cR1_EE_Base
Owner: oracle@rhps-cluster
Site: rhps-cluster
Access control: USER:oracle@rhps-cluster
Access control: ROLE:GH_WC_ADMIN
Software home path:
/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1
_EE_Base_1/swhome
Oracle base: /u01/app/oracle
Storage type: RHP Managed
Configured databases:
Interim patches installed:
Complete: TRUE
YOUR ORACLE_HOME
ON RHP SERVER
Single Cluster Architecture - Using Working Copies
Rapid Home Provisioning30 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Base
Working
Copy
DB
You can use the working copy as ORACLE_HOME for databases
$ rhpctl add database -workingcopy 12cR1_EE_base_1 -dbname ORCL 
-datafileDestination DATA -dbtemplate General_Purpose.dbc
... or ...
Single Cluster Architecture - Patching Working Copies
Rapid Home Provisioning31 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Patched
Working
Copy
oracle $ cd PSUx/patchnumber
oracle $ opatch apply
Single Cluster Architecture - Patching Working Copies
Rapid Home Provisioning32 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Patched
Working
Copy
oracle $ cd PSUx/patchnumber
oracle $ opatch apply
oracle $ rhpctl add image –image 12cR1_EE_PSUx 
-workingcopy 12cR1_EE_Base_1
ACFS Snap
Patched
Golden
Image
Single Cluster Architecture - Patching Working Copies
Rapid Home Provisioning33 09.12.2015
$ rhpctl add image -image 12cR1_EE_PSU4 -workingcopy 12cR1_EE_PSU4_1
rhpsh02.trivadistraining.com: Finding ACFS of previous image "12cR1_EE_Base" ...
rhpsh02.trivadistraining.com: Creating snapshot for image "12cR1_EE_PSU4" from
working copy "12cR1_EE_PSU4_1" ...
rhpsh02.trivadistraining.com: Changing the home ownership ...
$
Single Cluster Architecture - Images and Working Copies
Rapid Home Provisioning34 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Patched
Golden
Image
You can have as many Images and Working copies as you need.
ACFS Snap
Patched
Working
Copy
ACFS Snap
Base
Working
Copy
$ rhpctl query workingcopy
Working copy name: 12cR1_EE_Base_1
Working copy name: 12cR1_EE_PSU4_1
Working copy name: 12cR1_EE_PSU4_2
$ rhpctl query image
Image name: 12cR1_EE_PSU4
Image name: 12cR1_EE_Base
ACFS Snap
Patched
Working
Copy
Single Cluster Architecture - Database Patching
Rapid Home Provisioning35 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Patched
Golden
Image
ACFS Snap
Patched
Working
Copy
ACFS Snap
Base
Working
Copy
Unpatched
DB
Database patching is dead simple!
Single Cluster Architecture - Database Patching
Rapid Home Provisioning36 09.12.2015
RHP Server Cluster
ASM DG-MGMTDB
RHP
Server
ACFS Mount
Base
Golden
Image
ACFS Snap
Patched
Golden
Image
ACFS Snap
Patched
Working
Copy
ACFS Snap
Base
Working
Copy
Unpatched
DB
Database patching is dead simple!
$ rhpctl move database -sourcewc 12cR1_EE_Base_1 
-patchedwc 12cR1_EE_PSU4_1 -dbname ORCL
Patched
DB
Database
must be open
Single Cluster Architecture - Database Patching
Rapid Home Provisioning37 09.12.2015
$ rhpctl move database -sourcewc 12cR1_EE_Base_1 -patchedwc 12cR1_EE_PSU4_1 -dbname ORCL
rhpsh02.trivadistraining.com: Starting to move database from
"/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1_EE_Base_1/swhome" to
"/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1_EE_PSU4_1/swhome"
on server cluster
...
SQL Patching tool version 12.1.0.2.0 on Sat Oct 24 17:06:22 2015
...
Adding patches to installation queue and performing prereq checks...done
...
The following patches will be applied:
20831110 (Database Patch Set Update : 12.1.0.2.4 (20831110))
...
Installing patches...
...
rhpsh02.trivadistraining.com: Completed the 'move database' operation on server cluster
Rapid Home Provisioning38 09.12.2015
DEMO?
By Michael Tiemann at en.Wikipedia CC-BY-SA
Rapid Home Provisioning39 09.12.2015
Rapid Home Provisioning
Multi Cluster Architecture
(or when you have a private cloud)
Multi Cluster Architecture - Additional requirements
Rapid Home Provisioning40 09.12.2015
NFS Server and HAVIP
Lifecycle Management Pack Option
Licensed on
all RHP Client
Clusters
Source: https://docs.oracle.com/database/121/DBLIC/editions.htm#DBLIC110
Multi Cluster Architecture - Adding a Client Cluster
Rapid Home Provisioning41 09.12.2015
## SERVER
# srvctl add havip -id rhp -address 192.168.89.202
$ rhpctl add client -client rhpc-cluster -toclientdata
/home/grid
$ scp /home/grid/rhpc-cluster.xml rhpch01:/home/grid
## CLIENT
# srvctl add rhpclient -clientdata /home/grid/rhpc-cluster.xml
# srvctl start rhpclient
# rhpctl query server
Rapid Home Provisioning Server (RHPS): rhps-cluster
Storage base path: /u01/app/12.1.0.2/grid/srvm
Disk Groups: RHP
Port number: 23795
Multi Cluster Architecture - Adding a Client Cluster
Rapid Home Provisioning42 09.12.2015
## SERVER
# srvctl add havip -id rhp -address 192.168.89.202
# rhpctl add client -client rhpc-cluster -toclientdata
/home/grid
# scp /home/grid/rhpc-cluster.xml rhpch01:/home/grid
## CLIENT
# srvctl add rhpclient -clientdata /home/grid/rhpc-cluster.xml
# srvctl start rhpclient
# rhpctl query server
Rapid Home Provisioning Server (RHPS): rhps-cluster
Storage base path: /u01/app/12.1.0.2/grid/srvm
Disk Groups: RHP
Port number: 23795
Multi Cluster Architecture - NFS Provisioning
Rapid Home Provisioning43 09.12.2015
RHP Server Cluster
ASM Volume 1-MGMTDB
RHP
Server
ACFS SnapACFS Mount
Golden
Image
Working
Copy
for NFS
RHP Client Cluster
RHP
Client Node 1
NFS Mount
Node 2
NFS Mount
Multi Cluster Architecture - NFS Provisioning
Rapid Home Provisioning44 09.12.2015
RHP Server Cluster
ASM Volume 1-MGMTDB
RHP
Server
ACFS SnapACFS Mount
Golden
Image
Working
Copy
for NFS
RHP Client Cluster
RHP
Client Node 1
NFS Mount
Node 2
NFS Mount
exportfs
mountfs mountfs
Multi Cluster Architecture - Provisioning via NFS
Rapid Home Provisioning45 09.12.2015
oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc 
-image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 
-oraclebase /u01/app/oracle
rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'...
rhpsh01.trivadistraining.com: Adding storage for working copy ...
rhpsh01.trivadistraining.com: Storing metadata in repository for working copy
"12cR1_EE_PSU4_rhpc" ...
rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4"
...
rhpsh01.trivadistraining.com: Creating snapshot ...
rhpsh01.trivadistraining.com: Adding export file system for image
"12cR1_EE_PSU4_rhpc" ...
...
rhpsh01.trivadistraining.com: Successfully executed attach home operation.
Multi Cluster Architecture - Provisioning via NFS
Rapid Home Provisioning46 09.12.2015
oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc 
-image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 
-oraclebase /u01/app/oracle
rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'...
rhpsh01.trivadistraining.com: Adding storage for working copy ...
rhpsh01.trivadistraining.com: Storing metadata in repository for working copy
"12cR1_EE_PSU4_rhpc" ...
rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4"
...
rhpsh01.trivadistraining.com: Creating snapshot ...
rhpsh01.trivadistraining.com: Adding export file system for image
"12cR1_EE_PSU4_rhpc" ...
...
rhpsh01.trivadistraining.com: Successfully executed attach home operation.
Multi Cluster Architecture - Provisioning via NFS
Rapid Home Provisioning47 09.12.2015
oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc 
-image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 
-oraclebase /u01/app/oracle
rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'...
rhpsh01.trivadistraining.com: Adding storage for working copy ...
rhpsh01.trivadistraining.com: Storing metadata in repository for working copy
"12cR1_EE_PSU4_rhpc" ...
rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4"
...
rhpsh01.trivadistraining.com: Creating snapshot ...
rhpsh01.trivadistraining.com: Adding export file system for image
"12cR1_EE_PSU4_rhpc" ...
...
rhpsh01.trivadistraining.com: Successfully executed attach home operation.
ORACLE_HOME
via NFS. What
can go wrong?
Multi Cluster Architecture - LOCAL Provisioning
Rapid Home Provisioning48 09.12.2015
RHP Server Cluster
ASM Volume 1-MGMTDB
RHP
Server
ACFS Mount
Golden
Image
ACFS Snap
Working
Copy
for Local
Copy
RHP Client Cluster
RHP
Client Node 1 Node 2
Local Copy Local Copy
Multi Cluster Architecture - LOCAL Provisioning
Rapid Home Provisioning49 09.12.2015
RHP Server Cluster
ASM Volume 1-MGMTDB
RHP
Server
ACFS Mount
Golden
Image
ACFS Snap
Working
Copy
for Local
Copy
RHP Client Cluster
RHP
Client Node 1 Node 2
Local Copy Local Copy
local ACFS
or other FS
Multi Cluster Architecture - LOCAL Provisioning
Rapid Home Provisioning50 09.12.2015
oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_c1 
-image 12cR1_EE_PSU4 -storagetype LOCAL -path
/u01/app/oracle/product/12.1.0.2.4/Home_EE_2 -oraclebase /u01/app/oracle
rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'...
rhpsh01.trivadistraining.com: Adding storage for working copy ...
rhpsh01.trivadistraining.com: Creating snapshot ...
rhpsh01.trivadistraining.com: Adding export file system for image "12cR1_EE_PSU4_c1"
...
rhpch02.trivadistraining.com: Mounting file system...
rhpch02.trivadistraining.com: Creating local storage ...
rhpch02.trivadistraining.com: Creating local ACFS file system ...
rhpch02.trivadistraining.com: Starting local ACFS file system ...
rhpch02.trivadistraining.com: Making a local copy ...
...
Multi Cluster Architecture - Mixed Provisioning
Rapid Home Provisioning51 09.12.2015
RHP Server Cluster
ASM Volume 1-MGMTDB
RHP
Server
ACFS SnapACFS Mount
Golden
Image
Working
Copy
for NFS
ACFS Snap
Working
Copy
for Local
Copy
RHP Client Cluster
RHP
Client Node 1
NFS Mount
Node 2
NFS MountLocal Copy Local Copy
Rapid Home Provisioning52 09.12.2015
Rapid Home Provisioning
Repository
RHP Metadata Repository: GHSUSER@-MGMTDB
Rapid Home Provisioning53 09.12.2015
SQL> select table_name from dba_tables where owner='GHSUSER' order by 1;
TABLE_NAME
------------------------------
HOLDER
IMAGE_ROLES
IMGS
IMGSRS
IMGSRS_IMAGES
IMGSRS_USERS
PARENT_CHILD_ROLE
ROLEIMPL_M_PRIVLIST
ROLES
SITES
SWHOMES
USERS
USER_ROLES
WCOPY_ROLES
14 rows selected.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
3 RHPS_CLUSTER READ WRITE NO
RHP Metadata Repository: GHSUSER@-MGMTDB
Rapid Home Provisioning54 09.12.2015
SQL> select table_name from dba_tables where owner='GHSUSER' order by 1;
TABLE_NAME
------------------------------
HOLDER
IMAGE_ROLES
IMGS
IMGSRS
IMGSRS_IMAGES
IMGSRS_USERS
PARENT_CHILD_ROLE
ROLEIMPL_M_PRIVLIST
ROLES
SITES
SWHOMES
USERS
USER_ROLES
WCOPY_ROLES
14 rows selected.
ORACLE says you
don't need to
backup the GIMR.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
3 RHPS_CLUSTER READ WRITE NO
RHP Metadata Repository: GHSUSER@-MGMTDB
Rapid Home Provisioning55 09.12.2015
SQL> select table_name from dba_tables where owner='GHSUSER' order by 1;
TABLE_NAME
------------------------------
HOLDER
IMAGE_ROLES
IMGS
IMGSRS
IMGSRS_IMAGES
IMGSRS_USERS
PARENT_CHILD_ROLE
ROLEIMPL_M_PRIVLIST
ROLES
SITES
SWHOMES
USERS
USER_ROLES
WCOPY_ROLES
14 rows selected.
ORACLE says you
don't need to
backup the GIMR.
If you use RHP, my
recommandation
is to do it!
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
3 RHPS_CLUSTER READ WRITE NO
Rapid Home Provisioning56 09.12.2015
Rapid Home Provisioning
Conclusions
RHP Documentation
Rapid Home Provisioning57 09.12.2015
12c Documentation:
– https://docs.oracle.com/database/121/CWADD/rapidhome.htm#CWADD92402
– https://docs.oracle.com/database/121/RILIN/racrhp.htm
OTN Private Database Cloud Home (whitepaper and video):
– http://www.oracle.com/technetwork/database/database-cloud/private/index.html
Best MOS Note:
– ODA (Oracle Database Appliance): How To Setup a Rapid Home Provisioning
(RHP) Server (Doc ID 2054804.1)
Conclusions
Rapid Home Provisioning58 09.12.2015
Ease of patching
Standardized installations
Free for standalone clusters
Private-Cloud ready
Nice features
Thin documentation
Pricey option for multi-clusters
No GI_HOME Provisioning
It is not free from bugs (not rock-solid)
Embrace it or live without it?
Rapid Home Provisioning59 09.12.2015
What's your question?
Ludovico Caldara
Oracle ACE, Senior Oracle Consultant
Trivadis SA
09.12.2015 Rapid Home Provisioning60

Mais conteúdo relacionado

Mais procurados

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04Carlos Sierra
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
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
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cAlfredo Krieg
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsCarlos Sierra
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
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
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS processRiyaj Shamsudeen
 
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cAlfredo Krieg
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oraclesadegh salehi
 
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Nelson Calero
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recoveryasifmalik110
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 

Mais procurados (20)

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
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
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13c
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
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
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例Zero Data Loss Recovery Appliance 設定手順例
Zero Data Loss Recovery Appliance 設定手順例
 
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 

Destaque

Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Ludovico Caldara
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Ludovico Caldara
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Ludovico Caldara
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewLudovico Caldara
 
Boost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesBoost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesLudovico Caldara
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Ludovico Caldara
 
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesRACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesLudovico Caldara
 
Evolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackEvolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackRyan Richard
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HALudovico Caldara
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerAndrejs Karpovs
 
Oracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksOracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksJeff Smith
 
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
 

Destaque (12)

Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
Oracle RAC, Data Guard, and Pluggable Databases: When MAA Meets Multitenant (...
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
 
Boost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed DatabasesBoost your Oracle RAC manageability with Policy-Managed Databases
Boost your Oracle RAC manageability with Policy-Managed Databases
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databasesRACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
RACAttack 12c Advanced Lab: Server Pools and Policy-managed databases
 
Evolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStackEvolve your toolchains dev/ops with OpenStack
Evolve your toolchains dev/ops with OpenStack
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
 
Oracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksOracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & Tricks
 
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
 

Semelhante a Rapid Home Provisioning

Oracle Rapid Home Provisioning 12.2
Oracle Rapid Home Provisioning 12.2Oracle Rapid Home Provisioning 12.2
Oracle Rapid Home Provisioning 12.2Daniele Massimi
 
Dynamic Hadoop Clusters
Dynamic Hadoop ClustersDynamic Hadoop Clusters
Dynamic Hadoop ClustersSteve Loughran
 
New in Oracle Universal Installer (OUI)
New in Oracle Universal Installer (OUI) New in Oracle Universal Installer (OUI)
New in Oracle Universal Installer (OUI) Markus Michalewicz
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionLudovico Caldara
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
OpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooOpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooinovex GmbH
 
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
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsNelson Calero
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...Ludovico Caldara
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environmentsinovex GmbH
 
SAOUG 2018 - Rapid Home Provisioning
SAOUG 2018 - Rapid Home ProvisioningSAOUG 2018 - Rapid Home Provisioning
SAOUG 2018 - Rapid Home ProvisioningIan Baugaard
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareNikhil Kumar
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Paulo Gomes
 
Docker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker, Inc.
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Toronto-Oracle-Users-Group
 
OSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdfOSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdfnitinscribd
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...Frederic Descamps
 
Oracle 11g to 12c Upgrade With Data Guard and ASM
Oracle 11g to 12c  Upgrade With Data Guard and ASMOracle 11g to 12c  Upgrade With Data Guard and ASM
Oracle 11g to 12c Upgrade With Data Guard and ASMArun Sharma
 

Semelhante a Rapid Home Provisioning (20)

Oracle Rapid Home Provisioning 12.2
Oracle Rapid Home Provisioning 12.2Oracle Rapid Home Provisioning 12.2
Oracle Rapid Home Provisioning 12.2
 
Dynamic Hadoop Clusters
Dynamic Hadoop ClustersDynamic Hadoop Clusters
Dynamic Hadoop Clusters
 
New in Oracle Universal Installer (OUI)
New in Oracle Universal Installer (OUI) New in Oracle Universal Installer (OUI)
New in Oracle Universal Installer (OUI)
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
ZDLRA in Action
ZDLRA in ActionZDLRA in Action
ZDLRA in Action
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
OpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooOpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, too
 
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
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environments
 
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
How to bake a Customer Story with With Windows, NVM-e, Data Guard, ACFS Snaps...
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environments
 
SAOUG 2018 - Rapid Home Provisioning
SAOUG 2018 - Rapid Home ProvisioningSAOUG 2018 - Rapid Home Provisioning
SAOUG 2018 - Rapid Home Provisioning
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 ClusterwareUpgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)
 
Docker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in Production
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
 
OSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdfOSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdf
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
 
Oracle 11g to 12c Upgrade With Data Guard and ASM
Oracle 11g to 12c  Upgrade With Data Guard and ASMOracle 11g to 12c  Upgrade With Data Guard and ASM
Oracle 11g to 12c Upgrade With Data Guard and ASM
 

Mais de Ludovico Caldara

Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityLudovico Caldara
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Ludovico Caldara
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18Ludovico Caldara
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraLudovico Caldara
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Ludovico Caldara
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBLudovico Caldara
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Ludovico Caldara
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Ludovico Caldara
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Ludovico Caldara
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Ludovico Caldara
 

Mais de Ludovico Caldara (12)

Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
 
Let your DBAs get some REST(api)
Let your DBAs get some REST(api)Let your DBAs get some REST(api)
Let your DBAs get some REST(api)
 
Effective Oracle Home Management - UKOUG_Tech18
Effective Oracle Home Management  - UKOUG_Tech18Effective Oracle Home Management  - UKOUG_Tech18
Effective Oracle Home Management - UKOUG_Tech18
 
Effective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model eraEffective Oracle Home Management in the new Release Model era
Effective Oracle Home Management in the new Release Model era
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
 
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMBADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
ADAPTIVE FEATURES OR: HOW I LEARNED TO STOP WORRYING AND TROUBLESHOOT THE BOMB
 
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
Adaptive Features or: How I Learned to Stop Worrying and Troubleshoot the Bomb.
 
Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)Database Migration Assistant for Unicode (DMU)
Database Migration Assistant for Unicode (DMU)
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 

Último

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Rapid Home Provisioning

  • 1. BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Rapid Home Provisioning A new Oracle Grid Infrastructure 12.1.0.2 feature Ludovico Caldara Oracle ACE, Senior Oracle Consultant Trivadis SA
  • 2. About Ludovico Caldara Rapid Home Provisioning2 09.12.2015 ■ 16 Years DBA (Not Only Oracle) ▪ I do it everywhere (even Windows) ■ RAC ATTACK Ninja & co-writer ■ VP, SOUG & ITOUG Board member ■ OCP (11g, 12c, MySQL) & OCE ■ Italian living in Switzerland ■ http://www.ludovicocaldara.net ■ @ludodba ■ ludovicocaldara
  • 3. Our company. Rapid Home Provisioning3 09.12.2015 Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany, Austria and Denmark. We offer our services in the following strategic business fields: Trivadis Services takes over the interactive operation of your IT systems. O P E R A T I O N
  • 4. COPENHAGEN MUNICH LAUSANNE BERN ZURICH BRUGG GENEVA HAMBURG DÜSSELDORF FRANKFURT STUTTGART FREIBURG BASEL VIENNA With over 600 specialists and IT experts in your region. Rapid Home Provisioning4 09.12.2015 14 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants Research and development budget: CHF 5.0 / EUR 4 million Financially self-supporting and sustainably profitable Experience from more than 1,900 projects per year at over 800 customers
  • 5. Rapid Home Provisioning5 09.12.2015 Patching, Patching, Patching (or how I will NOT apply PSUs every quarter)
  • 6. Patching, Patching, Patching Rapid Home Provisioning6 09.12.2015 (Original: https://xkcd.com/838/ )
  • 7. Patching, worst way Rapid Home Provisioning7 09.12.2015 1. Stop everything 2. In-place binaries patching 3. Database patching, "big bang" mode 4. Start everything
  • 8. Patching, worst way Rapid Home Provisioning8 09.12.2015 1. Stop everything 2. In-place binaries patching 3. Database patching, "big bang" mode 4. Start everything Problem: you seriously need a check-up of your operational practices
  • 9. Patching, better way Rapid Home Provisioning9 09.12.2015 1. Re-install binaries, out-of-place binaries patching 2. Stop databases, one by one 3. Move to new ORACLE_HOME, patch one by one 4. Decommission old binaries
  • 10. Patching, better way Rapid Home Provisioning10 09.12.2015 1. Re-install binaries, out-of-place binaries patching 2. Stop databases, one by one 3. Move to new ORACLE_HOME, patch one by one 4. Decommission old binaries Problem: what if you have many servers/environments and patch frequently?
  • 11. Patching, best way (so far) Rapid Home Provisioning11 09.12.2015 1. Install binaries somewhere 2. Detach and patch them 3. Keep them as golden images somewhere 4. Deploy them on the servers somehow, attach them 5. Stop databases, one by one 6. Move to new ORACLE_HOME, patch one by one 7. Decommission old binaries
  • 12. Patching, best way (so far) Rapid Home Provisioning12 09.12.2015 1. Install binaries somewhere 2. Detach and patch them 3. Keep them as golden images somewhere 4. Deploy them on the servers somehow, attach them 5. Stop databases, one by one 6. Move to new ORACLE_HOME, patch one by one 7. Decommission old binaries Flexible? YES!
  • 13. Patching, best way (so far) Rapid Home Provisioning13 09.12.2015 1. Install binaries somewhere 2. Detach and patch them 3. Keep them as golden images somewhere 4. Deploy them on the servers somehow, attach them 5. Stop databases, one by one 6. Move to new ORACLE_HOME, patch one by one 7. Decommission old binaries Flexible? YES! Easy? NO!
  • 14. Rapid Home Provisioning14 09.12.2015 Rapid Home Provisioning What is it?
  • 15. Rapid Home Provisioning is... Rapid Home Provisioning15 09.12.2015 Usage: srvctl ... asm Usage: srvctl ... cvu Usage: srvctl ... database Usage: srvctl ... diskgroup Usage: srvctl ... exportfs Usage: srvctl ... filesystem Usage: srvctl ... gns Usage: srvctl ... havip Usage: srvctl ... home Usage: srvctl ... instance Usage: srvctl ... listener Usage: srvctl ... mgmtdb Usage: srvctl ... mgmtlsnr Usage: srvctl ... mountfs Usage: srvctl ... network Usage: srvctl ... nodeapps Usage: srvctl ... oc4j Usage: srvctl ... rhpclient Usage: srvctl ... rhpserver Usage: srvctl ... scan Usage: srvctl ... scan_listener Usage: srvctl ... server Usage: srvctl ... service Usage: srvctl ... srvpool Usage: srvctl ... vip Usage: srvctl ... volume grid$ srvctl -help | grep Usage: | awk '{printf ("%s %s ... %sn", $1, $2, $4)}' | sort | uniq Something that messes my srvctl help!
  • 16. Rapid Home Provisioning is... Rapid Home Provisioning16 09.12.2015 Usage: rhpctl ... client Usage: rhpctl ... database Usage: rhpctl ... image Usage: rhpctl ... role Usage: rhpctl ... series Usage: rhpctl ... server Usage: rhpctl ... user Usage: rhpctl ... workingcopy grid$ rhpctl -help | grep Usage: | awk '{printf ("%s %s ... %sn", $1, $2, $4)}' | sort |uniq It has its own rhpctl command too! This is how you administer it.
  • 17. Rapid Home Provisioning - the idea Rapid Home Provisioning17 09.12.2015 DF OH_1 OH_2 OH_3 RHP SERVER -MGMTDB RHP CLIENT RHP CLIENT RHP CLIENT RHP CLIENT RHP CLIENT RHP CLIENT RHP CLIENT RHP CLIENT GOLDEN IMAGE DB WORKING COPY
  • 18. Rapid Home Provisioning is a tool for... Rapid Home Provisioning18 09.12.2015 Provisioning and patching – Oracle Homes – other Software Simplifying software deployment Patching Databases (Mass patching possible) Centralizing Golden Images Ensuring standardization within the enterprise
  • 19. Rapid Home Provisioning has mandatory requirements Rapid Home Provisioning19 09.12.2015 Oracle Grid Infrastructure release 12.1.0.2 or upwards (use the last PSU) ASM Cluster File System (ACFS) Oracle Grid Infrastructure Global Naming Services (GNS) NFS Server and HAVIP (optional*) Lifecycle Management Pack Option (optional*) * how optional is optional? We will see in the next episode (coming soon)
  • 20. Rapid Home Provisioning has also limitations! Rapid Home Provisioning20 09.12.2015 The main ones: Not available on Windows Cannot upgrade from a release to another (planned in 12.2) Cannot provision Grid Infrastructure Homes (not yet, maybe 12.2?) – Bug 19596245 : IMPLEMENT GRID INFRASTRUCTURE SUPPORT IN RAPID HOME PROVISIONING Cannot provision OS Images or VMs, not in the scope of the tool
  • 21. Rapid Home Provisioning - Security Roles Rapid Home Provisioning21 09.12.2015 Several roles -> specific permissions on Working Copies and and Golden Images But basically three composite roles: – GH_SA : RHP Server administrator – GH_CA : RHP Client administrator – GH_OPER : for generic administration
  • 22. Rapid Home Provisioning22 09.12.2015 Rapid Home Provisioning Single Cluster Architecture (or when you have only one cluster)
  • 23. Single Cluster Architecture - Setup Rapid Home Provisioning23 09.12.2015 RHP Server Cluster ASM RHP DG-MGMTDB
  • 24. Single Cluster Architecture - Setup Rapid Home Provisioning24 09.12.2015 RHP Server Cluster ASM RHP DG-MGMTDB Existing OraHome 1
  • 25. Single Cluster Architecture - Setup Rapid Home Provisioning25 09.12.2015 RHP Server Cluster ASM RHP DG-MGMTDB RHP Server Existing OraHome 1 # srvctl add rhpserver -storage /my/path/to/rhp/ -diskgroup RHP # srvctl start rhpserver new resource ora.ghs is created ASM DG must exist, ADVM Compatible >= 12.1.0.0
  • 26. Single Cluster Architecture - Adding Images Rapid Home Provisioning26 09.12.2015 RHP Server Cluster ASM RHP DG-MGMTDB RHP Server Existing OraHome ACFS Mount Base Golden Image grid $ rhpctl grant role -role GH_CA -user oracle -client rhps-cluster oracle $ rhpctl import image -image 12cR1_EE_Base -path $OH -imagetype ORACLEDBSOFTWARE
  • 27. Getting Golden Image details Rapid Home Provisioning27 09.12.2015 grid $ rhpctl query image -image 12cR1_EE_Base Image name: 12cR1_EE_Base Owner: grid@rhps-cluster Site: rhps-cluster Access control: USER:oracle@rhps-cluster Access control: ROLE:OTHER ... Parent Image: Image Type: ORACLEDBSOFTWARE Image Version: 12.1.0.2.0 Software home path: /u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/swhome Image state: PUBLISHED Image size: 5332MB Image platform: Linux_AMD64 Interim patches installed: Complete: TRUE
  • 28. Single Cluster Architecture - Adding Working Copies Rapid Home Provisioning28 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server Existing OraHome 1 ACFS Mount Base Golden Image no more needed oracle $ rhpctl add workingcopy -workingcopy 12cR1_EE_Base_1 -image 12cR1_EE_Base -oraclebase /u01/app/oracle ACFS Snap Base Working Copy
  • 29. Getting Working Copy details Rapid Home Provisioning29 09.12.2015 oracle $ rhpctl query workingcopy -workingcopy 12cR1_EE_Base_1 Working copy name: 12cR1_EE_Base_1 Image name: 12cR1_EE_Base Owner: oracle@rhps-cluster Site: rhps-cluster Access control: USER:oracle@rhps-cluster Access control: ROLE:GH_WC_ADMIN Software home path: /u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1 _EE_Base_1/swhome Oracle base: /u01/app/oracle Storage type: RHP Managed Configured databases: Interim patches installed: Complete: TRUE YOUR ORACLE_HOME ON RHP SERVER
  • 30. Single Cluster Architecture - Using Working Copies Rapid Home Provisioning30 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Base Working Copy DB You can use the working copy as ORACLE_HOME for databases $ rhpctl add database -workingcopy 12cR1_EE_base_1 -dbname ORCL -datafileDestination DATA -dbtemplate General_Purpose.dbc ... or ...
  • 31. Single Cluster Architecture - Patching Working Copies Rapid Home Provisioning31 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Patched Working Copy oracle $ cd PSUx/patchnumber oracle $ opatch apply
  • 32. Single Cluster Architecture - Patching Working Copies Rapid Home Provisioning32 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Patched Working Copy oracle $ cd PSUx/patchnumber oracle $ opatch apply oracle $ rhpctl add image –image 12cR1_EE_PSUx -workingcopy 12cR1_EE_Base_1 ACFS Snap Patched Golden Image
  • 33. Single Cluster Architecture - Patching Working Copies Rapid Home Provisioning33 09.12.2015 $ rhpctl add image -image 12cR1_EE_PSU4 -workingcopy 12cR1_EE_PSU4_1 rhpsh02.trivadistraining.com: Finding ACFS of previous image "12cR1_EE_Base" ... rhpsh02.trivadistraining.com: Creating snapshot for image "12cR1_EE_PSU4" from working copy "12cR1_EE_PSU4_1" ... rhpsh02.trivadistraining.com: Changing the home ownership ... $
  • 34. Single Cluster Architecture - Images and Working Copies Rapid Home Provisioning34 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Patched Golden Image You can have as many Images and Working copies as you need. ACFS Snap Patched Working Copy ACFS Snap Base Working Copy $ rhpctl query workingcopy Working copy name: 12cR1_EE_Base_1 Working copy name: 12cR1_EE_PSU4_1 Working copy name: 12cR1_EE_PSU4_2 $ rhpctl query image Image name: 12cR1_EE_PSU4 Image name: 12cR1_EE_Base ACFS Snap Patched Working Copy
  • 35. Single Cluster Architecture - Database Patching Rapid Home Provisioning35 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Patched Golden Image ACFS Snap Patched Working Copy ACFS Snap Base Working Copy Unpatched DB Database patching is dead simple!
  • 36. Single Cluster Architecture - Database Patching Rapid Home Provisioning36 09.12.2015 RHP Server Cluster ASM DG-MGMTDB RHP Server ACFS Mount Base Golden Image ACFS Snap Patched Golden Image ACFS Snap Patched Working Copy ACFS Snap Base Working Copy Unpatched DB Database patching is dead simple! $ rhpctl move database -sourcewc 12cR1_EE_Base_1 -patchedwc 12cR1_EE_PSU4_1 -dbname ORCL Patched DB Database must be open
  • 37. Single Cluster Architecture - Database Patching Rapid Home Provisioning37 09.12.2015 $ rhpctl move database -sourcewc 12cR1_EE_Base_1 -patchedwc 12cR1_EE_PSU4_1 -dbname ORCL rhpsh02.trivadistraining.com: Starting to move database from "/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1_EE_Base_1/swhome" to "/u01/app/12.1.0.2/grid/srvm/images/i12cR1_EE_Base296880/.ACFS/snaps/w12cR1_EE_PSU4_1/swhome" on server cluster ... SQL Patching tool version 12.1.0.2.0 on Sat Oct 24 17:06:22 2015 ... Adding patches to installation queue and performing prereq checks...done ... The following patches will be applied: 20831110 (Database Patch Set Update : 12.1.0.2.4 (20831110)) ... Installing patches... ... rhpsh02.trivadistraining.com: Completed the 'move database' operation on server cluster
  • 38. Rapid Home Provisioning38 09.12.2015 DEMO? By Michael Tiemann at en.Wikipedia CC-BY-SA
  • 39. Rapid Home Provisioning39 09.12.2015 Rapid Home Provisioning Multi Cluster Architecture (or when you have a private cloud)
  • 40. Multi Cluster Architecture - Additional requirements Rapid Home Provisioning40 09.12.2015 NFS Server and HAVIP Lifecycle Management Pack Option Licensed on all RHP Client Clusters Source: https://docs.oracle.com/database/121/DBLIC/editions.htm#DBLIC110
  • 41. Multi Cluster Architecture - Adding a Client Cluster Rapid Home Provisioning41 09.12.2015 ## SERVER # srvctl add havip -id rhp -address 192.168.89.202 $ rhpctl add client -client rhpc-cluster -toclientdata /home/grid $ scp /home/grid/rhpc-cluster.xml rhpch01:/home/grid ## CLIENT # srvctl add rhpclient -clientdata /home/grid/rhpc-cluster.xml # srvctl start rhpclient # rhpctl query server Rapid Home Provisioning Server (RHPS): rhps-cluster Storage base path: /u01/app/12.1.0.2/grid/srvm Disk Groups: RHP Port number: 23795
  • 42. Multi Cluster Architecture - Adding a Client Cluster Rapid Home Provisioning42 09.12.2015 ## SERVER # srvctl add havip -id rhp -address 192.168.89.202 # rhpctl add client -client rhpc-cluster -toclientdata /home/grid # scp /home/grid/rhpc-cluster.xml rhpch01:/home/grid ## CLIENT # srvctl add rhpclient -clientdata /home/grid/rhpc-cluster.xml # srvctl start rhpclient # rhpctl query server Rapid Home Provisioning Server (RHPS): rhps-cluster Storage base path: /u01/app/12.1.0.2/grid/srvm Disk Groups: RHP Port number: 23795
  • 43. Multi Cluster Architecture - NFS Provisioning Rapid Home Provisioning43 09.12.2015 RHP Server Cluster ASM Volume 1-MGMTDB RHP Server ACFS SnapACFS Mount Golden Image Working Copy for NFS RHP Client Cluster RHP Client Node 1 NFS Mount Node 2 NFS Mount
  • 44. Multi Cluster Architecture - NFS Provisioning Rapid Home Provisioning44 09.12.2015 RHP Server Cluster ASM Volume 1-MGMTDB RHP Server ACFS SnapACFS Mount Golden Image Working Copy for NFS RHP Client Cluster RHP Client Node 1 NFS Mount Node 2 NFS Mount exportfs mountfs mountfs
  • 45. Multi Cluster Architecture - Provisioning via NFS Rapid Home Provisioning45 09.12.2015 oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc -image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 -oraclebase /u01/app/oracle rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'... rhpsh01.trivadistraining.com: Adding storage for working copy ... rhpsh01.trivadistraining.com: Storing metadata in repository for working copy "12cR1_EE_PSU4_rhpc" ... rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4" ... rhpsh01.trivadistraining.com: Creating snapshot ... rhpsh01.trivadistraining.com: Adding export file system for image "12cR1_EE_PSU4_rhpc" ... ... rhpsh01.trivadistraining.com: Successfully executed attach home operation.
  • 46. Multi Cluster Architecture - Provisioning via NFS Rapid Home Provisioning46 09.12.2015 oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc -image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 -oraclebase /u01/app/oracle rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'... rhpsh01.trivadistraining.com: Adding storage for working copy ... rhpsh01.trivadistraining.com: Storing metadata in repository for working copy "12cR1_EE_PSU4_rhpc" ... rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4" ... rhpsh01.trivadistraining.com: Creating snapshot ... rhpsh01.trivadistraining.com: Adding export file system for image "12cR1_EE_PSU4_rhpc" ... ... rhpsh01.trivadistraining.com: Successfully executed attach home operation.
  • 47. Multi Cluster Architecture - Provisioning via NFS Rapid Home Provisioning47 09.12.2015 oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_rhpc -image 12cR1_EE_PSU4 -storagetype NFS -path /u01/app/oracle/product/12.1.0.2.4 -oraclebase /u01/app/oracle rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'... rhpsh01.trivadistraining.com: Adding storage for working copy ... rhpsh01.trivadistraining.com: Storing metadata in repository for working copy "12cR1_EE_PSU4_rhpc" ... rhpsh01.trivadistraining.com: Finding ACFS file system of the image "12cR1_EE_PSU4" ... rhpsh01.trivadistraining.com: Creating snapshot ... rhpsh01.trivadistraining.com: Adding export file system for image "12cR1_EE_PSU4_rhpc" ... ... rhpsh01.trivadistraining.com: Successfully executed attach home operation. ORACLE_HOME via NFS. What can go wrong?
  • 48. Multi Cluster Architecture - LOCAL Provisioning Rapid Home Provisioning48 09.12.2015 RHP Server Cluster ASM Volume 1-MGMTDB RHP Server ACFS Mount Golden Image ACFS Snap Working Copy for Local Copy RHP Client Cluster RHP Client Node 1 Node 2 Local Copy Local Copy
  • 49. Multi Cluster Architecture - LOCAL Provisioning Rapid Home Provisioning49 09.12.2015 RHP Server Cluster ASM Volume 1-MGMTDB RHP Server ACFS Mount Golden Image ACFS Snap Working Copy for Local Copy RHP Client Cluster RHP Client Node 1 Node 2 Local Copy Local Copy local ACFS or other FS
  • 50. Multi Cluster Architecture - LOCAL Provisioning Rapid Home Provisioning50 09.12.2015 oracle@rhpc $ rhpctl add workingcopy -workingcopy 12cR1_EE_PSU4_c1 -image 12cR1_EE_PSU4 -storagetype LOCAL -path /u01/app/oracle/product/12.1.0.2.4/Home_EE_2 -oraclebase /u01/app/oracle rhpch02.trivadistraining.com: Starting server-side action for 'add workingcopy'... rhpsh01.trivadistraining.com: Adding storage for working copy ... rhpsh01.trivadistraining.com: Creating snapshot ... rhpsh01.trivadistraining.com: Adding export file system for image "12cR1_EE_PSU4_c1" ... rhpch02.trivadistraining.com: Mounting file system... rhpch02.trivadistraining.com: Creating local storage ... rhpch02.trivadistraining.com: Creating local ACFS file system ... rhpch02.trivadistraining.com: Starting local ACFS file system ... rhpch02.trivadistraining.com: Making a local copy ... ...
  • 51. Multi Cluster Architecture - Mixed Provisioning Rapid Home Provisioning51 09.12.2015 RHP Server Cluster ASM Volume 1-MGMTDB RHP Server ACFS SnapACFS Mount Golden Image Working Copy for NFS ACFS Snap Working Copy for Local Copy RHP Client Cluster RHP Client Node 1 NFS Mount Node 2 NFS MountLocal Copy Local Copy
  • 52. Rapid Home Provisioning52 09.12.2015 Rapid Home Provisioning Repository
  • 53. RHP Metadata Repository: GHSUSER@-MGMTDB Rapid Home Provisioning53 09.12.2015 SQL> select table_name from dba_tables where owner='GHSUSER' order by 1; TABLE_NAME ------------------------------ HOLDER IMAGE_ROLES IMGS IMGSRS IMGSRS_IMAGES IMGSRS_USERS PARENT_CHILD_ROLE ROLEIMPL_M_PRIVLIST ROLES SITES SWHOMES USERS USER_ROLES WCOPY_ROLES 14 rows selected. SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 3 RHPS_CLUSTER READ WRITE NO
  • 54. RHP Metadata Repository: GHSUSER@-MGMTDB Rapid Home Provisioning54 09.12.2015 SQL> select table_name from dba_tables where owner='GHSUSER' order by 1; TABLE_NAME ------------------------------ HOLDER IMAGE_ROLES IMGS IMGSRS IMGSRS_IMAGES IMGSRS_USERS PARENT_CHILD_ROLE ROLEIMPL_M_PRIVLIST ROLES SITES SWHOMES USERS USER_ROLES WCOPY_ROLES 14 rows selected. ORACLE says you don't need to backup the GIMR. SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 3 RHPS_CLUSTER READ WRITE NO
  • 55. RHP Metadata Repository: GHSUSER@-MGMTDB Rapid Home Provisioning55 09.12.2015 SQL> select table_name from dba_tables where owner='GHSUSER' order by 1; TABLE_NAME ------------------------------ HOLDER IMAGE_ROLES IMGS IMGSRS IMGSRS_IMAGES IMGSRS_USERS PARENT_CHILD_ROLE ROLEIMPL_M_PRIVLIST ROLES SITES SWHOMES USERS USER_ROLES WCOPY_ROLES 14 rows selected. ORACLE says you don't need to backup the GIMR. If you use RHP, my recommandation is to do it! SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 3 RHPS_CLUSTER READ WRITE NO
  • 56. Rapid Home Provisioning56 09.12.2015 Rapid Home Provisioning Conclusions
  • 57. RHP Documentation Rapid Home Provisioning57 09.12.2015 12c Documentation: – https://docs.oracle.com/database/121/CWADD/rapidhome.htm#CWADD92402 – https://docs.oracle.com/database/121/RILIN/racrhp.htm OTN Private Database Cloud Home (whitepaper and video): – http://www.oracle.com/technetwork/database/database-cloud/private/index.html Best MOS Note: – ODA (Oracle Database Appliance): How To Setup a Rapid Home Provisioning (RHP) Server (Doc ID 2054804.1)
  • 58. Conclusions Rapid Home Provisioning58 09.12.2015 Ease of patching Standardized installations Free for standalone clusters Private-Cloud ready Nice features Thin documentation Pricey option for multi-clusters No GI_HOME Provisioning It is not free from bugs (not rock-solid)
  • 59. Embrace it or live without it? Rapid Home Provisioning59 09.12.2015
  • 60. What's your question? Ludovico Caldara Oracle ACE, Senior Oracle Consultant Trivadis SA 09.12.2015 Rapid Home Provisioning60