Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: oakcli stuck situation

...

[root@oda1 ~]# oakcli show version -detail
Reading the metadata. It takes a while...
System Version Component Name Installed Version Supported Version
-------------- --------------- ------------------ -----------------
12.1.2.5.0
Controller_INT 11.05.03.00 Up-to-date
Controller_EXT 11.05.03.00 Up-to-date
Expander 0018 Up-to-date
SSD_SHARED 944A Up-to-date
HDD_LOCAL A720 Up-to-date
HDD_SHARED A720 Up-to-date
ILOM 3.2.4.26.b r101722 Up-to-date
BIOS 17110500 Up-to-date
IPMI 1.8.12.0 Up-to-date
HMP 2.3.2.4.1 Up-to-date
OAK 12.1.2.5.0 Up-to-date
OL 5.11 Up-to-date
OVM 3.2.9 Up-to-date
GI_HOME 11.2.0.4.0(17721778) 12.1.0.2.5(21359755) 21359758)
DB_HOME 11.2.0.4.1(17478514) 11.2.0.4.8(21352635, 21352649)
 

 

Info

The oakcli logfiles are in: /opt/oracle/oak/log/oda1/oak/oakd.log

Caveats

oakcli may get stuck for several reasons, for example, if it runs out of disk space during the upgrade. oakcli check for 10G free disk space in /u01 before cloning the Oracle Home. But an Oracle Home may be larger then 10G when, for example, some audit or log files are present.

If the update process is interrupted, the whole installation may be stuck and unrecoverable. A typical situation is:

[root@oda1 ~]# oakcli show version -detail 
Reading the metadata. It takes a while... 
unclosed token at line 5367, column 6, byte 298999 at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm line 187
root@oda1 ~]# oakcli show vm
OAKERR:6003 OAK is in upgrade Mode

While the VMs do not start any more.

The only solution Oracle Support found for this situation was:

  1. Remove excessive new Grid_Home on both the nodes that should not be there 
    1. rm -fr /u01/app/11.2.0.4 
  2. Replace the central inventory ("/u01/app/oraInventory/ContentsXML/inventory.xml") on both nodes from last backup, or execute on both nodes the following commands (change nodename1,nodename2 with your ODA host nodes name): 
    1. export NEW_GI_HOME=/u01/app/11.2.0.4/grid 
    2. export ORACLE_HOME=$NEW_GI_HOME 
    3. $OLD_HOME/oui/bin/runInstaller -detachHome -silent -local ORACLE_HOME=$NEW_GI_HOME 
    4. export OLD_GI_HOME=/u01/app/11.2.0.3/grid 
    5. export ORACLE_HOME=$OLD_GI_HOME 
    6. $OLD_HOME/oui/bin/runInstaller -attachHome -silent -local ORACLE_HOME=$OLD_GI_HOME ORACLE_HOME_NAME=OraGrid11gR3 "CLUSTER_NODES=nodename1,nodename2" CRS=true 
  3. Rerun update --GI command. 
    1. oakcli update –patch <patch_number> –gi

Content by Label
showLabelsfalse
max5
spacesKB
sortmodified
showSpacefalse
reversetrue
typepage
labelskb-how-to-article

...