oracle ASM 初装

来源:互联网 发布:淘宝 管控 临时下架 编辑:程序博客网 时间:2024/06/08 15:30

Oracle ASMLib 安装完毕 Unable to update configuration linkage

该安装的都安装了,可是还是报错了,不会多少linux,一步一步来找:

考虑到影响后续程序使用,决定重装

先装support,然后装kernel驱动,然后在oracleasm update-driver

rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm

yum install kmod-oracleasm   (本人redhat6.4配置的是163centos6镜像)

版本为:kmod-oracleasm-2.0.8-6.el6_7.x86_64

oracleasm update-driver

rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm

继续,没有出现问题了。。。


划盘:oracleasm createdisk data1 /dev/sda1

Instantiating disk: failed


然后设置

oracleasm configure -i  

设置为oracle,oinstall

关闭selinux

不报错了

继续~

OUI安装

安装最后执行root.sh报错

Adding daemon to inittab
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: Inappropriate ioctl for device at /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl line 296.

/u01/app/grid/11.2.0/grid/crs/install/roothas.pl -deconfig -force –verbose 回滚

执行root.sh前执行下面

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


INFO: Read: Configuring ASM failed with the following message:
INFO: Read: Configuring HA resource failed. The following error occured:
INFO: Read: PRCR-1079 : Failed to start resource ora.asm
INFO: Read: ORA-00445: background process "%s" did not start after %s seconds
INFO: Read: CRS-2674: Start of 'ora.asm' on 'oc0644314035' failed
INFO: Read:
INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant

INS 20802 Automatic Storage Management Configuration Assistant failed
一波未平一波又起……最终查得是disks权限问题

oracleasm configure -i 设置group 错误 修正后再创建disk

各种修改文件权限

An ASM Instance with SID +ASM is already detected



安装GI后重启操作系统后启动ASM实例失败及解决方法

SQL> startup

ORA-01078: failure in processing system parameters

ORA-29701: unable to connect to Cluster Synchronization Service

[grid@oragrid ~]$ crsctl check css

CRS-4639: Could not contact Oracle High Availability Services

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

[grid@oragrid ~]$ crsctl check has

CRS-4639: Could not contact Oracle High Availability Services



http://blog.itpub.net/28536251/viewspace-1690901/

0 0
原创粉丝点击