Oracle Fleet Patching and Provisioning Server Self-upgrade

Perform these steps when upgrading Oracle Grid Infrastructure to 26ai 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 AI Database 26ai software image on the Oracle FPP Server.
    $ rhpctl import image -image db26ai -zip db_zip_file_path -imagetype ORACLEDBSOFTWARE

    Note:

    Starting with Oracle Grid Infrastructure 26ai, Grid Infrastructure Management Repository (GIMR) is desupported. As part of this self-upgrade procedure, Oracle FPP removes GIMR and migrates the Oracle FPP metadata to a new single-instance database named fpprepos. This procedure uses the db26ai image imported in this step and the Oracle AI Database home specified in step 3.
  2. Import an Oracle Grid Infrastructure 26ai software image on the Oracle FPP Server.
    $ rhpctl import image -image gi26ai -zip gi_image_zip_path 
    -imagetype ORACLEGISOFTWARE
  3. Add Oracle AI Database 26ai working copy on the Oracle FPP Server.
    $ rhpctl add workingcopy -workingcopy fpp_db_working_copy -image db26ai -path path_to_db_26ai_home 
    -oraclebase Oracle_base_path -storagetype LOCAL -ignoreprereq
  4. Add software only Oracle Grid Infrastructure 26ai working copy on the Oracle FPP Server.
    $ rhpctl add workingcopy -workingcopy gi26ai_wc -path path_to_GI_26ai_home 
    -oraclebase Oracle_base_path -softwareonly  -image gi26ai
  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. As the root user, set the $ORACLE_HOME environment variable to the location of the new Grid home.
    # export ORACLE_HOME=path_to_GI_26ai_home
  7. As the root user, change ownership of rhp.pref to the CRS user on all cluster nodes.
    # path_to_GI_26ai_home/bin/fppsPreGIUpg.sh
  8. Evaluate the self-upgrade operation impact.
    $ path_to_GI_26ai_home/bin/rhpctl.sh upgrade gihome -sourcehome old_GI_home -destwc gi26ai_wc 
    -batches "(node1),(node2,node3,nodeX)" -fppdbwc fpp_db_working_copy -eval
    If there are any errors during evaluation, then fix them before continuing.

    Note:

    • The first batch must contain only one node.
    • The node names in the example batches are placeholders.
    • 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.
    $ path_to_GI_26ai_home/bin/rhpctl.sh upgrade gihome -sourcehome old_GI_home -destwc gi26ai_wc 
    -batches "(node1),(node2,node3,nodeX)" -fppdbwc fpp_db_working_copy -ignorecvucheck
  10. Run the upgrade gihome command with the -continue option.
    $ path_to_GI_26ai_home/bin/rhpctl.sh upgrade gihome -destwc gi26ai_wc -continue