Oracle FPP Local ModeでのOracle Update Advisorの使用

Oracle FPP Local ModeでOracle Update Advisorを使用して現在のOracleホームを評価し、パッチ適用済ゴールド・イメージをダウンロードする方法について説明します。

  1. Oracle FPP Local ModeのシステムでOracle Update Advisorのユーザーを登録します。
    $ rhpctl manage updateadvisor -registeruser -ssousername abc.xyz@example.com -csinumber 18890944
    Enter user "abc.xyz@example.com" REDACTED: *****
    mbcluster-1: Audit ID: 91
    Registering user to Oracle update advisor ...
    Successfully registered user to Oracle update advisor.

    ノート:

    パッチ適用済ゴールド・イメージをダウンロードできるように、カスタマ・サポートID (CSI)を指定する必要があります。
  2. Oracleホームに適用されている現在のパッチを評価し、パッチ適用済イメージを生成して、Oracle Update Advisorから最適なパッチ適用戦略に関する推奨事項を取得します。
    $ rhpctl evaluate patch -path /u01/app/oracle/product/23.7.0/dbhome_1 -updatelag LATEST -generateimage
    Performing software health check for home "/u01/app/oracle/product/23.7.0/dbhome_1".
    Request to check the software health status and recommendation for the home "/u01/app/oracle/product/23.7.0/dbhome_1"
    Request id: 20055
    Check back after estimated time: "2h" using below command.
    rhpctl query patch -requestid 20055
  3. 見積時間経過後に要求ステータスを確認します。
    $ rhpctl query patch -requestid 20055
    Software health status : "RED"
    Software health comment : "More than one cycle behind your policy.."
    Software Type : "DB"   
    Current version : "23.7.0.0.0"   
    Recommended version : "23.9"
    Image is available to download. Please download it using below command. 
    rhpctl download image -requestid 20055 -downloadlocation <location>
  4. パッチ適用済ゴールド・イメージをダウンロードします。
    $ rhpctl download image -requestid 20055 -downloadlocation /tmp
    Downloading image ...
    Downloaded "1,304,788,992" bytes so far, continuing download...
    Downloaded "2,941,796,352" bytes so far, continuing download...
    Downloaded "4,370,695,489" bytes so far, continuing download...
    Image download succesfully at location "/tmp".
  5. Oracle FPP Local Modeを使用したパッチ適用の実行で説明されているステップに従って、Oracle DatabaseホームまたはOracle Grid Infrastructureホームにパッチを適用します。

    ノート:

    Oracle FPPローカル・モードをOracle Restartとともに使用する場合は、Oracle Grid Infrastructure (Oracle Restart)ホームではなく、Oracle Databaseホームにパッチを適用できます。