RAC on Windows: Oracle Grid Infrastructure Install or Upgrade Fails With Error INS-20802 if Microsoft WMI Service is Disabled (文档 ID 1641356.1)

PPLIES TO:

Oracle Database - Standard Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
SYMPTOMS

On Windows, Oracle Grid Infrastructure install or upgrade will fail during 'Grid Infrastructure Configuration' and likely at 85% with the error:  INS-20802 presented.

CAUSE

The INS-20802 error is rather generic and may have many causes indicating many underlying issues, however, one such case is if the Microsoft Windows Management Instrumentation Service (WMI) is disabled on the remote node(s)



Here is an example / test case scenario where we would expect to see this behavior:

1.  install Grid Infrastructure 11.2.0.2

2.  disable and stop WMI on both nodes

3.  patch Grid Infrastructure with (the latest) patch bundle - 11.2.0.2.27, for example

4.  upgrade GI from 11.2.0.2.27 to 11.2.0.4

***  Grid Infrastructure configuration fails at 85% with error:  INS-20802 reported ***



$GI_HOME\cfgtoollogs\crsconfig\rootcrs<hostname>.log from the remote node (example:  node 2) reports:



2014-03-29 18:38:43: J2EE (OC4J) Container Resource enable ... passed
2014-03-29 18:38:43: Running as user Administrator: E:\app\11.2.0\grid_1\bin\srvctl start oc4j
2014-03-29 18:38:43: s_run_as_user2: Running E:\app\11.2.0\grid_1\bin\srvctl start oc4j
2014-03-29 18:38:45: E:\app\11.2.0\grid_1\bin\srvctl exited with rc=1

2014-03-29 18:38:45: Error encountered in the command E:\app\11.2.0\grid_1\bin\srvctl start oc4j 
>  OC4J could not be started
>  PRCR-1079 : Failed to start resource ora.oc4j
>  CRS-2674: Start of 'ora.oc4j' on 'jsrac64b' failed
>  CRS-2678: 'ora.oc4j' on 'jsrac64b' has experienced an unrecoverable failure
>  CRS-0267: Human intervention required to resume its availability.
>  End Command output
2014-03-29 18:38:45: J2EE (OC4J) Container Resource Start ... failed ...
2014-03-29 18:38:45: Failed to perform J2EE (OC4J) Container Resource upgrade


Specifically, the WMI is must be enabled in order for our ora.oc4j clusterware resource to startup.  If WMI is disabled during install or upgrade, the ora.oc4j resource will not startup and cause the Grid Infrastructure configuration to fail.

SOLUTION

-  Re-enable the (non-Oracle) Windows Management Instrumentation service on the remote node(s) by setting it back to 'Automatic'

-  return to the Oracle Universal Installer (OUI) window (on node 1) and click 'Retry'