linux 安装oracle11 rac,Oracle Linux6.1上面安装Oracle11g R2 RAC 11.2.0.3

在ESX4.1上面部署Oracle11g RAC的环境:遇到如下问题:

1、Oracle

Linux6.1的网卡管理方式和版本5有非常大的不同,发现/etc/sysconfig/networking/device 和/etc/sysconfig/networking/profiles/default目录下没有网卡设备的信息,导致后面在克隆节点时候,得到的网卡名,2个节点不一致。后面干脆不使用克隆了,使用再安装一个节点的方法,来搞好这个问题。

2、ASM配置DiskGroup时候,不能识别已经创建好的ASM

DISK,asm_diskstring需要设置为/dev/oracleasm/disks,才能识别到已经创建的ASM

DISKS。

3、如果使用11.2.0.1的版本安装在6.1上面,在安装Grid

Infra时候,在运行root.sh时候会遇到一个经典的错误:

CRS-4124: Oracle High Availability

Services startup failed.

CRS-4000: Command Start failed, or completed with errors.

ohasd failed to start: Inappropriate ioctl for device

ohasd failed to start at

/u01/app/11.2.0/grid/crs/install/rootcrs.pl line

443.

解决办法是:在生成了文件/var/tmp/.oracle/npohasd文件后,root立即执行命令:

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024

count=1

但是使用11.2.0.3的安装介质没有遇到这个问题。

4、节点2运行root.sh时候遇到错误:

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file:

/u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

OLR initialization - successful

Adding Clusterware entries to upstart

CRS-4402: The CSS daemon was started in exclusive mode but found an

active CSS daemon on node oel6node1-11gr2-rac, number 1, and is

terminating

An active cluster was found during exclusive startup, restarting to

join the cluster

Start of resource "ora.asm" failed

CRS-2672: Attempting to start 'ora.drivers.acfs' on

'oel6node2-11gr2-rac'

CRS-2676: Start of 'ora.drivers.acfs' on 'oel6node2-11gr2-rac'

succeeded

CRS-2672: Attempting to start 'ora.asm' on

'oel6node2-11gr2-rac'

CRS-5017: The resource action "ora.asm start" encountered the

following error:

ORA-48108: invalid value given for the diagnostic_dest init.ora

parameter

ORA-48140: the specified ADR Base

directory does not exist [/u01/app/grid]

ORA-48187: specified directory does not exist

Linux-x86_64 Error: 2: No such file or directory

Additional information: 1

. For details refer to "(:CLSN00107:)" in

"/u01/app/11.2.0/grid/log/oel6node2-11gr2-rac/agent/ohasd/oraagent_grid/oraagent_grid.log".

CRS-2674: Start of 'ora.asm' on 'oel6node2-11gr2-rac' failed

CRS-2679: Attempting to clean 'ora.asm' on

'oel6node2-11gr2-rac'

CRS-2681: Clean of 'ora.asm' on 'oel6node2-11gr2-rac'

succeeded

CRS-2673: Attempting to stop 'ora.drivers.acfs' on

'oel6node2-11gr2-rac'

CRS-2677: Stop of 'ora.drivers.acfs' on 'oel6node2-11gr2-rac'

succeeded

CRS-4000: Command Start failed, or completed with errors.

Failed to start Oracle Grid Infrastructure stack

Failed to start ASM at

/u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1272.

/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib

-I/u01/app/11.2.0/grid/crs/install

/u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

不知道为何有这个错误,本来,这个运行系统自动创建的目录,为啥没有创建呢? 下次有机会再测试下。

这个比较好解决创建好目录,再deconfig,然后在运行root.sh就可以了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值