Stop the CRS managed resources running from DB homes.
If this is a GI Home environment, as the database home owner execute:
$
If this is an Oracle Restart Home environment, as the database home owner execute:
$
岫巖ssl適用于網(wǎng)站、小程序/APP、API接口等需要進(jìn)行數(shù)據(jù)傳輸應(yīng)用場(chǎng)景,ssl證書(shū)未來(lái)市場(chǎng)廣闊!成為成都創(chuàng)新互聯(lián)的ssl證書(shū)銷(xiāo)售渠道,可以享受市場(chǎng)價(jià)格4-6折優(yōu)惠!如果有意向歡迎電話(huà)聯(lián)系或者加微信:18980820575(備注:SSL證書(shū)合作)期待與您的合作!
Run the pre root script.
If this is a GI Home, as the root user execute:
If this is an Oracle Restart Home, as the root user execute:
Roll back the CRS patch. As the GI home owner execute:
$
$
$
Run the pre script for DB component of the patch. As the database home owner execute:
$
Roll back the DB patch from the database home. As the database home owner execute:
$
$
Run the post script for DB component of the patch. As the database home owner execute:
$
Run the post script. As the root user execute:
If this is a GI Home, as the root user execute:
If this is an Oracle Restart Home, as the root user execute:
If the message, "A system reboot is recommended before using ACFS??? is shown, then a reboot must be issued before continuing. Failure to do so will result in running with an unpatched ACFS\ADVM\OKS driver.
1.關(guān)閉一節(jié)點(diǎn)數(shù)據(jù)庫(kù):
$ srvctl stop home -o $ORACLE_HOME -s /tmp/stophome1.log -n rac2
2.鎖定一節(jié)點(diǎn)GI:
/u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock
3.回滾GI HOME下的補(bǔ)丁包,用GI用戶(hù)執(zhí)行:
$ $ORACLE_HOME/OPatch/opatch rollback -local -id 27441052 -oh $ORACLE_HOME
$ $ORACLE_HOME/OPatch/opatch rollback -local -id 22502505 -oh $ORACLE_HOME
$ $ORACLE_HOME/OPatch/opatch rollback -local -id 27338049 -oh $ORACLE_HOME
4.用oracle用戶(hù)使用腳本檢測(cè):
$/u01/app/stage/27475913/27441052/custom/server/27441052/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
5.回滾database home下的補(bǔ)丁包,用oracle用戶(hù)執(zhí)行:
$ORACLE_HOME/OPatch/opatch rollback -local -id 27441052 -oh $ORACLE_HOME
$ORACLE_HOME/OPatch/opatch rollback -local -id 27338049 -oh $ORACLE_HOME
6.執(zhí)行腳本使用oracle用戶(hù):
$/u01/app/stage/27475913/27441052/custom/server/27441052/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME
7.執(zhí)行腳本使用root用戶(hù):
/u01/app/11.2.0/grid/rdbms/install/rootadd_rdbms.sh
/u01/app/11.2.0/grid/crs/install/rootcrs.pl -patch
8.開(kāi)啟節(jié)點(diǎn)實(shí)例:
$ srvctl start home -o $ORACLE_HOME -s /tmp/stophome1.log -n rac2
9.更新數(shù)據(jù)字典(單節(jié)點(diǎn)運(yùn)行):
---更新數(shù)據(jù)字典
SQL> @?/rdbms/admin/catbundle.sql psu apply
---編譯java類(lèi)
SQL> @?/rdbms/admin/utlrp.sql
select * from dba_registry_history;