下面是在AIX 5.3环境中,安装ORACLE 10G RAC遇到的几个故障。
1,安装CRS时没有提示选择OCR盘路径。
是由于原来环境安装ORACLE 9I RAC,删除相应的文件就可以了。
2,安装CRS时,提示网络中没有共有网络
是由于 HACMP配置的时候,是以9I rac模式配置HACMP,共有网络在永久IP的方式附件到BOOT网卡上面,通过在网卡上面直接配置永久IP地址后解决问题。
3,root.sh报下面错误
WARNING: directory ‘/oracle/app/oracle/product/10.2’ is not owned by root WARNING: directory ‘/oracle/app/oracle/product’ is not owned by root WARNING: directory ‘/oracle/app/oracle’ is not owned by root WARNING: directory ‘/oracle/app’ is not owned by root WARNING: directory ‘/oracle’ is not owned by root Checking to see if Oracle CRS stack is already configured Checking to see if any 9i GSD is up
Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory ‘/oracle/app/oracle/product/10.2’ is not owned by root WARNING: directory ‘/oracle/app/oracle/product’ is not owned by root WARNING: directory ‘/oracle/app/oracle’ is not owned by root WARNING: directory ‘/oracle/app’ is not owned by root WARNING: directory ‘/oracle’ is not owned by root exec(): 0509-036 Cannot load program crsctl.bin because of the following errors: 0509-130 Symbol resolution failed for crsctl.bin because: 0509-136 Symbol _Getctype__FPCc (number 101) is not exported from dependent module /usr/lib/libC.a[ansi_64.o]. 0509-136 Symbol _Getnumpunct__FPCc (number 105) is not exported from dependent module /usr/lib/libC.a[ansi_64.o]. 0509-192 Examine .loader section symbols with the ‘dump -Tv’ command. |
由于下面软件的版本为6导致的,10G CRS要求下面软件的最低版本为7
xlC.aix50.rte 7.0.0.4 |
4,再次安装CRS,不能COPY软件到远程节点
手动rm节点2上面所有与CRS相关的文件后能正常copy
5,安装DB软件,选择远程节点相当慢并报错
在orainventory中可以看到下面的日志
INFO: Performing operation for OUI Oracle Home access setup INFO: Unable to read /oracle/app/oracle/product/10.2/db_1/inventory/ContentsXML/comps.xml. Some inventory information may be lost. INFO: SRVM ClusterInfo.IsLocalOnly() called. Return value obtained is ‘true’. INFO: The CRS clusterware location for ‘oracle.crs 10.2.0.0.0’ is ‘/oracle/app/oracle/product/10.2/crs_1’. INFO: CRS clusterware detected. INFO: Cluster system is detected by the clusterware. INFO: Node selection page will be shown for a new home on the cluster system. INFO: The cluster node list ‘htz_01,htz_02’ is derived from the clusterware stack. INFO: Local node ‘htz_01’ is derived from the clusterware stack. INFO: Setting variable ‘LOCAL_NODE’ to ‘htz_01’. Received the value from a code block. hang INFO: Setting variable ‘REMOTE_NODES’ to ‘htz_01,’. Received the value from a code block. INFO: isRollingUpgradeEnabled():false INFO: Setting the ‘ClusterInstallDescription’ property to ‘Select nodes (in addition to the local node) in the hardware cluster where the installer should install products that you select in this installation.’. INFO: Setting the ‘SingleInstanceDescription’ property to ‘Select this option if you want to perform a single node non-cluster installation even though the local node is part of a hardware cluster.’. INFO: Setting the ‘InvalidNodes’ property to ‘null’. INFO: Setting the ‘AllowRemoteNodeSelection’ property to ‘true’. INFO: Setting the ‘ShowCRSSoftwareVersion’ property to ‘false’. INFO: Setting the ‘NewHome’ property to ‘true’. INFO: Setting the ‘ClusterNodes ( CLUSTER_NODES )’ property to ‘htz_01,htz_02,’. Received the value from the UI page. INFO: Setting the ‘LocalNode ( LOCAL_NODE )’ property to ‘htz_01’. Received the value from the UI page. INFO: Setting the ‘RemoteNodes ( REMOTE_NODES )’ property to ‘htz_02,’. Received the value from the UI page. INFO: Performing tests to see whether nodes htz_02 are available INFO: Validating nodes htz_02… INFO: Checking if nodes are alive… SEVERE: OUI-35000: Fatal cluster error encountered (PRKC-1071 : Nodes "htz_02" did not respond to ping in "30" seconds, PING htz_02: (11.11.11.11): 56 data bytes |
发现两个节点的VIP地址并不有在共有网卡上面,而是跑到了BOOT的网卡上面,手动修改nodeapps中的VIP地址的网卡名后正常。
6,2节点安装DB更新inventory失败
手动更新也报下面的错误
INFO: Created OiicStandardInventorySession. SEVERE: oracle.sysman.oii.oiii.OiiiMissingDependeeException: OUI-10209:Cannot find dependee "oracle.swd.jre 1.1.8.3.0" of component "Oracle Java Client 10.2.0.1.0 " in home "0". at oracle.sysman.oii.oiii.OiiiInstallInventory.updateCompDependencies(OiiiInstallInventory.java:3823) at oracle.sysman.oii.oiii.OiiiInstallInventory.attachHomeEx(OiiiInstallInventory.java:3585) at oracle.sysman.oii.oiic.OiicAttachHome.getOracleHomeInfo(OiicAttachHome.java:168) at oracle.sysman.oii.oiic.OiicAttachHome.doOperation(OiicAttachHome.java:220) at oracle.sysman.oii.oiic.OiicBaseInventoryApp.main_helper(OiicBaseInventoryApp.java:798) at oracle.sysman.oii.oiic.OiicAttachHome.main(OiicAttachHome.java:443) |
下面是处理步骤
To resolve the problem, do the following:
1. Make a copy of the $ORACLE_HOME/inventory/ContentsXML/comps.xml file on the 10.1.0.5 server cp $ORACLE_HOME/inventory/ContentsXML/comps.xml $ORACLE_HOME/inventory/ContentsXML/comps.xml_orig 2. Modify the $ORACLE_HOME/inventory/ContentsXML/comps.xml file so that there are no references to HOME_IDX="0". For example, change this section: <DEP NAME="oracle.java.javavm.visiorb" VER="3.4.0.0.0" DEP_GRP_NAME="Required" HOME_IDX="2"/> <DEP NAME="oracle.swd.jre" VER="1.4.2.0.0" DEP_GRP_NAME="atLeastOne" HOME_IDX="2"/> <DEP NAME="oracle.swd.jre" VER="1.1.8.3.0" DEP_GRP_NAME="atLeastOne" HOME_IDX="0"/> <<<<— Remove this line so that it looks like this: <DEP NAME="oracle.java.javavm.visiorb" VER="3.4.0.0.0" DEP_GRP_NAME="Required" HOME_IDX="2"/> <DEP NAME="oracle.swd.jre" VER="1.4.2.0.0" DEP_GRP_NAME="atLeastOne" HOME_IDX="2"/> 3. Try to attachHome again |
AIX 5.3安装ORACLE 10G RAC遇到的几个故障:等您坐沙发呢!