错误现象:
[root@rac01 setup]# /u01/app/12.2.0/grid/OPatch/opatchauto apply 27100009/
OPatchauto session is initiated at Fri Feb 2 17:18:34 2018
System initialization log file is /u01/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-02-02_05-18-50PM.log.
OPatchauto session completed at Fri Feb 2 17:20:13 2018
Time taken to complete the session 1 minute, 40 seconds
Topology creation failed.
查看报错日志:
[grid@rac01 ~]$ more /u01/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-02-02_05-18-50PM.log
2018-02-02 17:20:13,174 严重 [1] com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.TopologyCreator - Not able to retrieve system instance d
etails :: Execution failed for host rac02 due to : com.oracle.cie.remote.RemoteConnectionException: Command execution of [/u01/app/oracle/product/12.2.0/db_1//perl/
bin/perl /u01/app/oracle/product/12.2.0/db_1/OPatch/auto/database/bin/RemoteHostExecutor.pl -GRID_HOME=/u01/app/12.2.0/grid -OBJECTLOC=/u01/app/oracle/product/12.2
.0/db_1//cfgtoollogs/opatchautodb/hostdata.obj -JVM_HANDLER=oracle/dbsysmodel/driver/sdk/productdriver/remote/RemoteDataCollector ] failed due to exit status 2.
重新在节点1应用PSU补丁,成功。
[root@rac01 ~]# cd /setup
[root@rac01 setup]# /u01/app/12.2.0/grid/OPatch/opatchauto apply 27100009/
OPatchauto session is initiated at Fri Feb 2 18:26:04 2018
System initialization log file is /u01/app/12.2.0/grid/cfgtoollogs/opatchautodb/systemconfig2018-02-02_06-26-15PM.log.
会话日志文件是/u01/app/12.2.0/grid/cfgtoollogs/opatchauto/opatchauto2018-02-02_06-27-53PM.log
此会话的 ID 为 YBQ2
Executing OPatch prereq operations to verify patch applicability on home /u01/app/12.2.0/grid
Executing OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/12.2.0/db_1
Patch applicability verified successfully on home /u01/app/oracle/product/12.2.0/db_1
Patch applicability verified successfully on home /u01/app/12.2.0/grid
Verifying SQL patch applicability on home /u01/app/oracle/product/12.2.0/db_1
SQL patch applicability verified successfully on home /u01/app/oracle/product/12.2.0/db_1
Preparing to bring down database service on home /u01/app/oracle/product/12.2.0/db_1
Successfully prepared home /u01/app/oracle/product/12.2.0/db_1 to bring down database service
Bringing down CRS service on home /u01/app/12.2.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/rac01/crsconfig/crspatch_rac01_2018-02-02_06-44-42PM.log
CRS service brought down successfully on home /u01/app/12.2.0/grid
Performing prepatch operation on home /u01/app/oracle/product/12.2.0/db_1
Perpatch operation completed successfully on home /u01/app/oracle/product/12.2.0/db_1
Start applying binary patch on home /u01/app/oracle/product/12.2.0/db_1
Binary patch applied successfully on home /u01/app/oracle/product/12.2.0/db_1
Performing postpatch operation on home /u01/app/oracle/product/12.2.0/db_1
Postpatch operation completed successfully on home /u01/app/oracle/product/12.2.0/db_1
Start applying binary patch on home /u01/app/12.2.0/grid
.....................................