Oracle Fleet Patching and Provisioningサーバーの自己アップグレード

Oracle Fleet Patching and Provisioning (Oracle FPP)サーバーの自己アップグレード機能を使用してOracle Grid Infrastructureを23aiにアップグレードする場合は、次のステップを実行します。

ノート:

自己アップグレードを開始する前に、Oracle Grid Infrastructure 19cホームをリリース更新(RU) 19.25以降にアップグレードしてください。
  1. Oracle FPPサーバーにOracle Database 23aiソフトウェア・イメージをインポートします。
    $ rhpctl import image -image db23ai -zip db_zip_file_path 
    -imagetype ORACLEDBSOFTWARE
  2. Oracle FPPサーバーにOracle Grid Infrastructure 23aiソフトウェア・イメージをインポートします。
    $ rhpctl import image -image gi23ai -zip gi_image_zip_path 
    -imagetype ORACLEGISOFTWARE
  3. Oracle FPPサーバーにOracle Database 23ai作業用コピーを追加します。
    $ rhpctl add workingcopy -workingcopy fppdbwc -image db23ai -path path_to_db_23ai_home 
    -oraclebase Oracle_base_path -storagetype LOCAL -ignoreprereq
  4. Oracle FPPサーバーにソフトウェアのみのOracle Grid Infrastructure 23aiの作業用コピーのみを追加します。
    $ rhpctl add workingcopy -workingcopy gi23ai_wc -path path_to_GI_23ai_home 
    -oraclebase Oracle_base_path -softwareonly  -image gi23ai
  5. Oracle FPPサーバーのメタデータのバックアップを作成します。
    $ srvctl stop rhpserver
    $ rhprepos export -expfile /u01/app/rhp19c_bck/19c_backup.dmp
    $ srvctl start rhpserver
    ディレクトリに同じ名前の別のファイルが含まれていないことを確認します。含まれている場合は、エラーが発生します。
  6. 環境変数$ORACLE_HOMEを新しいGridホームの場所に設定します。
    # export ORACLE_HOME=/u01/app/23.0.0/grid
  7. rootユーザーとして、すべてのクラスタ・ノードでCRSユーザーのrhp.prefの所有権を変更します。
    $ Grid_home/bin/fppsPreGIUpg.sh
  8. 自己アップグレード操作の影響を評価します。
    $ Grid_home/bin/rhpctl.sh upgrade gihome -sourcehome old_GI_home -destwc GI_23ai_working_copy_name 
    -batches "(batch1),(batch2)" -eval
    評価中にエラーが発生した場合は、続行する前に修正してください。

    ノート:

    • 最初のバッチは1つのバッチである必要があります。
    • まだ手動で削除していない場合は、このステップで、Oracle Grid Infrastructure Management Repository (GIMR)も削除されます。
  9. upgradeコマンドをバッチで実行します。
    $ 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. -continueオプションを指定してupgrade gihomeコマンドを実行します。
    $ Grid_home/bin/rhpctl.sh upgrade gihome -destwc GI_23ai_working_copy_name -continue