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

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

  1. Oracle FPPサーバーでOracle Update Advisorのユーザーを登録します。
    $ rhpctl manage updateadvisor -registeruser -ssousername abc.xyz@example.com -csi 18890944
    Enter user "abc.xyz@example.com" REDACTED: *****
    mbcluster-1: Audit ID: 97
    Registering user to Oracle update advisor ...
    Successfully registered user to Oracle update advisor.

    ノート:

    パッチ適用済ゴールド・イメージをダウンロードできるように、カスタマ・サポートID (CSI)を指定する必要があります。
  2. 自分のゴールド・イメージまたはOracleホームに適用されている現在のパッチを評価して、Oracle Update Advisorから最適なパッチ適用戦略に関する推奨事項を取得します。
    $ rhpctl evaluate patch -image DB236000 -updatelag LATEST
    Performing software health check for image "DB236000".
    Software health status: "RED"
    Software health comment: "More than one cycle behind your policy.."
    Software Type: "DB"
    Current version: "23.6.0.24.10"
    Recommended version: "23.8"
    updateLag policy: latest(default)
    applyFrequency policy: quarterly (default)
  3. 入力ポリシーとリクエストした追加のパッチまたはバグ番号に基づいてゴールド・イメージをダウンロードします。Oracle Update Advisorがパッチ適用済イメージをOracle Advanced Cluster File System (Oracle ACFS)ボリュームに直接ダウンロードし、Oracle FPPがパッチ適用済イメージを既存のゴールド・イメージにインポートします。
    $ rhpctl evaluate patch -image DB236000 -generateimage -importtoimage DB238000
    Operation "rhpctl evaluate patch" scheduled with the job ID "53".
    -pathは、評価するOracle Grid InfrastructureホームまたはOracle Databaseホームのいずれかです。
  4. ジョブのステータスをチェックしてください。現在のステータスがEXECUTINGの場合は、見積時間の後に再度確認します。
    $ rhpctl query job -jobid 53
    Job ID: 53
    User: grid
    Client: abc-rac1
    Scheduled job command: "rhpctl evaluate patch -image DB236000 -generateimage -importtoimage DB238000"
    Scheduled job execution start time: 2025-07-01T09:33:44Z. Equivalent local time: 2025-07-01 09:33:44
    Current status: EXECUTING
    Result file path: "/u01/app/obase/rhp_storage/chkbase/scheduled/job-53-2025-07-01-09:33:53.log"
    Metrics file path: "/u01/app/obase/rhp_storage/chkbase/scheduled/job-53-2025-07-01-09:33:53.json"
    Job execution start time: 2025-07-01 09:33:53     
    
    Result file "/u01/app/obase/rhp_storage/chkbase/scheduled/job-53-2025-07-01-09:33:53.log" contents:
    ======================JOB_EXECUTION_DETAILS_START======================
    User: grid
    Client: abc-rac1
    Scheduled job command: "rhpctl evaluate patch -image DB236000 -generateimage -importtoimage DB238000"
    Job execution start time: 2025-07-01 09:33:53
    Current status: EXECUTING
    =======================JOB_EXECUTION_DETAILS_END=======================
    ...
    Software health status: "RED"
    Software health comment: "More than one cycle behind your policy."
    Software Type: "DB"
    Current version: "23.6.0.24.10"
    Recommended version: "23.8"
    updateLag policy: latest (default)
    applyFrequency policy: quarterly (default)
    ...
    Downloading image...
    Downloaded "1,442,775,040" bytes so far, continuing download...
    Downloaded "2,786,754,560" bytes so far, continuing download...
    Downloaded "3,961,995,124" bytes so far, continuing download...
    Image downloaded succesfully at location "/u01/app/obase/rhp_storage/images/ipatchplanimage405412/swhome".
    Importing image "DB238000"...                                                                               
    
    Creating a new ACFS file system for image "DB238000" ... 
    ...                                                                               
    Executing detach home operation...
    ========================================
    Starting Oracle Universal Installer... 
    ...
    Successfully executed detach home operation.
  5. Oracle Databaseのパッチ適用およびアップグレードおよびOracle Grid Infrastructureのパッチ適用およびアップグレードに説明されているステップに従って、Oracle DatabaseホームおよびOracle Grid Infrastructureホームにパッチを適用します。