oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network

[[email protected] ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[[email protected] ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

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 inittab
CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.mdnsd‘ on ‘testdb11b‘ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.gpnpd‘ on ‘testdb11b‘ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘testdb11b‘
CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘testdb11b‘ succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘testdb11b‘ succeeded
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘testdb11b‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘testdb11b‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘testdb11b‘ succeeded

ASM created and started successfully.

Disk Group DATA created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
Successful addition of voting disk ad234a0219fa4f05bf03be9cf16122da.
Successfully replaced voting disk group with +DATA.
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   ad234a0219fa4f05bf03be9cf16122da (/dev/raw/raw1) [DATA]
Located 1 voting disk(s).
CRS-2672: Attempting to start ‘ora.asm‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.asm‘ on ‘testdb11b‘ succeeded
CRS-2672: Attempting to start ‘ora.DATA.dg‘ on ‘testdb11b‘
CRS-2676: Start of ‘ora.DATA.dg‘ on ‘testdb11b‘ succeeded
PRCR-1079 : Failed to start resource ora.scan1.vip
CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
CRS-5005: IP Address: 192.168.1.24 is already in use in the network
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/testdb11b/agent/crsd/orarootagent_root/orarootagent_root.log".

CRS-2674: Start of ‘ora.scan1.vip‘ on ‘testdb11b‘ failed
CRS-2632: There are no more servers to try to place resource ‘ora.scan1.vip‘ on that would satisfy its placement policy

start scan ... failed
FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196.
/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

解决:

第一种原因可能是DNS没有配置,从11.2.0.2开始DNS是必须配置的。

配置DNS

卸载CRS,清理裸设备,使用asmlib方式绑定磁盘

dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=12800
dd if=/dev/zero of=/dev/raw/raw2 bs=8192 count=12800
dd if=/dev/zero of=/dev/raw/raw3 bs=8192 count=12800
dd if=/dev/zero of=/dev/raw/raw4 bs=8192 count=12800
[[email protected] ~]# oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets (‘[]‘).  Hitting <ENTER> without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: grid
Default group to own the driver interface []: asmdba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
[[email protected] ~]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK2 /dev/sdc1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK3 /dev/sdd1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]#  /usr/sbin/oracleasm createdisk DISK4 /dev/sde1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[[email protected] ~]# /usr/sbin/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4

然后重新安装Grid Infrastructure。

(2)我的原因是:

重装了好几次,都是报这个错误,后来发现虚拟机的磁盘紊乱了,本来第一块二磁盘变成了第四块,但是两个虚拟机的顺序是一致的,后来把磁盘删除了又重新加上后搞定了。

a 在设置中删除并创建磁盘(vmware可以在线增删磁盘)

b 操作系统删除分区,并新建分区

c 重新绑定裸设备

d 重新安装Grid Infrastructure

清理方法详见:Oracle 11g RAC 卸载CRS步骤

时间: 2024-10-13 06:23:37

oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network的相关文章

Oracle Study之--Oracle 11g RAC添加节点错误

Oracle Study之--Oracle 11g RAC添加节点错误 系统环境:     操作系统:RedHat EL5     Cluster:  Oracle 11gR2 Grid     Oracle:   Oracle 11gR2  故障一:新节点和原节点时间不同步,添加节点失败 1.在新节点执行"root.sh"  [root@wqy3 install]# /u01/11.2.0/grid/root.sh  Running Oracle 11g root.sh script

阿里云上Oracle 11g RAC安装配置手册

有印象的用户可能发现,阿里云早在2016年深圳云栖大会就官方发布了对Oracle RAC的支持,但是相关产品却一直没能同步推出,相信大家都翘首以盼了许久许久.一个好消息是,近期阿里云将紧密推出两款新产品:共享块存储和ECS多网卡.这两款产品将打通众多关键云下应用上云的最后一公里,为用户提供更多的便利.在我们能正式体验到新产品之前,阿里云技术服务团队也将云上的Oracle RAC安装配置手册放出,希望能给大家提供更多不同的体验和选择. 一.安装说明 阿里云上Oracle RAC的安装部署,重点需要

oracle 11G rac 安装(VMware + rhel6.3)

闲来有空,整理下VMware workstation上oracle 11 RAC的安装 环境: VMware Workstation :9.0.0 build-812388 OS :Red Hat Enterprise Linux Server release 6.3 (Santiago) Oracle :11203 配置环境如图所示 磁盘 45G 分别有两块网卡 内存2.5G Swap为内存的2倍 VMware virtual Ethernet adapter 1    192.168.10网

oracle 11g rac安装之grid报错解决

1.在rac2节点使用oracleasm找不到共享磁盘 [[email protected] ~]# oracleasm scandisks         Reloading disk partitions: doneCleaning any stale ASM disks...Scanning system for ASM disks...[[email protected] ~]# 解决方法: 是因为在rac1节点格式化磁盘没有使用partprobe命令,分区没有生效 在rac1执行: [

Oracle 11g RAC添加一节点过程

实验场景: 两节点RAC,主机名是db1.db2,现在需要添加db2.   本文是接上一文删除节点后的添加节点的过整过程.查看Oracle 11g R2 RAC删除一节点过程.    本例是在刚上删除节点过程后做的,如果是全新节点,需要按照Oracle 11g RAC安装过程配置环境变量等前期安装配置信息,全文全程采用字符界面方式操作,也可以采用图形界面进行.    本文假定相关例如网络通讯,用户,环境变量,存储都已经配置好,只需要安装GRID,Oracle的之前的过程. 1. 节点1上grid

Oracle 11gR2 RAC 添加节点

1. 概述 生产,测试数据库添加节点. 2. 安装前准备 1.首先,物理链路的准备.这过程包括对db3进行存储映射.心跳互联等物理环境的准备: 2.根据db1.db2的操作系统配置,安装.配置db3的操作系统:注意此处需要配置的操作系统内容较多.大致包括确认RAC需要的系统安装包.系统核心参数配置.ASMLIB的配置./etc/hosts配置等等.详细可参考官方的安装指导手册. 3.根据db1.db2的操作系统组.用户的信息,在db3上创建相应的组.用户:创建对于的目录信息:注意:创建的组.用户

Oracle 11g RAC搭建(VMware环境)

Oracle 11g RAC搭建(VMware环境) Oracle 11g RAC搭建VMware环境 安装环境与网络规划 安装环境 网络规划 环境配置 通过SecureCRT建立命令行连接 关闭防火墙 创建必要的用户组和目录并授权 节点配置检查 系统文件设置 配置IP和hostshostname 配置grid和oracle用户环境变量 配置oracle用户ssh互信 配置裸盘 配置grid用户ssh互信 挂载安装软件文件夹 安装用于Linux的cvuqdisk 手动运行cvu使用验证程序验证O

Oracle 11g RAC 卸载CRS步骤

Oracle 11g之后提供了卸载grid和database的脚本,可以卸载的比较干净,不需要手动删除crs ############ ORACLE DEINSTALL & DECONFIG TOOL START ############ 1.root用户进入到grid的ORACLE_HOME(只在一个节点上执行即可) 说明:(如果没有从官网上下载) 1.从oracle官方网站上下载的deinstall工具 11GR2有7个下载包,deinstall放在第7个下载包,如11.2.0.2的下载包为

linux安装oracle 11g rac

安装oracle 11gR2 RAC 一.网络规划及安装虚拟主机 主机名 主机版本 Ip rac1.localdomain Redhat 6.5 RAC节点1 192.168.100.11 rac2.localdomain Redhat 6.5 RAC节点2 192.168.100.12 Loaclhost.localdomain Redhat 5.8 DNS服务器 192.168.100.9 Short hostname type Ip address interface rac1 Publi