Você está na página 1de 60

Rapid Home Provisioning

A new Oracle Grid Infrastructure 12.1.0.2 feature


Ludovico Caldara
Oracle ACE, Senior Oracle Consultant
Trivadis SA

BASEL BERN BRUGG DSSELDORF


HAMBURG COPENHAGEN LAUSANNE

FRANKFURT A.M. FREIBURG I.BR. GENEVA


MUNICH STUTTGART VIENNA ZURICH

About Ludovico Caldara

16 Years DBA (Not Only Oracle)

I do it everywhere (even Windows)

RAC ATTACK Ninja & co-writer

09.12.2015

Rapid Home Provisioning

VP, SOUG & ITOUG Board member

OCP (11g, 12c, MySQL) & OCE

Italian living in Switzerland

http://www.ludovicocaldara.net

@ludodba

ludovicocaldara

Our company.
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:

OPERATION
Trivadis Services takes over the interactive operation of your IT systems.

09.12.2015

Rapid Home Provisioning

With over 600 specialists and IT experts in your region.


COPENHAGEN

14 Trivadis branches and more than


600 employees
HAMBURG

200 Service Level Agreements


Over 4,000 training participants

Research and development budget:


CHF 5.0 / EUR 4 million

DSSELDORF

Financially self-supporting and


sustainably profitable

FRANKFURT

STUTTGART
FREIBURG

MUNICH

BRUGG
BASEL
GENEVA

ZURICH

BERN
LAUSANNE

09.12.2015

Rapid Home Provisioning

VIENNA

Experience from more than 1,900


projects per year at over 800
customers

Patching, Patching, Patching


(or how I will NOT apply PSUs every quarter)

09.12.2015

Rapid Home Provisioning

Patching, Patching, Patching

(Original: https://xkcd.com/838/ )

09.12.2015

Rapid Home Provisioning

Patching, worst way


1. Stop everything
2. In-place binaries patching
3. Database patching, "big bang" mode
4. Start everything

09.12.2015

Rapid Home Provisioning

Patching, worst way


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

09.12.2015

Rapid Home Provisioning

Patching, better way


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

09.12.2015

Rapid Home Provisioning

Patching, better way


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?

10

09.12.2015

Rapid Home Provisioning

Patching, best way (so far)


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

11

09.12.2015

Rapid Home Provisioning

Patching, best way (so far)


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

09.12.2015

Rapid Home Provisioning

Flexible?
YES!

Patching, best way (so far)


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

13

09.12.2015

Rapid Home Provisioning

Flexible?
YES!
Easy?
NO!

Rapid Home Provisioning


What is it?

14

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning is...


grid$ srvctl -help | grep Usage: | awk '{printf ("%s %s ... %s\n", $1, $2, $4)}' | sort | uniq
Usage: srvctl ... asm
Usage: srvctl ... mountfs
Usage: srvctl ... cvu
Usage: srvctl ... network
Usage: srvctl ... database
Usage: srvctl ... nodeapps
Usage: srvctl ... diskgroup
Usage: srvctl ... oc4j
Usage: srvctl ... exportfs
Usage: srvctl ... rhpclient
Usage: srvctl ... filesystem
Usage: srvctl ... rhpserver
Usage: srvctl ... gns
Usage: srvctl ... scan
Usage: srvctl ... havip
Usage: srvctl ... scan_listener
Usage: srvctl ... home
Usage: srvctl ... server
Usage: srvctl ... instance
Usage: srvctl ... service
Usage: srvctl ... listener
Usage: srvctl ... srvpool
Usage: srvctl ... mgmtdb
Usage: srvctl ... vip
Usage: srvctl ... mgmtlsnr
Usage: srvctl ... volume

Something that messes my srvctl help!


15

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning is...


grid$ rhpctl -help | grep Usage: | awk '{printf ("%s %s ... %s\n", $1, $2, $4)}' | sort |uniq
Usage: rhpctl ... client
Usage: rhpctl ... database
Usage: rhpctl ... image
Usage: rhpctl ... role
Usage: rhpctl ... series
Usage: rhpctl ... server
Usage: rhpctl ... user
Usage: rhpctl ... workingcopy

It has its own rhpctl command too! This is how you administer it.

16

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning - the idea

WORKING
COPY
RHP CLIENT

RHP CLIENT

DF

DB

GOLDEN
IMAGE
RHP CLIENT

RHP CLIENT
RHP SERVER
OH_1

OH_2

OH_3

-MGMTDB
RHP CLIENT

RHP CLIENT

RHP CLIENT
17

09.12.2015

Rapid Home Provisioning

RHP CLIENT

Rapid Home Provisioning is a tool for...


Provisioning and patching
Oracle Homes
other Software
Simplifying software deployment
Patching Databases (Mass patching possible)

Centralizing Golden Images


Ensuring standardization within the enterprise

18

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning has mandatory requirements


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)

