An Oracle blog about Database and Grid Infrasructure Maintenance

  • December 19, 2019

Oracle Fleet Patching and Provisioning meets Vagrant\VirtualBox

Ruggero Citton
Product Development Architect

Oracle Fleet Patching & Provisioning for Vagrant boxes is now reality!

Beside OracleRAC, OracleDG, We made possible OracleFPP Oracle Fleet Patching and Provisioning Environment for test and learning purpose (!)

- Oracle Fleet Patching & Provisioning (formerly known as Oracle Rapid Home Provisioning) presents a standard method for provisioning, patching and upgrading the Oracle Database estate in a unified manner across an entire enterprise. Oracle FPP solution standardizes and simplifies software distribution and lifecycle management.
(see the whitepaper for a better understanding at https://www.oracle.com/technetwork/database/database-technologies/cloud-storage/acfs/learnmore/oraclefpp-19c-wp-5486894.html)
- Vagrant is an open-source software product for building and maintaining portable virtual software development environments, e.g. for VirtualBox.
Getting started with Fleet Patching & Provisioning (FPP) for Vagrant boxes is quick and easy! If you have not done so yet, you will need to download and install the following:
- Oracle VM VirtualBox
- Vagrant
Once you have installed those two components you can go ahead and clone/download the GitHub repository : https://github.com/oracle/vagrant-boxes
and create your own Oracle Fleet Patching & Provisioning Vagrant boxes, within one single command: "vagrant up" (!)
Such env it's making possible (based on configuration file: "./config/vagrant.yml") :
-to setup an Oracle FPP Server and Client (FPP Target) on host-only (private) Virtualbox network
-to setup an Oracle FPP Server (only) on public network (to be used with targets on your own network)

After the deploy, the user can play with all FPP commands such "rhpctl import image", "rhpctl add workingcopy", "rhpctl add database",....
Understanding the product and doing practice!

FPP@Vagrant\VBox - Environment Setup "1-click" (!)

$ git clone https://github.com/oracle/vagrant-boxes
$ cd vagrant-boxes/OracleFPP

(download required GI/RDBMS binaries, see the README.md)

$ vagrant up
SUCCESS: 2019-12-13 09:00:00: Your FPP env has been crated successfully!

FPP@Vagrant\VBox - Usage

 - Connect FPP host (node1)

$ cd vagrant-boxes/OracleFPP
$ vagrant ssh node1

- Change the user to "grid"

[vagrant@ol7-fpp-fpps ~]$ su - grid

- Perform FPP commands (i.e.):

rhpctl import image -image db_19300 -imagetype ORACLEDBSOFTWARE -zip /vagrant/ORCL_software/LINUX.X64_193000_db_home.zip
rhpctl import image -image gi_19300 -imagetype ORACLEGISOFTWARE -zip /vagrant/ORCL_software/LINUX.X64_193000_grid_home.zip
rhpctl add workingcopy -workingcopy wc_db_19300 -image db_19300 -user oracle -groups OSBACKUP=dba,OSDG=dba,OSKM=dba,OSRAC=dba \
                        -oraclebase /u01/app/oracle -path /u01/app/oracle/product/193000/dbhome_1 -targetnode ol7-193-fppc -root \
                        -rhpctl add database -workingcopy wc_db_19300 -dbname ORCL \
                        -dbtype SINGLE -cdb -pdbName PDB -numberOfPDBs 2 -root


Join the discussion

Comments ( 1 )
  • kosseila Wednesday, June 24, 2020
    love i can't wait to try it .
    thanks. I read that it works fo exadata too but how about ODA ?
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.