PSU之解除安裝與安裝
本文介紹如何解除安裝及安裝ORACLE之PSU
關鍵詞:ORACLE、PSU、OPatch
環境:作業系統rhel5.8 資料庫版本10.2.0.5 PSU:10.2.0.5.12 p16619894_10205_Linux-x86-64.zip
檢視OPatch工具版本、建議更新到最新版本
#opatch version
#unzip p6880880_102000_Linux-x86-64.zip -d $ORACLE_HOME
解除安裝PSU
1、shutdown immediate
2、lsnrctl stop
3、opatch lsinventory
4、opatch rollback -id 16619894
5、startup
6、@catbundle_PSU_<database SID>_ROLLBACK.sql
7、@utlrp.sql
8、重啟資料庫
記錄:
[oracle@scn soft]$ opatch lsinventory
Patch 16619894 : applied on Sun Dec 20 23:02:04 CST 2015
Unique Patch ID: 16519126
Created on 28 Jun 2013, 01:27:47 hrs PST8PDT
Bugs fixed:
13596521, 8865718, 11790175, 13489660, 9020537, 9772888, 8650138
8664189, 10091698, 14275629, 14469008, 10092858, 12551710, 7519406
9821321, 13349665, 8771916, 7509714, 16619894, 8822531, 10139235
10159846, 13257247, 8350262, 11792865, 7119382, 13632738, 11724962
16309604, 16309605, 16309606, 8966823, 9320130, 16961614, 16961615
13775862, 16961616, 11674645, 16961617, 16961618, 15877957, 7026523
16961619, 15877958, 15877959, 9399589, 14841459, 9672816, 13503598
9499302, 9150282, 9448311, 9659614, 13632743, 14220725, 9949948, 8882576
10327179, 7612454, 7111619, 9711859, 9714832, 9735237, 9952230, 15877960
12780098, 13561951, 15877961, 15877962, 14665116, 15877963, 8660422
11066597, 16703112, 16279401, 14546673, 14105702, 14459552, 9713537
14105703, 14105704, 13483152, 13737773, 13737775, 14269955, 12925532
12748240, 9694101, 14390396, 12862186, 12862187, 10249537, 14727319
9586877, 8211733, 6694396, 9548269, 7115910, 7710224, 9337325, 8354642
7602341, 14076510, 10157402, 11856395, 12565867, 6402302, 10327190
10269717, 13015379, 11693109, 14023636, 10017048, 8546356, 8394351
9024850, 13561750, 8224558, 9770451, 9360157, 8488233, 9109487, 10132870
14841558, 9171933, 16817117, 10173237, 9532911, 10068982, 7361418
10306945, 8666117, 11725006, 6157713, 10214450, 9184754, 14205448
8544696, 9767674, 16306019, 9323583, 8277300, 13343467, 16279211
9726739, 16382448, 13791364, 8412426, 10326338, 10165083, 10208905
12419392, 6651220, 9145204, 13554409, 11076894, 7450366, 11893577
8970313, 14492313, 6690853, 6011045, 14492314, 11814891, 10162036
14492315, 10248542, 14492316, 16742123, 9469117, 13359623, 9952270
9842573, 13343471, 12710774, 10324526, 14546638, 12419258, 9322219
8636407, 16056270, 10010310, 12828105, 9689310, 9390484, 13736501
13736502, 9824435, 13736503, 13736504, 13736505, 13736506, 9963497
9032322, 13736507, 12551700, 12551701, 14035825, 12551702, 11858315
12551703, 12551704, 10076669, 16270946, 12551705, 12551706, 14040433
12551707, 6076890, 14258925, 12551708, 9308296, 13916709, 12827745
12880299, 14038805, 13923855, 9072105, 8528171, 11737047
[oracle@scn soft]$ opatch rollback -id 16619894
[oracle@scn soft]$ opatch lsinventory
There are no Interim patches installed in this Oracle Home.
SQL>@catbundle_PSU_ORCL_ROLLBACK.sql
SQL>@utlrp.sql
SQL>SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY where status='INVALID';
SQL>select count(*) from dba_objects where status='INVALID';
SQL>startup force;
安裝PSU
1、shutdown immediate
2、lsnrctl stop
3、opatch lsinventory
4、cd 16619894
6、opatch apply
6、startup
7、@catbundle.sql psu apply
8、@utlrp.sql
9、重啟資料庫
記錄:
[oracle@scn soft]$ opatch lsinventory
There are no Interim patches installed in this Oracle Home.
[oracle@scn soft]$ cd 16619894
[oracle@scn soft]$ opatch apply
[oracle@scn 16619894]$ opatch lsinventory
Invoking OPatch 10.2.0.5.1
Patch 16619894 : applied on Wed Jan 06 19:22:00 CST 2016
Unique Patch ID: 16519126
Created on 28 Jun 2013, 01:27:47 hrs PST8PDT
Bugs fixed:
13596521, 8865718, 11790175, 13489660, 9020537, 9772888, 8650138
8664189, 10091698, 14275629, 14469008, 10092858, 12551710, 7519406
9821321, 13349665, 8771916, 7509714, 16619894, 8822531, 10139235
10159846, 13257247, 8350262, 11792865, 7119382, 13632738, 11724962
16309604, 16309605, 16309606, 8966823, 9320130, 16961614, 16961615
13775862, 16961616, 11674645, 16961617, 16961618, 15877957, 7026523
16961619, 15877958, 15877959, 9399589, 14841459, 9672816, 13503598
9499302, 9150282, 9448311, 9659614, 13632743, 14220725, 9949948, 8882576
10327179, 7612454, 7111619, 9711859, 9714832, 9735237, 9952230, 15877960
12780098, 13561951, 15877961, 15877962, 14665116, 15877963, 8660422
11066597, 16703112, 16279401, 14546673, 14105702, 14459552, 9713537
14105703, 14105704, 13483152, 13737773, 13737775, 14269955, 12925532
12748240, 9694101, 14390396, 12862186, 12862187, 10249537, 14727319
9586877, 8211733, 6694396, 9548269, 7115910, 7710224, 9337325, 8354642
7602341, 14076510, 10157402, 11856395, 12565867, 6402302, 10327190
10269717, 13015379, 11693109, 14023636, 10017048, 8546356, 8394351
9024850, 13561750, 8224558, 9770451, 9360157, 8488233, 9109487, 10132870
14841558, 9171933, 16817117, 10173237, 9532911, 10068982, 7361418
10306945, 8666117, 11725006, 6157713, 10214450, 9184754, 14205448
8544696, 9767674, 16306019, 9323583, 8277300, 13343467, 16279211
9726739, 16382448, 13791364, 8412426, 10326338, 10165083, 10208905
12419392, 6651220, 9145204, 13554409, 11076894, 7450366, 11893577
8970313, 14492313, 6690853, 6011045, 14492314, 11814891, 10162036
14492315, 10248542, 14492316, 16742123, 9469117, 13359623, 9952270
9842573, 13343471, 12710774, 10324526, 14546638, 12419258, 9322219
8636407, 16056270, 10010310, 12828105, 9689310, 9390484, 13736501
13736502, 9824435, 13736503, 13736504, 13736505, 13736506, 9963497
9032322, 13736507, 12551700, 12551701, 14035825, 12551702, 11858315
12551703, 12551704, 10076669, 16270946, 12551705, 12551706, 14040433
12551707, 6076890, 14258925, 12551708, 9308296, 13916709, 12827745
12880299, 14038805, 13923855, 9072105, 8528171, 11737047
SQL> @?/rdbms/admin/catbundle.sql psu apply
SQL> @?/rdbms/admin/utlrp.sql
SQL> startup force;
寄語:一個BUG,對應一個patch;一個PSU,可以理解為一段時間內眾多BUG之合集
關鍵詞:ORACLE、PSU、OPatch
環境:作業系統rhel5.8 資料庫版本10.2.0.5 PSU:10.2.0.5.12 p16619894_10205_Linux-x86-64.zip
檢視OPatch工具版本、建議更新到最新版本
#opatch version
#unzip p6880880_102000_Linux-x86-64.zip -d $ORACLE_HOME
解除安裝PSU
1、shutdown immediate
2、lsnrctl stop
3、opatch lsinventory
4、opatch rollback -id 16619894
5、startup
6、@catbundle_PSU_<database SID>_ROLLBACK.sql
7、@utlrp.sql
8、重啟資料庫
記錄:
[oracle@scn soft]$ opatch lsinventory
Patch 16619894 : applied on Sun Dec 20 23:02:04 CST 2015
Unique Patch ID: 16519126
Created on 28 Jun 2013, 01:27:47 hrs PST8PDT
Bugs fixed:
13596521, 8865718, 11790175, 13489660, 9020537, 9772888, 8650138
8664189, 10091698, 14275629, 14469008, 10092858, 12551710, 7519406
9821321, 13349665, 8771916, 7509714, 16619894, 8822531, 10139235
10159846, 13257247, 8350262, 11792865, 7119382, 13632738, 11724962
16309604, 16309605, 16309606, 8966823, 9320130, 16961614, 16961615
13775862, 16961616, 11674645, 16961617, 16961618, 15877957, 7026523
16961619, 15877958, 15877959, 9399589, 14841459, 9672816, 13503598
9499302, 9150282, 9448311, 9659614, 13632743, 14220725, 9949948, 8882576
10327179, 7612454, 7111619, 9711859, 9714832, 9735237, 9952230, 15877960
12780098, 13561951, 15877961, 15877962, 14665116, 15877963, 8660422
11066597, 16703112, 16279401, 14546673, 14105702, 14459552, 9713537
14105703, 14105704, 13483152, 13737773, 13737775, 14269955, 12925532
12748240, 9694101, 14390396, 12862186, 12862187, 10249537, 14727319
9586877, 8211733, 6694396, 9548269, 7115910, 7710224, 9337325, 8354642
7602341, 14076510, 10157402, 11856395, 12565867, 6402302, 10327190
10269717, 13015379, 11693109, 14023636, 10017048, 8546356, 8394351
9024850, 13561750, 8224558, 9770451, 9360157, 8488233, 9109487, 10132870
14841558, 9171933, 16817117, 10173237, 9532911, 10068982, 7361418
10306945, 8666117, 11725006, 6157713, 10214450, 9184754, 14205448
8544696, 9767674, 16306019, 9323583, 8277300, 13343467, 16279211
9726739, 16382448, 13791364, 8412426, 10326338, 10165083, 10208905
12419392, 6651220, 9145204, 13554409, 11076894, 7450366, 11893577
8970313, 14492313, 6690853, 6011045, 14492314, 11814891, 10162036
14492315, 10248542, 14492316, 16742123, 9469117, 13359623, 9952270
9842573, 13343471, 12710774, 10324526, 14546638, 12419258, 9322219
8636407, 16056270, 10010310, 12828105, 9689310, 9390484, 13736501
13736502, 9824435, 13736503, 13736504, 13736505, 13736506, 9963497
9032322, 13736507, 12551700, 12551701, 14035825, 12551702, 11858315
12551703, 12551704, 10076669, 16270946, 12551705, 12551706, 14040433
12551707, 6076890, 14258925, 12551708, 9308296, 13916709, 12827745
12880299, 14038805, 13923855, 9072105, 8528171, 11737047
[oracle@scn soft]$ opatch rollback -id 16619894
[oracle@scn soft]$ opatch lsinventory
There are no Interim patches installed in this Oracle Home.
SQL>@catbundle_PSU_ORCL_ROLLBACK.sql
SQL>@utlrp.sql
SQL>SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY where status='INVALID';
SQL>select count(*) from dba_objects where status='INVALID';
SQL>startup force;
安裝PSU
1、shutdown immediate
2、lsnrctl stop
3、opatch lsinventory
4、cd 16619894
6、opatch apply
6、startup
7、@catbundle.sql psu apply
8、@utlrp.sql
9、重啟資料庫
記錄:
[oracle@scn soft]$ opatch lsinventory
There are no Interim patches installed in this Oracle Home.
[oracle@scn soft]$ cd 16619894
[oracle@scn soft]$ opatch apply
[oracle@scn 16619894]$ opatch lsinventory
Invoking OPatch 10.2.0.5.1
Patch 16619894 : applied on Wed Jan 06 19:22:00 CST 2016
Unique Patch ID: 16519126
Created on 28 Jun 2013, 01:27:47 hrs PST8PDT
Bugs fixed:
13596521, 8865718, 11790175, 13489660, 9020537, 9772888, 8650138
8664189, 10091698, 14275629, 14469008, 10092858, 12551710, 7519406
9821321, 13349665, 8771916, 7509714, 16619894, 8822531, 10139235
10159846, 13257247, 8350262, 11792865, 7119382, 13632738, 11724962
16309604, 16309605, 16309606, 8966823, 9320130, 16961614, 16961615
13775862, 16961616, 11674645, 16961617, 16961618, 15877957, 7026523
16961619, 15877958, 15877959, 9399589, 14841459, 9672816, 13503598
9499302, 9150282, 9448311, 9659614, 13632743, 14220725, 9949948, 8882576
10327179, 7612454, 7111619, 9711859, 9714832, 9735237, 9952230, 15877960
12780098, 13561951, 15877961, 15877962, 14665116, 15877963, 8660422
11066597, 16703112, 16279401, 14546673, 14105702, 14459552, 9713537
14105703, 14105704, 13483152, 13737773, 13737775, 14269955, 12925532
12748240, 9694101, 14390396, 12862186, 12862187, 10249537, 14727319
9586877, 8211733, 6694396, 9548269, 7115910, 7710224, 9337325, 8354642
7602341, 14076510, 10157402, 11856395, 12565867, 6402302, 10327190
10269717, 13015379, 11693109, 14023636, 10017048, 8546356, 8394351
9024850, 13561750, 8224558, 9770451, 9360157, 8488233, 9109487, 10132870
14841558, 9171933, 16817117, 10173237, 9532911, 10068982, 7361418
10306945, 8666117, 11725006, 6157713, 10214450, 9184754, 14205448
8544696, 9767674, 16306019, 9323583, 8277300, 13343467, 16279211
9726739, 16382448, 13791364, 8412426, 10326338, 10165083, 10208905
12419392, 6651220, 9145204, 13554409, 11076894, 7450366, 11893577
8970313, 14492313, 6690853, 6011045, 14492314, 11814891, 10162036
14492315, 10248542, 14492316, 16742123, 9469117, 13359623, 9952270
9842573, 13343471, 12710774, 10324526, 14546638, 12419258, 9322219
8636407, 16056270, 10010310, 12828105, 9689310, 9390484, 13736501
13736502, 9824435, 13736503, 13736504, 13736505, 13736506, 9963497
9032322, 13736507, 12551700, 12551701, 14035825, 12551702, 11858315
12551703, 12551704, 10076669, 16270946, 12551705, 12551706, 14040433
12551707, 6076890, 14258925, 12551708, 9308296, 13916709, 12827745
12880299, 14038805, 13923855, 9072105, 8528171, 11737047
SQL> @?/rdbms/admin/catbundle.sql psu apply
SQL> @?/rdbms/admin/utlrp.sql
SQL> startup force;
寄語:一個BUG,對應一個patch;一個PSU,可以理解為一段時間內眾多BUG之合集
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30310891/viewspace-1972485/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【PSU】Oracle打PSU及解除安裝PSU(單例項)Oracle單例
- Mac Redis安裝與解除安裝MacRedis
- JDK的安裝與解除安裝JDK
- Mysql安裝解除安裝與啟停MySql
- rpm包安裝升級與解除安裝
- app的安裝與解除安裝測試點APP
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- Linux安裝解除安裝MySQLLinuxMySql
- Ubuntu解除安裝和安裝Ubuntu
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- docker安裝及解除安裝Docker
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- debian安裝和解除安裝vmware
- linux 解除安裝jdk和安裝LinuxJDK
- [雲原生]Docker - 安裝&解除安裝Docker
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- window下安裝並使用nvm(含解除安裝node、解除安裝nvm、全域性安裝npm)NPM
- MySQL:mysql5.7解壓版安裝與解除安裝MySql
- air安裝win10怎麼解除安裝_air安裝win10如何解除安裝AIWin10
- Centos Docker安裝、升級、解除安裝CentOSDocker
- Linux-Ubuntu-mysql-安裝&解除安裝LinuxUbuntuMySql
- Centos7.9安裝解除安裝DockerCentOSDocker
- Python pip的安裝及解除安裝Python
- vs2015解除安裝和安裝
- oracle 19c 安裝、解除安裝Oracle
- docker 解除安裝Docker
- 解除安裝 PythonPython
- WSL解除安裝
- debian軟體解除安裝|deb包解除安裝|dpkg命令
- 如何安裝與解除安裝鐵威馬NAS應用程式
- linux磁碟掛載與解除安裝Linux
- Ubuntu解除安裝及安裝node和npmUbuntuNPM
- 解除安裝windows安裝ubuntu的完全指南WindowsUbuntu
- clickhouse學習(1)-clickhouse安裝解除安裝
- 斐訊N1の折騰 - Docker安裝與解除安裝Docker
- Redis(windows)解除安裝RedisWindows
- docker的解除安裝Docker
- VMware Workstation解除安裝