SlideShare a Scribd company logo
1 of 31
Download to read offline
© Pythian Services Inc. 2020 1
Nelson Calero
25 Agosto 2020
Oracle Groundbreakers Tour 2020 LATAM
Automatizando patcheo y upgrades
de BD Oracle con Fleet
Provisioning and Patching (FPP)
2© Pythian Services Inc. 2020© Pythian Services Inc. 2020
 Motivation
 Architecture
 Key functionalities
 Examples / demos
 Using Vagrant VMs
 Patching a Database
Fleet Provisioning and Patching (FPP)
Audiencia: DBAs / DevOps
3© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Nelson Calero
http://www.linkedin.com/in/ncalero @ncalerouy
• Principal Consultant at Pythian (several roles since 2014)
• Working with Oracle tools and Linux environments (since 1996)
• Co-founder and President, Uruguay Oracle user Group (2009)
• LAOUC board (since 2013)
• Computer Engineer (1998)
• Oracle ACE (2014), Oracle ACE Director (2017)
• Certified in Oracle, Amazon and Google
• Oracle University Instructor (2011)
• Blogger and speaker
© Pythian Services Inc. 2020 4
Founded in 1997, Pythian is a global IT services company that helps
organizations transform how they compete and win by helping them
turn data into valuable insights, predictions and products. From cloud
automation to machine learning, Pythian designs, implements and
supports customized solutions to the toughest data challenges.
5© Pythian Services Inc. 2020© Pythian Services Inc. 2020
“Oracle FPP is a software lifecycle management method for provisioning and maintaining Oracle homes”
https://docs.oracle.com/en/database/oracle/oracle-database/19/cwadd/rapid-home-provisioning.html

Spend less time dealing with Oracle software updates (no OS)

Proprietary automation approach (no ansible or similar tools) with specific features for Oracle

Since 12.1.0.2 no extra cost for targets running RAC (also no license required for server)
https://docs.oracle.com/en/database/oracle/oracle-database/19/dblic/Licensing-Information.html#GUID-0F9EB85D-4610-4EDF-89C2-4916A0E7AC87
Motivation
6© Pythian Services Inc. 2020© Pythian Services Inc. 2020
 Using product features to minimize downtime
 Zero-Downtime Oracle Grid Infrastructure Patching possible since 19.6 RU (ZDOGIP – MOS ID 2635015.1)

Out of place deployments
 Implementing automation for all required steps behind a single command option
 Zero-Downtime Oracle Database upgrade (ZDU) using OGG or DG, all automated. OGG example:
 Storing templates (gold images) of software (Oracle Homes or third party) that can be reused
 Efficient space usage when using Series as only delta are stored

ACFS snapshots to provision copies
 Tracking in a central database (MGMTDB) what is deployed where – homes, databases, patches.
How?
[grid@fpps ~]$ rhpctl zdtupgrade database -dbname MYDB -destwc OH197 -ggsrcwc GG11g -ggdstwc GG12c 
-targetnode host121 -root
7© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Architecture
Server
- ASM, ACFS, GNS
- Can be central mode or local
Target
- Host with OS installed
- Clients 12.2 and up have more
features
Clients
- Part of Grid Infrastructure
- Local FS or ACFS to store software
(working copies of gold images)
Repository
- Gold images
- Metadata (users, roles, permissions,
identities)
https://www.oracle.com/technetwork/database/database-technologies/cloud-storage/acfs/learnmore/oraclefpp-19c-datasheet-5486895.html
8© Pythian Services Inc. 2020© Pythian Services Inc. 2020
• Provision and manage any software home – GI/DB o custom
• Provision, scale, patch, and upgrade Oracle Grid Infrastructure and DB
– Oracle RAC, single instance, Oracle RAC One Node
– On managed (clients) and unmanaged (target) servers
• Zero-downtime upgrade (ZDU) of databases and GI homes (check version restrictions)
• Batch mode patching
– Parallel patching nodes in RAC
– Integration with Application continuity
• Error prevention
– Evaluate commands without implementing
– Resume failed operations automatically when re-run
– Rollback
– Abort to allow manual actions to finish
• Many details, good technical documentation and presentations
– https://www.oracle.com/a/tech/docs/fpp-technical-brief-19c.pdf
– https://es.slideshare.net/MarkusMichalewicz/managing-gold-images-for-easy-patching-and-upgrading
Key functionalities
9© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Important clarifications
• FPP is the product name since 19c, it was RHP (Rapid Home Provisioning) on 12.1 and 18c
• CDB Fleet Management in Oracle Database 18c is another thing
https://docs.oracle.com/en/database/oracle/oracle-database/19/multi/configuring-cdb-fleet.html#GUID-50B535A6-4746-4FFD-B40A-7986DB994D3C
• OEM feature too - several MOS notes can be confusing as they describe only using emcli:
– Master Note for Database Patching Using Fleet Maintenance. (Doc ID 2435251.1)
– How to Patch Or Upgrade RAC Database Using Fleet Maintenance (Doc ID 2448341.1)
– How To Patch Or Upgrade Standalone Database Using Fleet Maintenance (Doc ID 2434260.1)
• FPP is a feature of Oracle Grid Infrastructure, allowing two modes of use: local and server
– details in next slide
• ACFS is required by server – clients can store software (workingcopies) in local storage
• Some OS versions require patches – check RHP Support Matrix (Doc ID 2233390.1)
10© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Local vs Server deployment

Local mode (AKA Independent Automaton)
 Only handles local host without having to register or deploy gold images
 Installed by default since 19c (to support the local switch home capability)
 rhpserver should be running as a service anyway
 Good blog posts describing its usage:

http://www.ludovicocaldara.net/dba/gi18c-patching-part1/

http://www.ludovicocaldara.net/dba/gi19c-local-mode-automaton/

Server

Needs Grid Infrastructure (GIMR + ASM + ACFS)

check MOS 2126710.1 for minimum requirements, 1369107.1 for ACFS OS Certification Matrix

