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

[root@testdb11b ~]# /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.
[root@testdb11b ~]# /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

 

[root@testdb11a ~]# 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
[root@testdb11a ~]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK2 /dev/sdc1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK3 /dev/sdd1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]#  /usr/sbin/oracleasm createdisk DISK4 /dev/sde1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@testdb11a ~]# /usr/sbin/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4

 

 然后重新安装Grid Infrastructure。

(2)我的原因是:

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

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

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

c 重新绑定裸设备

d 重新安装Grid Infrastructure

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

 

转载于:https://www.cnblogs.com/haoxiaoyu/p/3974032.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
已经为您指定了 IP 地址块 192.168.111.0 /24,您必须为三个现有的网络分配地址。 子网的具体情况为: 第 1 个子网为现有的学生 LAN,最多支持 100 台主机;(R2-Central 上的 Fa0/0) 第 2 个子网为现有的 ISP LAN,最多支持 5 台主机;(已配置) 第 3 个子网为现有的 WAN,采用点到点链路;(已配置) 接口 IP 地址: 服务器 R1-ISP 和 R2-Central 的串行接口已经配置。 对于 R2-Central 的 Fa0/0 接口,使用现有学生 LAN 子网中可用的最大地址。 对于主机 1A 和 1B,使用现有学生 LAN 子网中前两个 IP 地址(可用的两个最小地址)。 对于主机 1A 和 1B,DNS 服务器为 192.168.111.133 /29。 下一跳路由器(默认路由指向的路由器)R1-ISP 的 IP 地址为 192.168.111.138 /30。 任务 2:修复以太网交换 LAN 的问题。 PC 1B 中安装了无线网卡,但无法连接到交换机;添加快速以太网卡 PT-HOST-NM-1CFE 到 PC 1B。 将这张新安装的快速以太网卡连接到交换机的 Fa0/2 接口。 将 PC 1A 连接到交换机的 Fa0/1 接口。 将交换机的 Fa0/24 接口连接到 R2-Central Fa0/0 接口。 很明显,R2-Central Fa0/0 接口、S1-Central 交换机接口(Fa0/1、Fa0/2 和 Fa0/24)及 PC 1A 接口的以太网速度和双工设置不正确。请将所有以太网接口设置为自动协商速度和双工(如果链路的两端都支持,这将实现全双工 100 Mbps 运行)。对于所有设备,请确保设备和接口的电源都已经打开(确保以太网接口没有关闭)。将 IP 地址添加到路由器 Fa0/0 接口以及两台 PC 中。将可用的最大子网地址分配给网关,可用的两个最小地址分配给 PC。R2-Central 上的静态路由应为通过 R1-ISP 串行接口 IP 地址指向的默认静态路由。这些步骤在第 5 章和第 6 章的“综合技巧练习”中都有详细说明。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值