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

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

ノート:

自己アップグレードを開始する前に、Oracle Grid Infrastructureの19cホームにバグ#36226033の修正が存在することを確認する必要があります。
  1. Oracle FPPサーバーのメタデータのバックアップを作成します。
    $ srvctl stop rhpserver
    $ rhprepos export -expfile /u01/app/rhp19c_bck/19c_backup.dmp
    $ srvctl start rhpserver
    ディレクトリに同じ名前の別のファイルが含まれていないことを確認します。含まれている場合は、エラーが発生します。
  2. Oracle FPPサーバーにOracle Database 23aiソフトウェア・イメージをインポートします。
    $ rhpctl import image -image db23ai -zip db_zip_file_path 
    -imagetype ORACLEDBSOFTWARE
  3. Oracle FPPサーバーにOracle Grid Infrastructure 23aiソフトウェア・イメージをインポートします。
    $ rhpctl import image -image gi23ai -zip gi_image_zip_path 
    -imagetype ORACLEGISOFTWARE
  4. 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
  5. 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
  6. rootユーザーとして、すべてのクラスタ・ノードでCRSユーザーのrhp.prefの所有権を変更します。
    $ Grid_home/bin/fppsPreGIUpg.sh
  7. 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
  8. -continueオプションを指定してupgrade gihomeコマンドを実行します。
    $ Grid_home/bin/rhpctl.sh upgrade gihome -destwc GI_23ai_working_copy_name -continue