1-click install – MOS Doc 2124960.1
All activity is stored in logs:
[grid@fpps ~]$ ls -lrt /u01/app/grid/crsdata/fpps/rhp/rhpserver.log*
-rw-r--r--. 1 grid oinstall 0 Aug 16 13:52 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.0.lck
-rw-r--r--. 1 grid oinstall 10485846 Aug 18 15:39 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.2
-rw-r--r--. 1 grid oinstall 10485762 Aug 18 22:56 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.1
-rw-r--r--. 1 grid oinstall 4303760 Aug 19 10:38 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.0
11© Pythian Services Inc. 2020© Pythian Services Inc. 2020
FPP default local mode in 19c
[oracle@ol7-19-rac1 ~]$ srvctl status rhpserver
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is running on node ol7-19-rac2
[oracle@ol7-19-rac1 ~]$ srvctl config rhpserver
Storage base path: /opt/oracle/rhp_images
Disk Groups:
Port number: 8896
Transfer port range:
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is individually enabled on nodes:
Rapid Home Provisioning Server is individually disabled on nodes:
Email address:
Mail server address:
Mail server port:
Transport Level Security disabled
HTTP Secure is enabled
12© Pythian Services Inc. 2020© Pythian Services Inc. 2020
FPP server
[oracle@ol7-19-rac1 ~]$ srvctl status rhpserver
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is running on node ol7-19-rac2
[oracle@ol7-19-rac1 ~]$ srvctl config rhpserver
Storage base path: /opt/oracle/rhp_images
Disk Groups:
Port number: 8896
Transfer port range:
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is individually enabled on nodes:
Rapid Home Provisioning Server is individually disabled on nodes:
Email address:
Mail server address:
Mail server port:
Transport Level Security disabled
HTTP Secure is enabled
[grid@fpps ~]$ srvctl status rhpserver
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is running on node fpps
[grid@fpps ~]$ srvctl config rhpserver
Storage base path: /rhp_storage
Disk Groups: DATA
Port number: 8896
Transfer port range:
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is individually enabled on nodes:
Rapid Home Provisioning Server is individually disabled on nodes:
Email address:
Mail server address:
Mail server port:
Transport Level Security disabled
HTTP Secure is enabled
[grid@fpps ~]$ rhpctl query server
Rapid Home Provisioning Server (RHPS): vgt-ol7-fpp-c
Storage base path: /rhp_storage
Disk Groups: DATA
Port number: 8896
[grid@fpps ~]$ srvctl status rhpserver
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is running on node fpps
[grid@fpps ~]$ srvctl config rhpserver
Storage base path: /rhp_storage
Disk Groups: DATA
Port number: 8896
Transfer port range:
Rapid Home Provisioning Server is enabled
Rapid Home Provisioning Server is individually enabled on nodes:
Rapid Home Provisioning Server is individually disabled on nodes:
Email address:
Mail server address:
Mail server port:
Transport Level Security disabled
HTTP Secure is enabled
[grid@fpps ~]$ rhpctl query server
Rapid Home Provisioning Server (RHPS): vgt-ol7-fpp-c
Storage base path: /rhp_storage
Disk Groups: DATA
Port number: 8896
13© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images
- Created on FPP server as read-only from working software or installation files
- It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types
- Homes deployed by FPP can only be based on images
- Stored in ACFS
- Example: creating an image from a database home installed in a host (target) not running FPP
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Adding storage for image ...
fpps.localdomain: Creating a new ACFS file system for image "db_19700" ...
fpps.localdomain: Creating export file system ...
fpps.localdomain: Starting export file system...
fpps.localdomain: Mounting file system...
fpps.localdomain: Copying files...
fpps.localdomain: Removing export file system ...
[grid@fpps ~]$
14© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images
- Created on FPP server as read-only from working software or installation files
- It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types
- Homes deployed by FPP can only be based on images
- Stored in ACFS
- Example: creating an image from a database home installed in a host (target) not running FPP
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Adding storage for image ...
fpps.localdomain: Creating a new ACFS file system for image "db_19700" ...
fpps.localdomain: Creating export file system ...
fpps.localdomain: Starting export file system...
fpps.localdomain: Mounting file system...
fpps.localdomain: Copying files...
fpps.localdomain: Removing export file system ...
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
15© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images
- Created on FPP server as read-only from working software or installation files
- It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types
- Homes deployed by FPP can only be based on images
- Stored in ACFS
- Example: creating an image from a database home installed in a host not running FPP
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Adding storage for image ...
fpps.localdomain: Creating a new ACFS file system for image "db_19700" ...
fpps.localdomain: Creating export file system ...
fpps.localdomain: Starting export file system...
fpps.localdomain: Mounting file system...
fpps.localdomain: Copying files...
fpps.localdomain: Removing export file system ...
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
16© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images
- Created on FPP server as read-only from working software or installation files
- It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types
- Homes deployed by FPP can only be based on images
- Stored in ACFS
- Example: creating an image from a database home installed in a host not running FPP
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Adding storage for image ...
fpps.localdomain: Creating a new ACFS file system for image "db_19700" ...
fpps.localdomain: Creating export file system ...
fpps.localdomain: Starting export file system...
fpps.localdomain: Mounting file system...
fpps.localdomain: Copying files...
fpps.localdomain: Removing export file system ...
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
[grid@fpps ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 845M 6.9G 11% /dev/shm
tmpfs 7.8G 25M 7.7G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% /
/dev/sda1 497M 109M 389M 22% /boot
vagrant 930G 796G 134G 86% /vagrant
/dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01
tmpfs 1.6G 0 1.6G 0% /run/user/1002
/dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564
/dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127
/dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372
[grid@fpps ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 845M 6.9G 11% /dev/shm
tmpfs 7.8G 25M 7.7G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% /
/dev/sda1 497M 109M 389M 22% /boot
vagrant 930G 796G 134G 86% /vagrant
/dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01
tmpfs 1.6G 0 1.6G 0% /run/user/1002
/dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564
/dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127
/dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372
17© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images
- Created on FPP server as read-only from working software or installation files
- It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types
- Homes deployed by FPP can only be based on images
- Stored in ACFS
- Example: creating an image from a database home installed in a host not running FPP
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Adding storage for image ...
fpps.localdomain: Creating a new ACFS file system for image "db_19700" ...
fpps.localdomain: Creating export file system ...
fpps.localdomain: Starting export file system...
fpps.localdomain: Mounting file system...
fpps.localdomain: Copying files...
fpps.localdomain: Removing export file system ...
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image
fpps.localdomain: Audit ID: 33
Image name: db_19300
Image name: gi_19300
Image name: db_19700
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
[grid@fpps ~]$ rhpctl query image -image db_19700
fpps.localdomain: Audit ID: 34
Image name: db_19700
Owner: grid@vgt-ol7-fpp-c
Site: vgt-ol7-fpp-c
Access control: USER:grid@vgt-ol7-fpp-c
Access control: ROLE:OTHER
Access control: ROLE:GH_IMG_PUBLISH
Access control: ROLE:GH_IMG_ADMIN
Access control: ROLE:GH_IMG_VISIBILITY
Parent Image:
Software home path: /rhp_storage/images/idb_19700859372/swhome
Image state: PUBLISHED
Image size: 9054 Megabytes
Image Type: ORACLEDBSOFTWARE
Image Version: 19.0.0.0.0:19.7.1.0.0
Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba
Image platform: Linux_AMD64
Interim patches installed: 31204483,29585399
Contains a non-rolling patch: FALSE
Complete: TRUE
[grid@fpps ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 845M 6.9G 11% /dev/shm
tmpfs 7.8G 25M 7.7G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% /
/dev/sda1 497M 109M 389M 22% /boot
vagrant 930G 796G 134G 86% /vagrant
/dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01
tmpfs 1.6G 0 1.6G 0% /run/user/1002
/dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564
/dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127
/dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372
[grid@fpps ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 845M 6.9G 11% /dev/shm
tmpfs 7.8G 25M 7.7G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% /
/dev/sda1 497M 109M 389M 22% /boot
vagrant 930G 796G 134G 86% /vagrant
/dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01
tmpfs 1.6G 0 1.6G 0% /run/user/1002
/dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564
/dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127
/dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372
[grid@fpps ~]$ acfsutil info fs
/rhp_storage/images/idb_19700859372
ACFS Version: 19.0.0.0.0
on-disk version: 49.0
compatible.advm: 19.0.0.0.0
ACFS compatibility: 19.0.0.0.0
flags: MountPoint,Available,KiloSnap
creation time: Tue Aug 18 21:29:59 2020
mount time: Tue Aug 18 21:30:27 2020
mount sequence number: 5
number of nodes: 1
allocation unit: 4096
metadata block size: 4096
volumes: 1
total size: 21474836480 ( 20.00 GB )
total free: 10403278848 ( 9.69 GB )
file entry table allocation: 201588736
primary volume: /dev/asm/ghvol305408-455
label:
state: Available
major, minor: 248, 232964
logical sector size: 512
size: 21474836480 ( 20.00 GB )
free: 10403278848 ( 9.69 GB )
metadata read I/O count: 330354
metadata write I/O count: 303807
total metadata bytes read: 2707853312 ( 2.52 GB )
total metadata bytes written: 3313106944 ( 3.09 GB )
ADVM diskgroup: DATA
ADVM resize increment: 67108864
ADVM redundancy: unprotected
ADVM stripe columns: 8
ADVM stripe width: 1048576
[grid@fpps ~]$ acfsutil info fs
/rhp_storage/images/idb_19700859372
ACFS Version: 19.0.0.0.0
on-disk version: 49.0
compatible.advm: 19.0.0.0.0
ACFS compatibility: 19.0.0.0.0
flags: MountPoint,Available,KiloSnap
creation time: Tue Aug 18 21:29:59 2020
mount time: Tue Aug 18 21:30:27 2020
mount sequence number: 5
number of nodes: 1
allocation unit: 4096
metadata block size: 4096
volumes: 1
total size: 21474836480 ( 20.00 GB )
total free: 10403278848 ( 9.69 GB )
file entry table allocation: 201588736
primary volume: /dev/asm/ghvol305408-455
label:
state: Available
major, minor: 248, 232964
logical sector size: 512
size: 21474836480 ( 20.00 GB )
free: 10403278848 ( 9.69 GB )
metadata read I/O count: 330354
metadata write I/O count: 303807
total metadata bytes read: 2707853312 ( 2.52 GB )
total metadata bytes written: 3313106944 ( 3.09 GB )
ADVM diskgroup: DATA
ADVM resize increment: 67108864
ADVM redundancy: unprotected
ADVM stripe columns: 8
ADVM stripe width: 1048576
18© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Gold images - note
- Importing from a client or target requires NFS server to be running. If not:
- Fix on server, and retry above import:
[grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path
/u01/app/oracle/product/193000/dbhome_1 -root
...
fpps.localdomain: Mounting file system...
PRGO-1257 : failed to import image "db_19700"
PRGO-1257 : failed to import image "db_19700"
PRCZ-2105 : failed to execute command "/bin/mount" as user "root" using root credentials within 300
seconds on nodes "fppc"
PRCZ-2103 : Failed to execute command "/bin/mount" on node "fppc" as user "root". Detailed error:
mount.nfs: Connection refused
[root@fpps ~]# rpc.nfsd
[root@fpps ~]# service nfs start
Redirecting to /bin/systemctl start nfs.service
19© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Workingcopies
- Is a deployed image into a client or target – installed version of the software, ready to be used
- ‘add workingcopy’ executes all steps required to complete the installation
- This copy is on client storage, can be on ACFS or local storage
[grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc
-user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path
/u01/app/oracle/product/193/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Audit ID: 37
fpps.localdomain: Option storagetype is set to the following default value: LOCAL.
fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ...
fpps.localdomain: Connecting to node fppc ...
fpps.localdomain: Starting transfer for remote copy ...
fpps.localdomain: Starting clone operation...
fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ...
fppc:
fppc:
fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is
equivalent to performing a Software Only installation from the image.
20© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Workingcopies
- Is a deployed image into a client or target – installed version of the software, ready to be used
- ‘add workingcopy’ executes all steps required to complete the instalation
- This copy is on client storage, can be on ACFS or local storage
[grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc
-user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path
/u01/app/oracle/product/193/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Audit ID: 37
fpps.localdomain: Option storagetype is set to the following default value: LOCAL.
fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ...
fpps.localdomain: Connecting to node fppc ...
fpps.localdomain: Starting transfer for remote copy ...
fpps.localdomain: Starting clone operation...
fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ...
fppc:
fppc:
fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is
equivalent to performing a Software Only installation from the image.
fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only
install. For more details on image based installation, refer to help documentation.
fppc:
fppc: Starting Oracle Universal Installer...
fppc:
fppc: You can find the log of this install session at:
fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log
fppc: .................................................. 5% Done.
fppc: .................................................. 10% Done.
fppc: .................................................. 50% Done.
fppc: ..........
fppc: Finish Setup successful.
fppc: The cloning of wc_db_193_orig was successful.
fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details.
fppc:
fppc: Setup Oracle Base in progress.
fppc:
fppc: Setup Oracle Base successful.
fppc: .................................................. 95% Done.
fppc:
fppc: As a root user, execute the following script(s):
fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh
fppc:
fppc: .................................................. 100% Done.
fpps.localdomain: Successfully executed clone operation.
fpps.localdomain: Executing root script on nodes fppc.
fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output
of root script
fpps.localdomain: Successfully executed root script on nodes fppc.
fpps.localdomain: Working copy creation completed.
[grid@fpps ~]$
fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only
install. For more details on image based installation, refer to help documentation.
fppc:
fppc: Starting Oracle Universal Installer...
fppc:
fppc: You can find the log of this install session at:
fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log
fppc: .................................................. 5% Done.
fppc: .................................................. 10% Done.
fppc: .................................................. 50% Done.
fppc: ..........
fppc: Finish Setup successful.
fppc: The cloning of wc_db_193_orig was successful.
fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details.
fppc:
fppc: Setup Oracle Base in progress.
fppc:
fppc: Setup Oracle Base successful.
fppc: .................................................. 95% Done.
fppc:
fppc: As a root user, execute the following script(s):
fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh
fppc:
fppc: .................................................. 100% Done.
fpps.localdomain: Successfully executed clone operation.
fpps.localdomain: Executing root script on nodes fppc.
fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output
of root script
fpps.localdomain: Successfully executed root script on nodes fppc.
fpps.localdomain: Working copy creation completed.
[grid@fpps ~]$
21© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Workingcopies
- Is a deployed image into a client or target – installed version of the software, ready to be used
- ‘add workingcopy’ executes all steps required to complete the instalation
- This copy is on client storage, can be on ACFS or local storage
[grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc
-user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path
/u01/app/oracle/product/193/dbhome_1 -root
Enter user "root" password:
fpps.localdomain: Audit ID: 37
fpps.localdomain: Option storagetype is set to the following default value: LOCAL.
fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ...
fpps.localdomain: Connecting to node fppc ...
fpps.localdomain: Starting transfer for remote copy ...
fpps.localdomain: Starting clone operation...
fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ...
fppc:
fppc:
fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is
equivalent to performing a Software Only installation from the image.
fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only
install. For more details on image based installation, refer to help documentation.
fppc:
fppc: Starting Oracle Universal Installer...
fppc:
fppc: You can find the log of this install session at:
fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log
fppc: .................................................. 5% Done.
fppc: .................................................. 10% Done.
fppc: .................................................. 50% Done.
fppc: ..........
fppc: Finish Setup successful.
fppc: The cloning of wc_db_193_orig was successful.
fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details.
fppc:
fppc: Setup Oracle Base in progress.
fppc:
fppc: Setup Oracle Base successful.
fppc: .................................................. 95% Done.
fppc:
fppc: As a root user, execute the following script(s):
fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh
fppc:
fppc: .................................................. 100% Done.
fpps.localdomain: Successfully executed clone operation.
fpps.localdomain: Executing root script on nodes fppc.
fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output
of root script
fpps.localdomain: Successfully executed root script on nodes fppc.
fpps.localdomain: Working copy creation completed.
[grid@fpps ~]$
fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only
install. For more details on image based installation, refer to help documentation.
fppc:
fppc: Starting Oracle Universal Installer...
fppc:
fppc: You can find the log of this install session at:
fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log
fppc: .................................................. 5% Done.
fppc: .................................................. 10% Done.
fppc: .................................................. 50% Done.
fppc: ..........
fppc: Finish Setup successful.
fppc: The cloning of wc_db_193_orig was successful.
fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details.
fppc:
fppc: Setup Oracle Base in progress.
fppc:
fppc: Setup Oracle Base successful.
fppc: .................................................. 95% Done.
fppc:
fppc: As a root user, execute the following script(s):
fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh
fppc:
fppc: .................................................. 100% Done.
fpps.localdomain: Successfully executed clone operation.
fpps.localdomain: Executing root script on nodes fppc.
fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output
of root script
fpps.localdomain: Successfully executed root script on nodes fppc.
fpps.localdomain: Working copy creation completed.
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query workingcopy
fpps.localdomain: Audit ID: 38
Working copy name: wc_db_19300
Working copy name: wc_db_193_orig
[grid@fpps ~]$
[grid@fpps ~]$ rhpctl query workingcopy
fpps.localdomain: Audit ID: 38
Working copy name: wc_db_19300
Working copy name: wc_db_193_orig
[grid@fpps ~]$
22© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Patches and upgrades
- All is performed by single commands using rhpctl:
 Patching: move { database | gihome } / movepdb database
 Upgrade: { upgrade | zdtupgrade } database / upgrade gihome
 Can combine both, adding more parameters to the command
- Patching example:
[grid@fpps ~]$ rhpctl move database -patchedwc wc_db_19700 -sourcewc wc_db_193 -dbname OLD19 -root
Enter user "root" password:
fpps.localdomain: Audit ID: 44
fpps.localdomain: verifying versions of Oracle homes ...
fpps.localdomain: verifying owners of Oracle homes ...
fpps.localdomain: verifying groups of Oracle homes ...
fpps.localdomain: starting to move the following databases: "OLD19"
fpps.localdomain: restarting databases: "OLD19" ...
fppc:
fppc: SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 18 23:37:11 2020
fppc: Version 19.3.0.0.0
Fppc:
...
fppc: Patch installation complete. Total patches installed: 3
...
23© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Test using vagrant
server (FPPS): 16Gb RAM client (FPPC) - optional: 8Gb RAM, unmanaged
https://blogs.oracle.com/db_maintenance/oracle-fleet-patching-and-provisioning-meets-vagrantvirtualbox
$ git clone https://github.com/oracle/vagrant-boxes
$ cd vagrant-boxes/OracleFPP
24© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Examples using vagrant boxes
If on Windows, some old issues can be fixed easily (on WLS 10):
$ git clone https://github.com/oracle/vagrant-boxes
$ cd vagrant-boxes/OracleFPP
$ cd scripts
$ dos2unix *.sh
Examples:
- Validate initial deployment – 2m
- Create gold image of DB 19.3 using OTN binaries from
https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html – 14m (video 2:07s)
- Provision gold image (creating working copy) in host not managed by FPP (target) – 9m (video 1:41s)
- Provision DB in that client home (one command BD creation) – 22m (video 1:43s)
25© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Examples using vagrant boxes
If on Windows, some old issues can be fixed easily (on WLS 10):
$ git clone https://github.com/oracle/vagrant-boxes
$ cd vagrant-boxes/OracleFPP
$ cd scripts
$ dos2unix *.sh
Examples:
- Validate initial deployment – 2m
- Create gold image of DB 19.3 using OTN binaries from
https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html – 14m (video 2:07s)
- Provision gold image (creating working copy) in host not managed by FPP (target) – 9m (video 1:41s)
- Provision DB in that client home (one command BD creation) – 22m (video 1:43s)
DEMODEMO
26© Pythian Services Inc. 2020© Pythian Services Inc. 2020
More examples in docs
Several scenarios covered in public documentation:
https://docs.oracle.com/en/database/oracle/oracle-database/19/cwadd/rapid-home-provisioning.html#GUID-4A987DBE-1BBC-4FEE-B576-A06308AA05C
8

Creating an Oracle Grid Infrastructure 12c Release 2 Deployment

Provisioning an Oracle Database Home and Creating a Database

Provisioning a Pluggable Database

Upgrading to Oracle Grid Infrastructure 12c Release 2

Patching Oracle Grid Infrastructure Without Changing the Grid Home Path

Patching Oracle Grid Infrastructure and Oracle Databases Simultaneously

Patching Oracle Database 12c Release 1 Without Downtime

Upgrading to Oracle Database 12c Release 2

Adding a Node to a Cluster and Scaling an Oracle RAC Database to the Node

Adding Gold Images for Fleet Patching and Provisioning

User Actions for Common Fleet Patching and Provisioning Tasks
27© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Patching a database home
FPP single command operation Manual task
- Create a working copy of the DB to be patched
- Apply patches to the working copy
- Test and validate the patched home
- Create a gold image using the patching working copy
- Delete the patched working copy with the patched DB
- Create a working copy from the patched gold image
- Move the DB to the working copy
- Test and validate DB on patched home
- Delete the working copy
28© Pythian Services Inc. 2020© Pythian Services Inc. 2020
Patching a database home
FPP single command operation Manual task
- Create a working copy of the DB to be patched
- Apply patches to the working copy
- Test and validate the patched home
- Create a gold image using the patching working copy
- Delete the patched working copy with the patched DB
- Create a working copy from the patched gold image
- Move the DB to the working copy
- Test and validate DB on patched home
- Delete the working copy
DEMODEMO
29© Pythian Services Inc. 2020© Pythian Services Inc. 2020
More features to explore not covered here
- Adaptive RAC Rolling OJVM Patching
- Zero-Downtime database upgrades
- Exadata Targets (Storage Cells, DB Nodes, IB switch)
- Peer-to-Peer Services
- Scan Fleet
- RESTful API
- Authentication plug-in
- Notifications
- FPP server backup and restore
© Pythian Services Inc. 2020 30© Pythian Services Inc. 2020
THANK YOU
Questions?
calero@pythian.com
@ncalerouy
http://www.linkedin.com/in/ncalero
31© Pythian Services Inc. 2020© Pythian Services Inc. 2020
References
• https://www.oracle.com/technetwork/database/database-technologies/cloud-storage/acfs/learnmore/oraclefpp-19c-datasheet-54
86895.html
• https://blogs.oracle.com/db_maintenance/oracle-fleet-patching-and-provisioning-meets-vagrantvirtualbox
• ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)
• RHP: Rapid Home Provisioning Server - Minimum Requirement (Doc ID 2126710.1)
• Pre-requisite Checks For Setting Up Fleet Environment (Doc ID 2434264.1)
• How To Setup a Rapid Home Provisioning (RHP) Server and Client (Doc ID 2097026.1)
• Rapid Home Provisioning (RHP) setup in "1-Click" (Doc ID 2124960.1)
• FPPBR Fleet Patching and Provisioning - Backup & Restore Utility (Doc ID 2566782.1)

More Related Content

What's hot

Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
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
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Markus Michalewicz
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
 
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
 
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfHybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfALI ANWAR, OCP®
 
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
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
Make Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMarkus Michalewicz
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
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
 
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
 
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
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 

What's hot (20)

Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
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...
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion Edition
 
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 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
 
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdfHybrid Data Guard to Cloud GEN2 ExaCS.pdf
Hybrid Data Guard to Cloud GEN2 ExaCS.pdf
 
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
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Make Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For It
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
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?
 
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)
 
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
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 

Similar to Automate Oracle database patches and upgrades using Fleet Provisioning and Patching

Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015aioughydchapter
 
Flink sql for continuous sql etl apps & Apache NiFi devops
Flink sql for continuous sql etl apps & Apache NiFi devopsFlink sql for continuous sql etl apps & Apache NiFi devops
Flink sql for continuous sql etl apps & Apache NiFi devopsTimothy Spann
 
오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)Linux Foundation Korea
 
Sprint 131
Sprint 131Sprint 131
Sprint 131ManageIQ
 
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
 
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Andrejs Prokopjevs
 
The Data Center and Hadoop
The Data Center and HadoopThe Data Center and Hadoop
The Data Center and HadoopMichael Zhang
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Bobby Curtis
 
Oracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldOracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldPaul Marden
 
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...DataWorks Summit
 
The Data Center and Hadoop
The Data Center and HadoopThe Data Center and Hadoop
The Data Center and HadoopDataWorks Summit
 
02 ai inference acceleration with components all in open hardware: opencapi a...
02 ai inference acceleration with components all in open hardware: opencapi a...02 ai inference acceleration with components all in open hardware: opencapi a...
02 ai inference acceleration with components all in open hardware: opencapi a...Yutaka Kawai
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Bobby Curtis
 
TechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby DatabaseTechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby DatabaseTrivadis
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateExtreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateBobby Curtis
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014Philippe Fierens
 
Docker for mac & local developer environment optimization
Docker for mac & local developer environment optimizationDocker for mac & local developer environment optimization
Docker for mac & local developer environment optimizationRadek Baczynski
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE
 
NetFlow Data processing using Hadoop and Vertica
NetFlow Data processing using Hadoop and VerticaNetFlow Data processing using Hadoop and Vertica
NetFlow Data processing using Hadoop and VerticaJosef Niedermeier
 

Similar to Automate Oracle database patches and upgrades using Fleet Provisioning and Patching (20)

Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015
 
Flink sql for continuous sql etl apps & Apache NiFi devops
Flink sql for continuous sql etl apps & Apache NiFi devopsFlink sql for continuous sql etl apps & Apache NiFi devops
Flink sql for continuous sql etl apps & Apache NiFi devops
 
오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)
 
Sprint 131
Sprint 131Sprint 131
Sprint 131
 
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
 
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
 
MariaDB pres at LeMUG
MariaDB pres at LeMUGMariaDB pres at LeMUG
MariaDB pres at LeMUG
 
The Data Center and Hadoop
The Data Center and HadoopThe Data Center and Hadoop
The Data Center and Hadoop
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
Oracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open WorldOracle RAC Presentation at Oracle Open World
Oracle RAC Presentation at Oracle Open World
 
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
Disaster Recovery Experience at CACIB: Hardening Hadoop for Critical Financia...
 
The Data Center and Hadoop
The Data Center and HadoopThe Data Center and Hadoop
The Data Center and Hadoop
 
02 ai inference acceleration with components all in open hardware: opencapi a...
02 ai inference acceleration with components all in open hardware: opencapi a...02 ai inference acceleration with components all in open hardware: opencapi a...
02 ai inference acceleration with components all in open hardware: opencapi a...
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)
 
TechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby DatabaseTechEvent Performance Analyses on Standby Database
TechEvent Performance Analyses on Standby Database
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateExtreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGate
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
 
Docker for mac & local developer environment optimization
Docker for mac & local developer environment optimizationDocker for mac & local developer environment optimization
Docker for mac & local developer environment optimization
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
 
NetFlow Data processing using Hadoop and Vertica
NetFlow Data processing using Hadoop and VerticaNetFlow Data processing using Hadoop and Vertica
NetFlow Data processing using Hadoop and Vertica
 

More from Nelson Calero

Database automation guide - Oracle Community Tour LATAM 2023
Database automation guide - Oracle Community Tour LATAM 2023Database automation guide - Oracle Community Tour LATAM 2023
Database automation guide - Oracle Community Tour LATAM 2023Nelson Calero
 
Terraform Tips and Tricks - LAOUC 2022
Terraform Tips and Tricks - LAOUC 2022Terraform Tips and Tricks - LAOUC 2022
Terraform Tips and Tricks - LAOUC 2022Nelson Calero
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Nelson Calero
 
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
 
Automate your oracle cloud infrastructure operations v2.0 - OOW19
Automate your oracle cloud infrastructure operations v2.0 - OOW19Automate your oracle cloud infrastructure operations v2.0 - OOW19
Automate your oracle cloud infrastructure operations v2.0 - OOW19Nelson Calero
 
Automate the operation of your Oracle Cloud infrastructure v2.0
Automate the operation of your Oracle Cloud infrastructure v2.0Automate the operation of your Oracle Cloud infrastructure v2.0
Automate the operation of your Oracle Cloud infrastructure v2.0Nelson Calero
 
SSL certificates in the Oracle Database without surprises
SSL certificates in the Oracle Database without surprisesSSL certificates in the Oracle Database without surprises
SSL certificates in the Oracle Database without surprisesNelson Calero
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsNelson Calero
 
Automate your Oracle Cloud Infrastructure operation
Automate your Oracle Cloud Infrastructure operationAutomate your Oracle Cloud Infrastructure operation
Automate your Oracle Cloud Infrastructure operationNelson Calero
 
Welcome to databases in the Cloud
Welcome to databases in the CloudWelcome to databases in the Cloud
Welcome to databases in the CloudNelson Calero
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprisesNelson Calero
 
Protect Sensitive Data: Implementing Fine-Grained Access Control in Oracle
Protect Sensitive Data: Implementing Fine-Grained Access Control in OracleProtect Sensitive Data: Implementing Fine-Grained Access Control in Oracle
Protect Sensitive Data: Implementing Fine-Grained Access Control in OracleNelson Calero
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Nelson Calero
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Nelson Calero
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cMy Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cNelson Calero
 
Oracle RAC sin sorpresas - v2014
Oracle RAC sin sorpresas - v2014Oracle RAC sin sorpresas - v2014
Oracle RAC sin sorpresas - v2014Nelson Calero
 
Alta disponibilidad con Pacemaker
Alta disponibilidad con PacemakerAlta disponibilidad con Pacemaker
Alta disponibilidad con PacemakerNelson Calero
 
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQL
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQLAROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQL
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQLNelson Calero
 
MariaDB y FOSS en infraestructura de salud y estándares
MariaDB y FOSS en infraestructura de salud y estándaresMariaDB y FOSS en infraestructura de salud y estándares
MariaDB y FOSS en infraestructura de salud y estándaresNelson Calero
 
UYOUG 2012 - Oracle RAC 11gR2 - New features
UYOUG 2012 - Oracle RAC 11gR2 - New featuresUYOUG 2012 - Oracle RAC 11gR2 - New features
UYOUG 2012 - Oracle RAC 11gR2 - New featuresNelson Calero
 

More from Nelson Calero (20)

Database automation guide - Oracle Community Tour LATAM 2023
Database automation guide - Oracle Community Tour LATAM 2023Database automation guide - Oracle Community Tour LATAM 2023
Database automation guide - Oracle Community Tour LATAM 2023
 
Terraform Tips and Tricks - LAOUC 2022
Terraform Tips and Tricks - LAOUC 2022Terraform Tips and Tricks - LAOUC 2022
Terraform Tips and Tricks - LAOUC 2022
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021
 
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
 
Automate your oracle cloud infrastructure operations v2.0 - OOW19
Automate your oracle cloud infrastructure operations v2.0 - OOW19Automate your oracle cloud infrastructure operations v2.0 - OOW19
Automate your oracle cloud infrastructure operations v2.0 - OOW19
 
Automate the operation of your Oracle Cloud infrastructure v2.0
Automate the operation of your Oracle Cloud infrastructure v2.0Automate the operation of your Oracle Cloud infrastructure v2.0
Automate the operation of your Oracle Cloud infrastructure v2.0
 
SSL certificates in the Oracle Database without surprises
SSL certificates in the Oracle Database without surprisesSSL certificates in the Oracle Database without surprises
SSL certificates in the Oracle Database without surprises
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environments
 
Automate your Oracle Cloud Infrastructure operation
Automate your Oracle Cloud Infrastructure operationAutomate your Oracle Cloud Infrastructure operation
Automate your Oracle Cloud Infrastructure operation
 
Welcome to databases in the Cloud
Welcome to databases in the CloudWelcome to databases in the Cloud
Welcome to databases in the Cloud
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprises
 
Protect Sensitive Data: Implementing Fine-Grained Access Control in Oracle
Protect Sensitive Data: Implementing Fine-Grained Access Control in OracleProtect Sensitive Data: Implementing Fine-Grained Access Control in Oracle
Protect Sensitive Data: Implementing Fine-Grained Access Control in Oracle
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cMy Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12c
 
Oracle RAC sin sorpresas - v2014
Oracle RAC sin sorpresas - v2014Oracle RAC sin sorpresas - v2014
Oracle RAC sin sorpresas - v2014
 
Alta disponibilidad con Pacemaker
Alta disponibilidad con PacemakerAlta disponibilidad con Pacemaker
Alta disponibilidad con Pacemaker
 
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQL
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQLAROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQL
AROUG BIDAY 2013 - Automatizar procesos de ETL con PL/SQL
 
MariaDB y FOSS en infraestructura de salud y estándares
MariaDB y FOSS en infraestructura de salud y estándaresMariaDB y FOSS en infraestructura de salud y estándares
MariaDB y FOSS en infraestructura de salud y estándares
 
UYOUG 2012 - Oracle RAC 11gR2 - New features
UYOUG 2012 - Oracle RAC 11gR2 - New featuresUYOUG 2012 - Oracle RAC 11gR2 - New features
UYOUG 2012 - Oracle RAC 11gR2 - New features
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Automate Oracle database patches and upgrades using Fleet Provisioning and Patching

  • 1. © Pythian Services Inc. 2020 1 Nelson Calero 25 Agosto 2020 Oracle Groundbreakers Tour 2020 LATAM Automatizando patcheo y upgrades de BD Oracle con Fleet Provisioning and Patching (FPP)
  • 2. 2© Pythian Services Inc. 2020© Pythian Services Inc. 2020  Motivation  Architecture  Key functionalities  Examples / demos  Using Vagrant VMs  Patching a Database Fleet Provisioning and Patching (FPP) Audiencia: DBAs / DevOps
  • 3. 3© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Nelson Calero http://www.linkedin.com/in/ncalero @ncalerouy • Principal Consultant at Pythian (several roles since 2014) • Working with Oracle tools and Linux environments (since 1996) • Co-founder and President, Uruguay Oracle user Group (2009) • LAOUC board (since 2013) • Computer Engineer (1998) • Oracle ACE (2014), Oracle ACE Director (2017) • Certified in Oracle, Amazon and Google • Oracle University Instructor (2011) • Blogger and speaker
  • 4. © Pythian Services Inc. 2020 4 Founded in 1997, Pythian is a global IT services company that helps organizations transform how they compete and win by helping them turn data into valuable insights, predictions and products. From cloud automation to machine learning, Pythian designs, implements and supports customized solutions to the toughest data challenges.
  • 5. 5© Pythian Services Inc. 2020© Pythian Services Inc. 2020 “Oracle FPP is a software lifecycle management method for provisioning and maintaining Oracle homes” https://docs.oracle.com/en/database/oracle/oracle-database/19/cwadd/rapid-home-provisioning.html  Spend less time dealing with Oracle software updates (no OS)  Proprietary automation approach (no ansible or similar tools) with specific features for Oracle  Since 12.1.0.2 no extra cost for targets running RAC (also no license required for server) https://docs.oracle.com/en/database/oracle/oracle-database/19/dblic/Licensing-Information.html#GUID-0F9EB85D-4610-4EDF-89C2-4916A0E7AC87 Motivation
  • 6. 6© Pythian Services Inc. 2020© Pythian Services Inc. 2020  Using product features to minimize downtime  Zero-Downtime Oracle Grid Infrastructure Patching possible since 19.6 RU (ZDOGIP – MOS ID 2635015.1)  Out of place deployments  Implementing automation for all required steps behind a single command option  Zero-Downtime Oracle Database upgrade (ZDU) using OGG or DG, all automated. OGG example:  Storing templates (gold images) of software (Oracle Homes or third party) that can be reused  Efficient space usage when using Series as only delta are stored  ACFS snapshots to provision copies  Tracking in a central database (MGMTDB) what is deployed where – homes, databases, patches. How? [grid@fpps ~]$ rhpctl zdtupgrade database -dbname MYDB -destwc OH197 -ggsrcwc GG11g -ggdstwc GG12c -targetnode host121 -root
  • 7. 7© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Architecture Server - ASM, ACFS, GNS - Can be central mode or local Target - Host with OS installed - Clients 12.2 and up have more features Clients - Part of Grid Infrastructure - Local FS or ACFS to store software (working copies of gold images) Repository - Gold images - Metadata (users, roles, permissions, identities) https://www.oracle.com/technetwork/database/database-technologies/cloud-storage/acfs/learnmore/oraclefpp-19c-datasheet-5486895.html
  • 8. 8© Pythian Services Inc. 2020© Pythian Services Inc. 2020 • Provision and manage any software home – GI/DB o custom • Provision, scale, patch, and upgrade Oracle Grid Infrastructure and DB – Oracle RAC, single instance, Oracle RAC One Node – On managed (clients) and unmanaged (target) servers • Zero-downtime upgrade (ZDU) of databases and GI homes (check version restrictions) • Batch mode patching – Parallel patching nodes in RAC – Integration with Application continuity • Error prevention – Evaluate commands without implementing – Resume failed operations automatically when re-run – Rollback – Abort to allow manual actions to finish • Many details, good technical documentation and presentations – https://www.oracle.com/a/tech/docs/fpp-technical-brief-19c.pdf – https://es.slideshare.net/MarkusMichalewicz/managing-gold-images-for-easy-patching-and-upgrading Key functionalities
  • 9. 9© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Important clarifications • FPP is the product name since 19c, it was RHP (Rapid Home Provisioning) on 12.1 and 18c • CDB Fleet Management in Oracle Database 18c is another thing https://docs.oracle.com/en/database/oracle/oracle-database/19/multi/configuring-cdb-fleet.html#GUID-50B535A6-4746-4FFD-B40A-7986DB994D3C • OEM feature too - several MOS notes can be confusing as they describe only using emcli: – Master Note for Database Patching Using Fleet Maintenance. (Doc ID 2435251.1) – How to Patch Or Upgrade RAC Database Using Fleet Maintenance (Doc ID 2448341.1) – How To Patch Or Upgrade Standalone Database Using Fleet Maintenance (Doc ID 2434260.1) • FPP is a feature of Oracle Grid Infrastructure, allowing two modes of use: local and server – details in next slide • ACFS is required by server – clients can store software (workingcopies) in local storage • Some OS versions require patches – check RHP Support Matrix (Doc ID 2233390.1)
  • 10. 10© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Local vs Server deployment  Local mode (AKA Independent Automaton)  Only handles local host without having to register or deploy gold images  Installed by default since 19c (to support the local switch home capability)  rhpserver should be running as a service anyway  Good blog posts describing its usage:  http://www.ludovicocaldara.net/dba/gi18c-patching-part1/  http://www.ludovicocaldara.net/dba/gi19c-local-mode-automaton/  Server  Needs Grid Infrastructure (GIMR + ASM + ACFS)  check MOS 2126710.1 for minimum requirements, 1369107.1 for ACFS OS Certification Matrix  1-click install – MOS Doc 2124960.1 All activity is stored in logs: [grid@fpps ~]$ ls -lrt /u01/app/grid/crsdata/fpps/rhp/rhpserver.log* -rw-r--r--. 1 grid oinstall 0 Aug 16 13:52 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.0.lck -rw-r--r--. 1 grid oinstall 10485846 Aug 18 15:39 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.2 -rw-r--r--. 1 grid oinstall 10485762 Aug 18 22:56 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.1 -rw-r--r--. 1 grid oinstall 4303760 Aug 19 10:38 /u01/app/grid/crsdata/fpps/rhp/rhpserver.log.0
  • 11. 11© Pythian Services Inc. 2020© Pythian Services Inc. 2020 FPP default local mode in 19c [oracle@ol7-19-rac1 ~]$ srvctl status rhpserver Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is running on node ol7-19-rac2 [oracle@ol7-19-rac1 ~]$ srvctl config rhpserver Storage base path: /opt/oracle/rhp_images Disk Groups: Port number: 8896 Transfer port range: Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is individually enabled on nodes: Rapid Home Provisioning Server is individually disabled on nodes: Email address: Mail server address: Mail server port: Transport Level Security disabled HTTP Secure is enabled
  • 12. 12© Pythian Services Inc. 2020© Pythian Services Inc. 2020 FPP server [oracle@ol7-19-rac1 ~]$ srvctl status rhpserver Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is running on node ol7-19-rac2 [oracle@ol7-19-rac1 ~]$ srvctl config rhpserver Storage base path: /opt/oracle/rhp_images Disk Groups: Port number: 8896 Transfer port range: Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is individually enabled on nodes: Rapid Home Provisioning Server is individually disabled on nodes: Email address: Mail server address: Mail server port: Transport Level Security disabled HTTP Secure is enabled [grid@fpps ~]$ srvctl status rhpserver Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is running on node fpps [grid@fpps ~]$ srvctl config rhpserver Storage base path: /rhp_storage Disk Groups: DATA Port number: 8896 Transfer port range: Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is individually enabled on nodes: Rapid Home Provisioning Server is individually disabled on nodes: Email address: Mail server address: Mail server port: Transport Level Security disabled HTTP Secure is enabled [grid@fpps ~]$ rhpctl query server Rapid Home Provisioning Server (RHPS): vgt-ol7-fpp-c Storage base path: /rhp_storage Disk Groups: DATA Port number: 8896 [grid@fpps ~]$ srvctl status rhpserver Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is running on node fpps [grid@fpps ~]$ srvctl config rhpserver Storage base path: /rhp_storage Disk Groups: DATA Port number: 8896 Transfer port range: Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is individually enabled on nodes: Rapid Home Provisioning Server is individually disabled on nodes: Email address: Mail server address: Mail server port: Transport Level Security disabled HTTP Secure is enabled [grid@fpps ~]$ rhpctl query server Rapid Home Provisioning Server (RHPS): vgt-ol7-fpp-c Storage base path: /rhp_storage Disk Groups: DATA Port number: 8896
  • 13. 13© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - Created on FPP server as read-only from working software or installation files - It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types - Homes deployed by FPP can only be based on images - Stored in ACFS - Example: creating an image from a database home installed in a host (target) not running FPP [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root Enter user "root" password: fpps.localdomain: Adding storage for image ... fpps.localdomain: Creating a new ACFS file system for image "db_19700" ... fpps.localdomain: Creating export file system ... fpps.localdomain: Starting export file system... fpps.localdomain: Mounting file system... fpps.localdomain: Copying files... fpps.localdomain: Removing export file system ... [grid@fpps ~]$
  • 14. 14© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - Created on FPP server as read-only from working software or installation files - It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types - Homes deployed by FPP can only be based on images - Stored in ACFS - Example: creating an image from a database home installed in a host (target) not running FPP [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root Enter user "root" password: fpps.localdomain: Adding storage for image ... fpps.localdomain: Creating a new ACFS file system for image "db_19700" ... fpps.localdomain: Creating export file system ... fpps.localdomain: Starting export file system... fpps.localdomain: Mounting file system... fpps.localdomain: Copying files... fpps.localdomain: Removing export file system ... [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700
  • 15. 15© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - Created on FPP server as read-only from working software or installation files - It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types - Homes deployed by FPP can only be based on images - Stored in ACFS - Example: creating an image from a database home installed in a host not running FPP [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root Enter user "root" password: fpps.localdomain: Adding storage for image ... fpps.localdomain: Creating a new ACFS file system for image "db_19700" ... fpps.localdomain: Creating export file system ... fpps.localdomain: Starting export file system... fpps.localdomain: Mounting file system... fpps.localdomain: Copying files... fpps.localdomain: Removing export file system ... [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE
  • 16. 16© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - Created on FPP server as read-only from working software or installation files - It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types - Homes deployed by FPP can only be based on images - Stored in ACFS - Example: creating an image from a database home installed in a host not running FPP [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root Enter user "root" password: fpps.localdomain: Adding storage for image ... fpps.localdomain: Creating a new ACFS file system for image "db_19700" ... fpps.localdomain: Creating export file system ... fpps.localdomain: Starting export file system... fpps.localdomain: Mounting file system... fpps.localdomain: Copying files... fpps.localdomain: Removing export file system ... [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE [grid@fpps ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.8G 845M 6.9G 11% /dev/shm tmpfs 7.8G 25M 7.7G 1% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% / /dev/sda1 497M 109M 389M 22% /boot vagrant 930G 796G 134G 86% /vagrant /dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01 tmpfs 1.6G 0 1.6G 0% /run/user/1002 /dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase tmpfs 1.6G 0 1.6G 0% /run/user/1000 /dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564 /dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127 /dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372 [grid@fpps ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.8G 845M 6.9G 11% /dev/shm tmpfs 7.8G 25M 7.7G 1% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% / /dev/sda1 497M 109M 389M 22% /boot vagrant 930G 796G 134G 86% /vagrant /dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01 tmpfs 1.6G 0 1.6G 0% /run/user/1002 /dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase tmpfs 1.6G 0 1.6G 0% /run/user/1000 /dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564 /dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127 /dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372
  • 17. 17© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - Created on FPP server as read-only from working software or installation files - It can be for Oracle homes (Database, Grid Infrastructure or GoldenGate), or custom types - Homes deployed by FPP can only be based on images - Stored in ACFS - Example: creating an image from a database home installed in a host not running FPP [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root Enter user "root" password: fpps.localdomain: Adding storage for image ... fpps.localdomain: Creating a new ACFS file system for image "db_19700" ... fpps.localdomain: Creating export file system ... fpps.localdomain: Starting export file system... fpps.localdomain: Mounting file system... fpps.localdomain: Copying files... fpps.localdomain: Removing export file system ... [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image fpps.localdomain: Audit ID: 33 Image name: db_19300 Image name: gi_19300 Image name: db_19700 [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE [grid@fpps ~]$ rhpctl query image -image db_19700 fpps.localdomain: Audit ID: 34 Image name: db_19700 Owner: grid@vgt-ol7-fpp-c Site: vgt-ol7-fpp-c Access control: USER:grid@vgt-ol7-fpp-c Access control: ROLE:OTHER Access control: ROLE:GH_IMG_PUBLISH Access control: ROLE:GH_IMG_ADMIN Access control: ROLE:GH_IMG_VISIBILITY Parent Image: Software home path: /rhp_storage/images/idb_19700859372/swhome Image state: PUBLISHED Image size: 9054 Megabytes Image Type: ORACLEDBSOFTWARE Image Version: 19.0.0.0.0:19.7.1.0.0 Groups configured in the image: OSDBA=dba,OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba Image platform: Linux_AMD64 Interim patches installed: 31204483,29585399 Contains a non-rolling patch: FALSE Complete: TRUE [grid@fpps ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.8G 845M 6.9G 11% /dev/shm tmpfs 7.8G 25M 7.7G 1% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% / /dev/sda1 497M 109M 389M 22% /boot vagrant 930G 796G 134G 86% /vagrant /dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01 tmpfs 1.6G 0 1.6G 0% /run/user/1002 /dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase tmpfs 1.6G 0 1.6G 0% /run/user/1000 /dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564 /dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127 /dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372 [grid@fpps ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.8G 845M 6.9G 11% /dev/shm tmpfs 7.8G 25M 7.7G 1% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/mapper/vg_main-lv_root 32G 1.7G 31G 6% / /dev/sda1 497M 109M 389M 22% /boot vagrant 930G 796G 134G 86% /vagrant /dev/mapper/VolGroupU01-LogVolU01 100G 7.5G 93G 8% /u01 tmpfs 1.6G 0 1.6G 0% /run/user/1002 /dev/asm/ghchkpt-455 5.2G 788M 4.5G 15% /rhp_storage/chkbase tmpfs 1.6G 0 1.6G 0% /run/user/1000 /dev/asm/ghvol809083-455 16G 8.4G 7.7G 52% /rhp_storage/images/idb_19300926564 /dev/asm/ghvol478-455 14G 7.6G 6.5G 54% /rhp_storage/images/igi_19300152127 /dev/asm/ghvol305408-455 20G 11G 9.7G 52% /rhp_storage/images/idb_19700859372 [grid@fpps ~]$ acfsutil info fs /rhp_storage/images/idb_19700859372 ACFS Version: 19.0.0.0.0 on-disk version: 49.0 compatible.advm: 19.0.0.0.0 ACFS compatibility: 19.0.0.0.0 flags: MountPoint,Available,KiloSnap creation time: Tue Aug 18 21:29:59 2020 mount time: Tue Aug 18 21:30:27 2020 mount sequence number: 5 number of nodes: 1 allocation unit: 4096 metadata block size: 4096 volumes: 1 total size: 21474836480 ( 20.00 GB ) total free: 10403278848 ( 9.69 GB ) file entry table allocation: 201588736 primary volume: /dev/asm/ghvol305408-455 label: state: Available major, minor: 248, 232964 logical sector size: 512 size: 21474836480 ( 20.00 GB ) free: 10403278848 ( 9.69 GB ) metadata read I/O count: 330354 metadata write I/O count: 303807 total metadata bytes read: 2707853312 ( 2.52 GB ) total metadata bytes written: 3313106944 ( 3.09 GB ) ADVM diskgroup: DATA ADVM resize increment: 67108864 ADVM redundancy: unprotected ADVM stripe columns: 8 ADVM stripe width: 1048576 [grid@fpps ~]$ acfsutil info fs /rhp_storage/images/idb_19700859372 ACFS Version: 19.0.0.0.0 on-disk version: 49.0 compatible.advm: 19.0.0.0.0 ACFS compatibility: 19.0.0.0.0 flags: MountPoint,Available,KiloSnap creation time: Tue Aug 18 21:29:59 2020 mount time: Tue Aug 18 21:30:27 2020 mount sequence number: 5 number of nodes: 1 allocation unit: 4096 metadata block size: 4096 volumes: 1 total size: 21474836480 ( 20.00 GB ) total free: 10403278848 ( 9.69 GB ) file entry table allocation: 201588736 primary volume: /dev/asm/ghvol305408-455 label: state: Available major, minor: 248, 232964 logical sector size: 512 size: 21474836480 ( 20.00 GB ) free: 10403278848 ( 9.69 GB ) metadata read I/O count: 330354 metadata write I/O count: 303807 total metadata bytes read: 2707853312 ( 2.52 GB ) total metadata bytes written: 3313106944 ( 3.09 GB ) ADVM diskgroup: DATA ADVM resize increment: 67108864 ADVM redundancy: unprotected ADVM stripe columns: 8 ADVM stripe width: 1048576
  • 18. 18© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Gold images - note - Importing from a client or target requires NFS server to be running. If not: - Fix on server, and retry above import: [grid@fpps ~]$ rhpctl import image -image db_19700 -imagetype ORACLEDBSOFTWARE -targetnode fppc -path /u01/app/oracle/product/193000/dbhome_1 -root ... fpps.localdomain: Mounting file system... PRGO-1257 : failed to import image "db_19700" PRGO-1257 : failed to import image "db_19700" PRCZ-2105 : failed to execute command "/bin/mount" as user "root" using root credentials within 300 seconds on nodes "fppc" PRCZ-2103 : Failed to execute command "/bin/mount" on node "fppc" as user "root". Detailed error: mount.nfs: Connection refused [root@fpps ~]# rpc.nfsd [root@fpps ~]# service nfs start Redirecting to /bin/systemctl start nfs.service
  • 19. 19© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Workingcopies - Is a deployed image into a client or target – installed version of the software, ready to be used - ‘add workingcopy’ executes all steps required to complete the installation - This copy is on client storage, can be on ACFS or local storage [grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc -user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path /u01/app/oracle/product/193/dbhome_1 -root Enter user "root" password: fpps.localdomain: Audit ID: 37 fpps.localdomain: Option storagetype is set to the following default value: LOCAL. fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ... fpps.localdomain: Connecting to node fppc ... fpps.localdomain: Starting transfer for remote copy ... fpps.localdomain: Starting clone operation... fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ... fppc: fppc: fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is equivalent to performing a Software Only installation from the image.
  • 20. 20© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Workingcopies - Is a deployed image into a client or target – installed version of the software, ready to be used - ‘add workingcopy’ executes all steps required to complete the instalation - This copy is on client storage, can be on ACFS or local storage [grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc -user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path /u01/app/oracle/product/193/dbhome_1 -root Enter user "root" password: fpps.localdomain: Audit ID: 37 fpps.localdomain: Option storagetype is set to the following default value: LOCAL. fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ... fpps.localdomain: Connecting to node fppc ... fpps.localdomain: Starting transfer for remote copy ... fpps.localdomain: Starting clone operation... fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ... fppc: fppc: fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is equivalent to performing a Software Only installation from the image. fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only install. For more details on image based installation, refer to help documentation. fppc: fppc: Starting Oracle Universal Installer... fppc: fppc: You can find the log of this install session at: fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log fppc: .................................................. 5% Done. fppc: .................................................. 10% Done. fppc: .................................................. 50% Done. fppc: .......... fppc: Finish Setup successful. fppc: The cloning of wc_db_193_orig was successful. fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details. fppc: fppc: Setup Oracle Base in progress. fppc: fppc: Setup Oracle Base successful. fppc: .................................................. 95% Done. fppc: fppc: As a root user, execute the following script(s): fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh fppc: fppc: .................................................. 100% Done. fpps.localdomain: Successfully executed clone operation. fpps.localdomain: Executing root script on nodes fppc. fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output of root script fpps.localdomain: Successfully executed root script on nodes fppc. fpps.localdomain: Working copy creation completed. [grid@fpps ~]$ fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only install. For more details on image based installation, refer to help documentation. fppc: fppc: Starting Oracle Universal Installer... fppc: fppc: You can find the log of this install session at: fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log fppc: .................................................. 5% Done. fppc: .................................................. 10% Done. fppc: .................................................. 50% Done. fppc: .......... fppc: Finish Setup successful. fppc: The cloning of wc_db_193_orig was successful. fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details. fppc: fppc: Setup Oracle Base in progress. fppc: fppc: Setup Oracle Base successful. fppc: .................................................. 95% Done. fppc: fppc: As a root user, execute the following script(s): fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh fppc: fppc: .................................................. 100% Done. fpps.localdomain: Successfully executed clone operation. fpps.localdomain: Executing root script on nodes fppc. fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output of root script fpps.localdomain: Successfully executed root script on nodes fppc. fpps.localdomain: Working copy creation completed. [grid@fpps ~]$
  • 21. 21© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Workingcopies - Is a deployed image into a client or target – installed version of the software, ready to be used - ‘add workingcopy’ executes all steps required to complete the instalation - This copy is on client storage, can be on ACFS or local storage [grid@fpps ~]$ rhpctl add workingcopy -workingcopy wc_db_193_orig -image db_19300 -targetnode fppc -user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba -oraclebase /u01/app/oracle -path /u01/app/oracle/product/193/dbhome_1 -root Enter user "root" password: fpps.localdomain: Audit ID: 37 fpps.localdomain: Option storagetype is set to the following default value: LOCAL. fpps.localdomain: Storing metadata in repository for working copy "wc_db_193_orig" ... fpps.localdomain: Connecting to node fppc ... fpps.localdomain: Starting transfer for remote copy ... fpps.localdomain: Starting clone operation... fpps.localdomain: Using inventory file /etc/oraInst.loc to clone ... fppc: fppc: fppc: [INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is equivalent to performing a Software Only installation from the image. fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only install. For more details on image based installation, refer to help documentation. fppc: fppc: Starting Oracle Universal Installer... fppc: fppc: You can find the log of this install session at: fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log fppc: .................................................. 5% Done. fppc: .................................................. 10% Done. fppc: .................................................. 50% Done. fppc: .......... fppc: Finish Setup successful. fppc: The cloning of wc_db_193_orig was successful. fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details. fppc: fppc: Setup Oracle Base in progress. fppc: fppc: Setup Oracle Base successful. fppc: .................................................. 95% Done. fppc: fppc: As a root user, execute the following script(s): fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh fppc: fppc: .................................................. 100% Done. fpps.localdomain: Successfully executed clone operation. fpps.localdomain: Executing root script on nodes fppc. fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output of root script fpps.localdomain: Successfully executed root script on nodes fppc. fpps.localdomain: Working copy creation completed. [grid@fpps ~]$ fppc: You must use /u01/app/oracle/product/193/dbhome_1/runInstaller script available to perform the Software Only install. For more details on image based installation, refer to help documentation. fppc: fppc: Starting Oracle Universal Installer... fppc: fppc: You can find the log of this install session at: fppc: /u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log fppc: .................................................. 5% Done. fppc: .................................................. 10% Done. fppc: .................................................. 50% Done. fppc: .......... fppc: Finish Setup successful. fppc: The cloning of wc_db_193_orig was successful. fppc: Please check '/u01/app/oraInventory/logs/cloneActions2020-08-18_10-13-44PM.log' for more details. fppc: fppc: Setup Oracle Base in progress. fppc: fppc: Setup Oracle Base successful. fppc: .................................................. 95% Done. fppc: fppc: As a root user, execute the following script(s): fppc: 1. /u01/app/oracle/product/193/dbhome_1/root.sh fppc: fppc: .................................................. 100% Done. fpps.localdomain: Successfully executed clone operation. fpps.localdomain: Executing root script on nodes fppc. fppc: Check /u01/app/oracle/product/193/dbhome_1/install/root_fppc_2020-08-18_22-16-01-218802424.log for the output of root script fpps.localdomain: Successfully executed root script on nodes fppc. fpps.localdomain: Working copy creation completed. [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query workingcopy fpps.localdomain: Audit ID: 38 Working copy name: wc_db_19300 Working copy name: wc_db_193_orig [grid@fpps ~]$ [grid@fpps ~]$ rhpctl query workingcopy fpps.localdomain: Audit ID: 38 Working copy name: wc_db_19300 Working copy name: wc_db_193_orig [grid@fpps ~]$
  • 22. 22© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Patches and upgrades - All is performed by single commands using rhpctl:  Patching: move { database | gihome } / movepdb database  Upgrade: { upgrade | zdtupgrade } database / upgrade gihome  Can combine both, adding more parameters to the command - Patching example: [grid@fpps ~]$ rhpctl move database -patchedwc wc_db_19700 -sourcewc wc_db_193 -dbname OLD19 -root Enter user "root" password: fpps.localdomain: Audit ID: 44 fpps.localdomain: verifying versions of Oracle homes ... fpps.localdomain: verifying owners of Oracle homes ... fpps.localdomain: verifying groups of Oracle homes ... fpps.localdomain: starting to move the following databases: "OLD19" fpps.localdomain: restarting databases: "OLD19" ... fppc: fppc: SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 18 23:37:11 2020 fppc: Version 19.3.0.0.0 Fppc: ... fppc: Patch installation complete. Total patches installed: 3 ...
  • 23. 23© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Test using vagrant server (FPPS): 16Gb RAM client (FPPC) - optional: 8Gb RAM, unmanaged https://blogs.oracle.com/db_maintenance/oracle-fleet-patching-and-provisioning-meets-vagrantvirtualbox $ git clone https://github.com/oracle/vagrant-boxes $ cd vagrant-boxes/OracleFPP
  • 24. 24© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Examples using vagrant boxes If on Windows, some old issues can be fixed easily (on WLS 10): $ git clone https://github.com/oracle/vagrant-boxes $ cd vagrant-boxes/OracleFPP $ cd scripts $ dos2unix *.sh Examples: - Validate initial deployment – 2m - Create gold image of DB 19.3 using OTN binaries from https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html – 14m (video 2:07s) - Provision gold image (creating working copy) in host not managed by FPP (target) – 9m (video 1:41s) - Provision DB in that client home (one command BD creation) – 22m (video 1:43s)
  • 25. 25© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Examples using vagrant boxes If on Windows, some old issues can be fixed easily (on WLS 10): $ git clone https://github.com/oracle/vagrant-boxes $ cd vagrant-boxes/OracleFPP $ cd scripts $ dos2unix *.sh Examples: - Validate initial deployment – 2m - Create gold image of DB 19.3 using OTN binaries from https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html – 14m (video 2:07s) - Provision gold image (creating working copy) in host not managed by FPP (target) – 9m (video 1:41s) - Provision DB in that client home (one command BD creation) – 22m (video 1:43s) DEMODEMO
  • 26. 26© Pythian Services Inc. 2020© Pythian Services Inc. 2020 More examples in docs Several scenarios covered in public documentation: https://docs.oracle.com/en/database/oracle/oracle-database/19/cwadd/rapid-home-provisioning.html#GUID-4A987DBE-1BBC-4FEE-B576-A06308AA05C 8  Creating an Oracle Grid Infrastructure 12c Release 2 Deployment  Provisioning an Oracle Database Home and Creating a Database  Provisioning a Pluggable Database  Upgrading to Oracle Grid Infrastructure 12c Release 2  Patching Oracle Grid Infrastructure Without Changing the Grid Home Path  Patching Oracle Grid Infrastructure and Oracle Databases Simultaneously  Patching Oracle Database 12c Release 1 Without Downtime  Upgrading to Oracle Database 12c Release 2  Adding a Node to a Cluster and Scaling an Oracle RAC Database to the Node  Adding Gold Images for Fleet Patching and Provisioning  User Actions for Common Fleet Patching and Provisioning Tasks
  • 27. 27© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Patching a database home FPP single command operation Manual task - Create a working copy of the DB to be patched - Apply patches to the working copy - Test and validate the patched home - Create a gold image using the patching working copy - Delete the patched working copy with the patched DB - Create a working copy from the patched gold image - Move the DB to the working copy - Test and validate DB on patched home - Delete the working copy
  • 28. 28© Pythian Services Inc. 2020© Pythian Services Inc. 2020 Patching a database home FPP single command operation Manual task - Create a working copy of the DB to be patched - Apply patches to the working copy - Test and validate the patched home - Create a gold image using the patching working copy - Delete the patched working copy with the patched DB - Create a working copy from the patched gold image - Move the DB to the working copy - Test and validate DB on patched home - Delete the working copy DEMODEMO
  • 29. 29© Pythian Services Inc. 2020© Pythian Services Inc. 2020 More features to explore not covered here - Adaptive RAC Rolling OJVM Patching - Zero-Downtime database upgrades - Exadata Targets (Storage Cells, DB Nodes, IB switch) - Peer-to-Peer Services - Scan Fleet - RESTful API - Authentication plug-in - Notifications - FPP server backup and restore
  • 30. © Pythian Services Inc. 2020 30© Pythian Services Inc. 2020 THANK YOU Questions? calero@pythian.com @ncalerouy http://www.linkedin.com/in/ncalero
  • 31. 31© Pythian Services Inc. 2020© Pythian Services Inc. 2020 References • https://www.oracle.com/technetwork/database/database-technologies/cloud-storage/acfs/learnmore/oraclefpp-19c-datasheet-54 86895.html • https://blogs.oracle.com/db_maintenance/oracle-fleet-patching-and-provisioning-meets-vagrantvirtualbox • ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1) • RHP: Rapid Home Provisioning Server - Minimum Requirement (Doc ID 2126710.1) • Pre-requisite Checks For Setting Up Fleet Environment (Doc ID 2434264.1) • How To Setup a Rapid Home Provisioning (RHP) Server and Client (Doc ID 2097026.1) • Rapid Home Provisioning (RHP) setup in "1-Click" (Doc ID 2124960.1) • FPPBR Fleet Patching and Provisioning - Backup & Restore Utility (Doc ID 2566782.1)