FPP Patching Using REST API

To deploy software images and patch using REST API use the following examples.

To deploy and update a database using FPP and REST API use the following sample files. With a URI of /em/api/fleetOperations and a POST request method.
  • Standby Databases
    {
      "deploy": {
        "name": "Deploy OH",
        "workingDirectory": "/tmp",
        "newOracleHomeLocation": "/<location>/cuser/app/db_home/19.16/primary_home",
        "workingCopyPrefix": "WC_standby_db_patch",
        "skipCVUChecks": false,
        "skipPrerequisites": false,
        "standbyAutoDeploy": false,
        "fppOptions": {
          "storagetype": "LOCAL"
        },
        "fppRestUser": "restuser",
        "normalCredential": "CUSER:SYSMAN",
        "targetList": [
          "FINPRO00"
        ],
        "targetType": "rac_database"
      },
      "update": {
        "name": "Update RAC",
        "workingDirectory": "/tmp",
        "skipCVUChecks": false,
        "startupafterswitch": true,
        "disableDataGuard": false,,
        "dgRole": "standby",
        "skipValidations": "true",
        "fppRestUser": "restuser",
        "normalCredential": "CUSER:SYSMAN",
        "targetList": [
          "STANDBY_DB"
        ],
        "targetType": "rac_database"
      }
    }
  • Primary Databases
    {
      "deploy": {
        "name": "Deploy OH",
        "workingDirectory": "/tmp",
        "newOracleHomeLocation": "/<location>/cuser/app/db_home/19.16/primary_home",
        "workingCopyPrefix": "WC_primary_db_patch",
        "skipCVUChecks": false,
        "skipPrerequisites": false,
        "standbyAutoDeploy": false,
        "fppOptions": {
          "storagetype": "LOCAL"
        },
        "fppRestUser": "restuser",
        "normalCredential": "CUSER:SYSMAN",
        "targetList": [
          "FINPRO00"
        ],
        "targetType": "rac_database"
      },
      "update": {
        "name": "Update RAC",
        "workingDirectory": "/tmp",
        "skipCVUChecks": false,
        "enableDataguard": true,
        "enableFSFO": true,
        "startupStandby": true,
        "dgRole": "primary",
        "skipValidations": "true",
        "fppRestUser": "restuser",
        "normalCredential": "CUSER:SYSMAN",
        "targetList": [
          "PRIMARY_DB"
        ],
        "targetType": "rac_database"
      }
    }