SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

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
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cGlen Hawkins
 
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
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Nelson Calero
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
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
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerAndrejs Karpovs
 
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
 
しばちょう先生による特別講義! RMANバックアップの運用と高速化チューニング
しばちょう先生による特別講義! RMANバックアップの運用と高速化チューニングしばちょう先生による特別講義! RMANバックアップの運用と高速化チューニング
しばちょう先生による特別講義! 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...Sandesh Rao
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
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
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 

Tendances (20)

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
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 
Oracle Database Vault
Oracle Database VaultOracle Database Vault
Oracle Database Vault
 
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 ...
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
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
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
 
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
 
しばちょう先生による特別講義! RMANバックアップの運用と高速化チューニング
しばちょう先生による特別講義! RMANバックアップの運用と高速化チューニングしばちょう先生による特別講義! RMANバックアップの運用と高速化チューニング
しばちょう先生による特別講義! RMANバックアップの運用と高速化チューニング
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
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...
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
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)
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 

En vedette

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
 
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
 
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
 
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
 

En vedette (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
 
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
 
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
 
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
 

Similaire à 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
 
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
 
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
 

Similaire à 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
 
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...
 
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-...
 

Plus 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
 

Plus 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...
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

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