19

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning has also limitations!


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

20

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning - Security Roles


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

21

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning


Single Cluster Architecture

(or when you have only one cluster)

22

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Setup

-MGMTDB

ASM RHP DG
RHP Server Cluster

23

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Setup

Existing
OraHome
1
-MGMTDB

ASM RHP DG
RHP Server Cluster

24

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Setup


# srvctl add rhpserver -storage /my/path/to/rhp/ -diskgroup RHP
# srvctl start rhpserver
new resource ora.ghs is created
RHP
Server

ASM DG must exist,


ADVM Compatible >= 12.1.0.0

-MGMTDB

ASM RHP DG
RHP Server Cluster

25

09.12.2015

Rapid Home Provisioning

Existing
OraHome
1

Single Cluster Architecture - Adding Images


grid $ rhpctl grant role -role GH_CA -user oracle -client rhps-cluster
oracle $ rhpctl import image -image 12cR1_EE_Base \
-path $OH -imagetype ORACLEDBSOFTWARE

RHP
Server

Base
Golden
Image

Existing
OraHome

ACFS Mount
-MGMTDB

ASM RHP DG
RHP Server Cluster

26

09.12.2015

Rapid Home Provisioning

Getting Golden Image details


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
27

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Adding Working Copies


oracle $ rhpctl add workingcopy -workingcopy 12cR1_EE_Base_1 \
-image 12cR1_EE_Base -oraclebase /u01/app/oracle

RHP
Server

no more needed
Base
Golden
Image

Base
Working
Copy

ACFS Mount

ACFS Snap

-MGMTDB

ASM DG
RHP Server Cluster

28

09.12.2015

Rapid Home Provisioning

Existing
OraHome
1

Getting Working Copy details


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
YOUR ORACLE_HOME
Site: rhps-cluster
ON RHP SERVER
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
29

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Using Working Copies


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 ...
RHP
Server

Base
Golden
Image
ACFS Mount

-MGMTDB

Base
Working
Copy
DB
ACFS Snap
ASM DG
RHP Server Cluster

30

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Patching Working Copies


oracle $ cd PSUx/patchnumber
oracle $ opatch apply

RHP
Server

Base
Golden
Image

Patched
Working
Copy

ACFS Mount

ACFS Snap

-MGMTDB

ASM DG
RHP Server Cluster

31

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Patching Working Copies


oracle $ cd PSUx/patchnumber
oracle $ opatch apply
oracle $ rhpctl add image image 12cR1_EE_PSUx \
-workingcopy 12cR1_EE_Base_1
RHP
Server

Base
Golden
Image

Patched
Working
Copy

Patched
Golden
Image

ACFS Mount

ACFS Snap

ACFS Snap

-MGMTDB

ASM DG
RHP Server Cluster

32

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Patching Working Copies


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

33

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Images and Working Copies


You can have as many Images and Working copies as you need.
$ rhpctl query workingcopy
Working copy name: 12cR1_EE_Base_1
Working copy name: 12cR1_EE_PSU4_1
Working copy name: 12cR1_EE_PSU4_2
RHP
Server

$ rhpctl query image


Image name: 12cR1_EE_PSU4
Image name: 12cR1_EE_Base

Base
Golden
Image

Base
Working
Copy

Patched
Golden
Image

Patched
Working
Copy

Patched
Working
Copy

ACFS Mount

ACFS Snap

ACFS Snap

ACFS Snap

ACFS Snap

-MGMTDB

ASM DG
RHP Server Cluster

34

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Database Patching


Database patching is dead simple!

RHP
Server

Base
Golden
Image

Base
Working
Copy

Patched
Golden
Image

Patched
Working
Copy

ACFS Mount

Unpatched
ACFS
DBSnap

ACFS Snap

ACFS Snap

-MGMTDB

ASM DG

RHP Server Cluster

35

09.12.2015

Rapid Home Provisioning

Single Cluster Architecture - Database Patching


Database patching is dead simple!
$ rhpctl move database -sourcewc 12cR1_EE_Base_1 \
-patchedwc 12cR1_EE_PSU4_1 -dbname ORCL

RHP
Server

Base
Golden
Image
ACFS Mount

-MGMTDB

Base
Working
Copy
Unpatched
ACFS
DBSnap

Patched
Golden
Image

Patched
Working
Copy

ACFS Snap

Patched
ACFS
Snap
DB

ASM DG

RHP Server Cluster

