Oracle Fleet Patching and Provisioning Server Self-upgrade

Perform these steps when upgrading Oracle Grid Infrastructure to 23ai using the Oracle Fleet Patching and Provisioning (Oracle FPP) Server self-upgrade feature.

Note:

Upgrade to Oracle Grid Infrastructure 19c home to Release Update (RU) 19.25 or later before starting the self-upgrade.
  1. Import an Oracle Database 23ai software image on the Oracle FPP Server.
    $ rhpctl import image -image db23ai -zip db_zip_file_path 
    -imagetype ORACLEDBSOFTWARE
  2. Import an Oracle Grid Infrastructure 23ai software image on the Oracle FPP Server.
    $ rhpctl import image -image gi23ai -zip gi_image_zip_path 
    -imagetype ORACLEGISOFTWARE
  3. Add Oracle Database 23ai working copy on the Oracle FPP Server.
    $ rhpctl add workingcopy -workingcopy fppdbwc -image db23ai -path path_to_db_23ai_home 
    -oraclebase Oracle_base_path -storagetype LOCAL -ignoreprereq
  4. Add software only Oracle Grid Infrastructure 23ai working copy on the Oracle FPP Server.
    $ rhpctl add workingcopy -workingcopy gi23ai_wc -path path_to_GI_23ai_home 
    -oraclebase Oracle_base_path -softwareonly  -image gi23ai
  5. Create a backup of the Oracle FPP Server metadata.
    $ srvctl stop rhpserver
    $ rhprepos export -expfile /u01/app/rhp19c_bck/19c_backup.dmp
    $ srvctl start rhpserver
    Ensure that the directory does not contain another file with the same name, otherwise you will get an error.
  6. Set the environment variable $ORACLE_HOME to the location of the new Grid home.
    # export ORACLE_HOME=/u01/app/23.0.0/grid
  7. As the root user, change ownership of the rhp.pref with CRS user on all cluster nodes.
    $ Grid_home/bin/fppsPreGIUpg.sh
  8. Evaluate the self-upgrade operation impact.
    $ Grid_home/bin/rhpctl.sh upgrade gihome -sourcehome old_GI_home -destwc GI_23ai_working_copy_name 
    -batches "(batch1),(batch2)" -eval
    If there are any errors during evaluation, then fix them before continuing.

    Note:

    • The first batch needs to be a batch of one.
    • This step also deletes the Oracle Grid Infrastructure Management Repository (GIMR), if you have not already deleted it manually.
  9. Run the upgrade command in batches.
    $ Grid_home/bin/rhpctl.sh upgrade gihome -sourcehome old_GI_home -destwc GI_23ai_working_copy_name 
    -batches "(batch1),(batch2)" -fppdbwc fpp_db_working_copy -ignoreprereq
  10. Run the upgrade gihome command with the -continue option.
    $ Grid_home/bin/rhpctl.sh upgrade gihome -destwc GI_23ai_working_copy_name -continue