Asset ID: |
1-72-2215337.1 |
Update Date: | 2016-12-18 |
Keywords: | |
Solution Type
Problem Resolution Sure
Solution
2215337.1
:
Error Applying ODA 12.1.2.8: GI Patching Phase
Related Items |
- Oracle Database Appliance Software
- Oracle Database Appliance
|
Related Categories |
- PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
|
In this Document
Created from <SR 3-13663405191>
Applies to:
Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance Software - Version 12.1.2.6 to 12.1.2.9 [Release 12.1]
Information in this document applies to any platform.
Symptoms
On : Oracle Database Appliance
Error Applying ODA 12.1.2.8: GI Patching Phase
Performing ODA upgrade from release 12.1.2.6.0 to 12.1.2.8.0
ERROR
-----------------------
error at and errnum=
ERROR : Command = /usr/bin/ssh -l root oda2 /opt/oracle/oak/pkgrepos/System/12.1.2.8.0/bin/PatchDriver -tag 20161214171834 -server -version 12.1.2.8.0 did not complete successfully. Exit code 1 #Step -1#
Exiting...
ERROR: Unable to apply the patch
-----------------------
The corresponding /opt/oracle/oak/log/<hostname>/patch/12.1.2.8.0/giupdate_<pid>.log shows the following OPATCHAUTO errors:
-----------------------
...
> Using configuration parameter file: /u01/app/12.1.0.2/grid/OPatch/auto/dbtmp/bootstrap_sb-oda1/patchwork/crs/install/crsconfig_params
> 2016/12/16 22:09:27 CLSRSC-300: No msg for has:clsrsc-300 [BIG_CLUSTER]
>
>
> After fixing the cause of failure Run opatchauto resume with session id "6UKE"
>
> ]
> OPATCHAUTO-68061: The orchestration engine failed.
> OPATCHAUTO-68061: The orchestration engine failed with return code 1
> OPATCHAUTO-68061: Check the log for more details.
> OPatchAuto failed.
>
> opatchauto failed with error code 42 ,
...
-----------------------
STEPS
-----------------------
Running commands to update ODA GI component after earlier failure due to a shared disk failure:
Commands:
/opt/oracle/oak/bin/oakcli update -patch 12.1.2.8.0 --clean
/opt/oracle/oak/bin/oakcli update -patch 12.1.2.8.0 --server
BUSINESS IMPACT
-----------------------
ODA still available, but unable to complete Grid Infrastructure (GI) component upgrade patching to the latest
Cause
The issue is caused by the following setting in the inventory.xml file:
CRS="true" line pointing to OraGrid11gR204 Oracle Home location, '/u01/app/11.2.0.4/grid', instead of OraGrid12102 Oracle Home location, '/u01/app/12.1.0.2/grid':
-----------------
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.3.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGrid11gR204" LOC="/u01/app/11.2.0.4/grid" TYPE="O" IDX="3" CRS="true"> <<<---- This line appears to be the problem
<NODE_LIST>
<NODE NAME="oda1"/>
<NODE NAME="oda2"/>
</NODE_LIST>
</HOME>
<HOME NAME="OraDb11204_home1" LOC="/u01/app/oracle/product/11.2.0.4/dbhome_1" TYPE="O" IDX="4">
<NODE_LIST>
<NODE NAME="oda1"/>
<NODE NAME="oda2"/>
</NODE_LIST>
</HOME>
<HOME NAME="OraGrid12102" LOC="/u01/app/12.1.0.2/grid" TYPE="O" IDX="5"> <<<---- The CRS="true" line should be down here
<NODE_LIST>
<NODE NAME="oda1"/>
<NODE NAME="oda2"/>
</NODE_LIST>
</HOME>
...
-----------------
Solution
1) Please make a backup of the '/u01/app/oraInventory/ContentsXML/inventory.xml' file.
2) You can make the changes to the inventory.xml in several ways:
a) Detach the old 11g grid home using the command:
As the grid user:
For example:
$ORACLE_HOME/oui/bin/runInstaller -detachHome ORACLE_HOME="/u01/app/11.2.0.4/grid"
--OR:
b) Set the CRS=true flag to point to the '/u01/app/12.1.0.2/grid' Oracle Home:
As the grid user:
For example:
$ORACLE_HOME/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/u01/app/12.1.0.2/grid" CRS=true
c) Or hand edit the '/u01/app/oraInventory/ContentsXML/inventory.xml' file.
Reference: How to Update Inventory to Set/Unset "CRS=true" Flag for Oracle Clusterware Home (Doc ID 1053393.1)
3) Once the inventory.xml is updated and the file is saved verify the file contains the CRS="true" setting for the OraGrid12102 Home and no longer shows that value for the old OraGrid11gR204.
4) Check/repeat the same for the '/u01/app/oraInventory/ContentsXML/inventory.xml' file(s).
5) Then try the GI update once again:
- From oda1:
oakcli update -patch 12.1.2.8.0 --clean
oakcli update -patch 12.1.2.8.0 --server
Or patch one ODA Server at a time by using the --local option instead.
i.e.:
oakcli update -patch 12.1.2.8.0 --server --local
References
<NOTE:888888.1> - Oracle Database Appliance - 12.1.2 and 2.X Supported ODA Versions & Known Issues
<NOTE:1435946.1> - How to Replace an ODA (Oracle Database Appliance) FAILED/ PredictiveFail Shared Storage Disk
<NOTE:1990134.1> - Replace new disk failed at ODA (Oracle Database Appliance) 12 version
<NOTE:2205275.1> - ODA (Oracle Database Appliance): GI patch levels differ after applying ODA Patch 12.1.2.8.0
<NOTE:1558920.1> - Software Patch Level and 12c Grid Infrastructure OCR Backup/Restore
<NOTE:2176790.1> - Software Patch Mismatch After Applying Bundle Patch on Grid Home and the Cluster Upgrade State is [ROLLING PATCH]
<NOTE:1053393.1> - How to Update Inventory to Set/Unset "CRS=true" Flag for Oracle Clusterware Home
Attachments
This solution has no attachment