centos 6.7 (UDEV,、etc/hosts)安装 RAC 11.2.0.4 报错处理
来源:互联网 发布:角色数据读取失败 编辑:程序博客网 时间:2024/06/06 16:25
环境说明:
db 11.2.0.4 os: centos 6.7 UDEV管理ASM 没有配置DNS服务器,采用/etc/hosts
报错:
1. CVU(Cluster Verification Utility)检查 CRS 的安装前环境。 (正常没有配置DNS服务器,采用/etc/hosts报错,可以忽略)
node1-> ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose
hecking DNS response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
node2 failed
node1 failed
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: node2,node1
2. shmmax大小设置不合理,调整合适大小。
相关理论:
SHMMAX参数:Linux进程可以分配的单独共享内存段的最大值。一般设置为内存总大小的一半。这个值的设置应该大于SGA_MAX_TARGET或MEMORY_MAX_TARGET的值,因此对于安装Oracle数据库的系统,shmmax的值应该比内存的二分之一大一些。
# grep MemTotal /proc/meminfo
# cat /proc/sys/kernel/shmmax
上面的命令是检查系统内存的大小,以及当前shmmax的设置。
# echo 21474836480 > /proc/sys/kernetbl/shmmax
# sysctl -w kernel.shmmax=21474836480
# echo "kernel.shmmax=21474836480" >> /etc/sysctl.conf
这是设置shmmax参数的几种方法,这三种方式都可以将shmmax设置为20G。这个参数的修改可以不重启数据库。个人推荐使用第二种sysctl命令的方式。采用第三种方式需要执行sysctl –t操作或重启,但是为了确保下次重启后设置值仍然生效,第三种方式是必不可少的。前两种方式类似alter system set scope = memory,而第三种方式则类似alter system set scope = spfile。
解决办法:
[root@node1 ~]# sysctl -w kernel.shmmax=1610612736
kernel.shmmax = 1610612736
[root@node1 ~]# echo ''kernel.shmmax=1610612736'' >> /etc/sysctl.conf
[root@node1 ~]#sysctl -p
3. 采用UDEV管理ASM正常报错,没有配置DNS服务器,采用/etc/hosts报错,可以忽略
4. 非正常报错,原因是包有问题。
当安装oracle 11204的rac的时候,安装集群软件到执行root.sh的时候,执行root.sh报错:
Failed to create keys in the OLR, rc = 127, Message:
/app/grid/product/11.2.0/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
Failed to create keys in the OLR at /app/grid/product/11.2.0/crs/install/crsconfig_lib.pm line 7660.
/app/grid/product/11.2.0/perl/bin/perl -I/app/grid/product/11.2.0/perl/lib -I/app/grid/product/11.2.0/crs/install /app/grid/product/11.2.0/crs/install/rootcrs.pl execution failed
解决方法:所有节点都执行
[root@node1 yum.repos.d]# cd /lib64
[root@node1 lib64]# ln -s libcap.so.2.16 libcap.so.1
5. 非正常报错,原因不明。 (有待研究)
node1-> ./runcluvfy.sh stage -post crsinst -n node1,node2 -verbose
ERROR:
PRVG-1101 : SCAN name "scan-cluster.localdomain" failed to resolve
SCAN Name IP Address Status Comment
------------ ------------------------ ------------------------ ----------
scan-cluster.localdomain 10.100.25.100 failed NIS Entry
ERROR:
PRVF-4657 : Name resolution setup check for "scan-cluster.localdomain" (IP address: 10.100.25.100) failed
ERROR:
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster.localdomain"
Verification of SCAN VIP and Listener setup failed
搜了一下发现老杨(yangtingkun)的文章中也提到了这个错误:
F:RHEL5.532oracle_patchyangtingkun 安装Oracle11_2 RAC for Solaris10 sparc64(二).mht
老杨在文章的最后提到:
导致这个错误的原因是在/etc/hosts中配置了SCAN的地址,尝试ping这个地址信息,如果可以成功,,则这个错误可以忽略。
我尝试ping scan ip可以ping通,所以暂时也就忽略了这个错误。
6. 没有配置DNS服务器,采用/etc/hosts报错,可以忽略
- centos 6.7 (UDEV,、etc/hosts)安装 RAC 11.2.0.4 报错处理
- Vbox安装CentOS 6 报错处理
- Moodle 安装报错处理(Linux)
- 搭建RAC /etc/hosts配置
- docker安装报错处理
- Magento安装报错处理
- RAC下Fatal NI connect error 12170.报错处理
- Android安装eclipse报错处理(备忘)
- 报错处理(三)
- Centos5编译安装apache报错处理
- redis 3.0安装报错处理
- SQL Service2005安装+报错处理
- SQL Service2005安装+报错处理:2
- thrift安装过程报错处理
- centos7 yum安装collectd + 报错处理
- Jmeter 安装步骤 和 报错处理
- cacti安装中的报错处理
- cocoapods安装与报错处理
- 文章标题
- 返回最长上升子序列
- Vector 和 HashTable
- Android textAppearance的属性设置及TextView属性详解
- 编码习惯,优化直觉
- centos 6.7 (UDEV,、etc/hosts)安装 RAC 11.2.0.4 报错处理
- NetSdkDe2.0 右键弹出cmenu菜单类
- java 现成网站源码 SSM 框架 freemaker静态引擎
- android studio 一些有用的命令行
- 迭代器与NULL值的比较
- Java知识点练习小结(四)
- Logminer使用(追加日志模式)
- Android开发 ActionBar中setDisplayHomeAsUpEnabled和setHomeButtonEnabled的理解
- SQL结构化查询语言的四个分支(DDL、DML、DCL、TCL)