36

09.12.2015

Rapid Home Provisioning

Database
must be open

Single Cluster Architecture - Database Patching


$ 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

37

09.12.2015

Rapid Home Provisioning

DEMO?

By Michael Tiemann at en.Wikipedia CC-BY-SA

38

09.12.2015

Rapid Home Provisioning

Rapid Home Provisioning


Multi Cluster Architecture

(or when you have a private cloud)

39

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Additional requirements


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

40

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Adding a Client Cluster


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

41

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Adding a Client Cluster


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

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - NFS Provisioning


RHP Client Cluster
RHP
Client

RHP
Server

NFS Mount

NFS Mount
Node 2

Node 1

Golden
Image

Working
Copy
for NFS

ACFS Mount

ACFS Snap

-MGMTDB

ASM Volume 1
RHP Server Cluster

43

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - NFS Provisioning


RHP Client Cluster
RHP
Client

RHP
Server

NFS Mount

NFS Mount
Node 1

Node 2

mountfs

Golden
Image

Working
Copy
for NFS

ACFS Mount

ACFS Snap

-MGMTDB

ASM Volume 1
RHP Server Cluster

44

09.12.2015

Rapid Home Provisioning

exportfs

mountfs

Multi Cluster Architecture - Provisioning via NFS


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

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Provisioning via NFS


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

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Provisioning via NFS


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" ...
ORACLE_HOME
rhpsh01.trivadistraining.com: Finding
ACFS
file system of the image "12cR1_EE_PSU4"
via NFS.
What
...
can go wrong?
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

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - LOCAL Provisioning


RHP Client Cluster
RHP
Client

RHP
Server

Node 2

Node 1

Golden
Image

Working
Copy
for Local
Copy

ACFS Mount

ACFS Snap

-MGMTDB

ASM Volume 1
RHP Server Cluster

48

09.12.2015

Local Copy

Local Copy

Rapid Home Provisioning

Multi Cluster Architecture - LOCAL Provisioning


RHP Client Cluster
RHP
Client

RHP
Server

Node 1

local ACFS
or other FS

Golden
Image
ACFS Mount

ACFS Snap
ASM Volume 1

RHP Server Cluster

09.12.2015

Node 2

Working
Copy
for Local
Copy

-MGMTDB

49

Local Copy

Local Copy

Rapid Home Provisioning

Multi Cluster Architecture - LOCAL Provisioning


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

50

09.12.2015

Rapid Home Provisioning

Multi Cluster Architecture - Mixed Provisioning


RHP Client Cluster
RHP
Client

RHP
Server

NFS Mount

Node 2

Node 1

Golden
Image

Working
Copy
for NFS

Working
Copy
for Local
Copy

ACFS Mount

ACFS Snap

ACFS Snap

-MGMTDB

ASM Volume 1
RHP Server Cluster

51

09.12.2015

Local Copy

Local Copy

Rapid Home Provisioning

NFS Mount

Rapid Home Provisioning


Repository

52

09.12.2015

Rapid Home Provisioning

RHP Metadata Repository: GHSUSER@-MGMTDB


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.

53

09.12.2015

Rapid Home Provisioning

SQL> show pdbs


CON_ID CON_NAME
OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ---------3 RHPS_CLUSTER
READ WRITE NO

RHP Metadata Repository: GHSUSER@-MGMTDB


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.

54

09.12.2015

Rapid Home Provisioning

SQL> show pdbs


CON_ID CON_NAME
OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ---------3 RHPS_CLUSTER
READ WRITE NO

ORACLE says you


don't need to
backup the GIMR.

RHP Metadata Repository: GHSUSER@-MGMTDB


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.

55

09.12.2015

Rapid Home Provisioning

SQL> show pdbs


CON_ID CON_NAME
OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ---------3 RHPS_CLUSTER
READ WRITE NO

ORACLE says you


don't need to
backup the GIMR.

If you use RHP, my


recommandation
is to do it!

Rapid Home Provisioning


Conclusions

56

09.12.2015

Rapid Home Provisioning

RHP Documentation
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)

57

09.12.2015

Rapid Home Provisioning

Conclusions
Ease of patching

Thin documentation

Standardized installations

Pricey option for multi-clusters

Free for standalone clusters

No GI_HOME Provisioning

Private-Cloud ready

It is not free from bugs (not rock-solid)

Nice features

58

09.12.2015

Rapid Home Provisioning

Embrace it or live without it?

59

09.12.2015

Rapid Home Provisioning

What's your question?


Ludovico Caldara
Oracle ACE, Senior Oracle Consultant
Trivadis SA

60

09.12.2015

Rapid Home Provisioning

Você também pode gostar