在windows 2012上安装rac时,GI 的安装失败,报OUI-35024
来源于:
RAC on Windows 2012: Grid Infrastructure Installation Fails With OUI-35024 (文档 ID 1907834.1)
适用于:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Microsoft Windows x64 (64-bit)
症状:
Oracle GI 11.2.0.1.0安装失败,在instllActions.log文件中报OUI-35024 错误。
=============================================================================== c:\program files\oracle\inventory\logs\installActions2014-07-03_04-53-01PM.log =============================================================================== INFO: creating folder 'Universal Installer' on cluster nodes 'node1,node2' INFO: creating folder 'Universal Installer' on cluster nodes 'node1,node2' INFO: Exception thrown from action: 'ntCreateItem' Exception Name: 'Cluster Exception' Exception String: 'OUI-35024: Error in copying file from source location 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle - OraCrs11g_home1\Oracle Installation Products\Universal Installer.lnk' to destination 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle - OraCrs11g_home1\Oracle Installation Products\Universal Installer.lnk' on node 'node1'. [The process cannot access the file because it is being used by another process. ]' Exception Severity: '0' SEVERE: oracle.sysman.oii.oiil.OiilActionException: OUI-35024: Error in copying file from source location 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle - OraCrs11g_home1\Oracle Installation Products\Universal Installer.lnk' to destination 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle - OraCrs11g_home1\Oracle Installation Products\Universal Installer.lnk' on node 'node1'. [The process cannot access the file because it is being used by another process. ] at ssCreateItemw32.clusterInstallAction(ssCreateItemw32.java:518) at oracle.sysman.oii.oiip.osd.win32.OiipwWindowsClusterExecution.doComponentActions(OiipwWindowsClusterExecution.java:604) at oracle.sysman.oii.oiip.osd.win32.OiipwWindowsClusterExecution.executeClusterActions(OiipwWindowsClusterExecution.java:240) at oracle.sysman.oii.oiif.oiifw.OiifwClusterRemoteOpsWCCE.doOperation(OiifwClusterRemoteOpsWCCE.java:186) at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171) at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:641) at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:147) at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicAPISelCompsInstall.doOperation(OiicInstallAPISession.java:1095) at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171) at oracle.sysman.oii.oiic.OiicInstallAPISession.doInstallAction(OiicInstallAPISession.java:679) at oracle.sysman.oii.oiic.OiicInstallAPISession.access$000(OiicInstallAPISession.java:94) at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicActionsThread.run(OiicInstallAPISession.java:971)
原因:
在windows 2012上,IPv4的公共网卡和私有网卡使用windows的 Automatic Metric 特性。 Automatic Metric 是一个新特性。
该新特性用于自动为基于 link speed的local routes配置metric。默认情况下,该特性是启动的,该特性也可以通过指定一个特定metric的形式来手工配置。
当该特性被启用并且使用默认值时,当安装GI时,有可能会导致OUI选择私有网卡作为默认public hostname
解决方案
手工配置 Automatic Metric Values
为了防止OUI 选择错误的网卡,执行下面的步骤:
- In Control Panel, double-click Network Connections. - Right-click a network interface, and then click Properties. - Click Internet Protocol (TCP/IP), and then click Properties. - On the General tab, click Advanced. - To specify a metric, on the IP Settings tab, click to clear the Automatic metric check box. - In the Interface Metric field, set the public network interface metric to a lower value than the private network interface. For example, you might set the public network interface metric to 100 and the private network interface metric to 300.
这个需求被载于下面的文档中:
- For version 11gR2 here:
http://st-doc.us.oracle.com/11/112/install.112/e48194/typinstl.htm#CIHFGGFI
参考:
An explanation of the Automatic Metric feature for Internet Protocol routes:
http://support.microsoft.com/kb/299540