oracle 10g rac vmware 安装问题

问题一:节点2 在执行./root.sh的时候,这里卡住了

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

 

解决:

执行$CRS_HOME/install/rootdeinstall.sh,然后再执行root.sh

 

问题二:

[[email protected] crs]# ./root.sh

WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/app/oracle/product' is not owned by root

WARNING: directory '/u01/app/oracle' is not owned by root

WARNING: directory '/u01/app' is not owned by root

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

 

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/app/oracle/product' is not owned by root

WARNING: directory '/u01/app/oracle' is not owned by root

WARNING: directory '/u01/app' is not owned by root

WARNING: directory '/u01' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node <nodenumber>: <nodename> <private interconnect name> <hostname>

node 1: rac10g01 rac10g01-priv rac10g01

node 2: rac10g02 rac10g02-priv rac10g02

clscfg: Arguments check out successfully.

 

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

        rac10g01

        rac10g02

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

/u01/app/oracle/product/10.2.0/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or director

 

解决方案:

   分别修改 $CRS_HOME/bin 目录下的srvctlvipca文件,在vipca文件ARGUMENTS=""行之前和srvctl文件的export   LD_ASSUME_KERNEL行之后增加 unset LD_ASSUME_KERNEL 语句

 修改之后再用root用户执行vipca就可以了

 查了一下这个问题以前出现过,是 Bug 3937317。但是 vipca srvctl 这两个脚本开头注释部分写着:

1

#khsingh  10/07/04 - add workaround for bug (3937317)

      再查证,这个问题是 CRSRHEL 5共同作用的成果,clusterware 升级到 10.2.0.4 能解决。

运行.vipca又碰到问题:

oracle 10g rac vmware 安装问题

解决方法:通过上图 ./oicfg来手动配置 ,再通过./vipca来配置

oracle 10g rac vmware 安装问题

 

oracle 10g rac vmware 安装问题

 

oracle 10g rac vmware 安装问题

 

 

oracle 10g rac vmware 安装问题

 

oracle 10g rac vmware 安装问题

 

oracle 10g rac vmware 安装问题

 

最后确认:

终于成功了

oracle 10g rac vmware 安装问题

 

oracle 10g rac vmware 安装问题