oracle oui25031,windows平台oracle rac oui-25031问题

最近一直在折腾windows平台oracle rac的安装问题(windows rac

raw+asm),折腾两周,总算搞定了。oui-25031问题第一次在aix平台上安装时也遇到过,那时问题出现在裸设备的初始化上或者vip的配置上,windows平台的原因也是如此。其实现在来看,遇到这个报错不用担心,出现这个报错至少说明你已经有95%的把握装好clusterware了,至少我的经历是只要报这个错,我采用下面的方法都能安装成功:

一 vip配置问题

如果警告是“给定的接口 "pubcard" 不是公共接口。应使用公共接口来配置虚拟

IP。”这时候重新执行一遍vipca即可。

二 crssetup.config.bat has failed

如:

信息: Created a new file

D:\oracle\product\10.2.0\crs\cfgtoollogs\configToolFailedCommands信息: Since the option is to overwrite the existing

D:\oracle\product\10.2.0\crs\cfgtoollogs\configToolFailedCommandsfile, backing it up

信息: The backed up file name is

D:\oracle\product\10.2.0\crs\cfgtoollogs\configToolFailedCommands.bak

严重: OUI-25031: 一些 Configuration Assistant 失败。强烈建议您此时重试这些

Configuration Assistant。如果任何 "推荐" 的 Assistant 没有成功运行,

都将意味着无法正确配置系统。

1. 检查 Configuration Assistant 屏幕上的“详细资料”面板, 查看导致出现失败的错误。

2. 修复导致这些失败的错误。

3. 选择发生失败的 Assistant, 然后单击 '重试' 按钮进行重试。

信息: 所选用户: 是(Y)/确定

遇到以上问题,或者说只要是“crssetup.config.bat

has failed”问题都可以采用以下方法解决:

1

初始化裸设备ocr、votedisk

D:\oracle\product\10.2.0\crs\BIN>logpartformat

/q \\.\ocrcfg

Logical Partition Formatter

Version 2.0

Copyright 1989-2001 Oracle Corporation. All rights

reserved.

Please wait, formatting disk

................................................

Formatting completed.

D:\oracle\product\10.2.0\crs\BIN>logpartformat

/q \\.\votedsk1

Logical Partition Formatter

Version 2.0

Copyright 1989-2001 Oracle Corporation. All rights

reserved.

Please wait, formatting disk

................................................

Formatting completed.

2 设置临时变量:

D:\oracle\product\10.2.0\crs\BIN>set

temp=c:\windows\temp

D:\oracle\product\10.2.0\crs\BIN>set

tmp=c:\windows\temp

3

执行crssetup.config.bat

D:\oracle\product\10.2.0\crs\install>crssetup.config.bat

Step 1: checking status of CRS

cluster

Step 2: creating directories

(D:\oracle\product\10.2.0\crs)

Step 3: configuring OCR repository

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

interconnect name>

node 1: winrac1 winrac1-priv winrac1

node 2: winrac2 winrac2-priv winrac2

Creating OCR keys for user 'administrator', privgrp ''..

Operation successful.

Now formatting voting device: \\.\votedsk1

Format of 1 voting devices

complete.

Step 4: configuring safe mode for CRS

stack

Step 5: Starting up CRS stack on all

nodes

Successfully completed configuration of 2 nodes

4

查看当前crs版本,但此时crs服务还未启动。

D:\oracle\product\10.2.0\crs\BIN>crsctl

query crs softwareversion

CRS software version on node [winrac1] is

[10.2.0.1.0]

D:\oracle\product\10.2.0\crs\BIN>crsctl

query crs activeversion

CRS active version on the cluster is

[10.2.0.1.0]

D:\oracle\product\10.2.0\crs\BIN>crs_stat

-t

CRS-0202: 未注册任何资源。

5

注册资源(只需在一个节点上执行)

D:\oracle\product\10.2.0\crs/bin/racgons.exe add_config

winrac1:6200 winrac2:6200

D:\oracle\product\10.2.0\crs/bin/oifcfg.exe setif

-global "pubcard"/10.230.20.192:public

"pricard"/192.168.1.0:cluster_interconnect

C:\WINDOWS\system32\cmd /c call

D:\oracle\product\10.2.0\crs/bin/vipca.bat -silent -nodelist

"winrac1,winrac2" -nodevips

"winrac1/winrac1-vip/255.255.255.192/pubcard,winrac2/winrac2-vip/255.255.255.192/pubcard"

C:\WINDOWS\system32\cmd /c call

D:\oracle\product\10.2.0\crs/bin/cluvfy.bat stage -post crsinst -n

"winrac1,winrac2"

-----只需要在一个节点上执行------

D:\oracle\product\10.2.0\crs\BIN>crsctl

query crs softwareversion

CRS software version on node [db1] is

[10.2.0.4.0]

D:\oracle\product\10.2.0\crs\BIN>crsctl

query crs activeversion

CRS active version on the cluster is

[10.2.0.4.0]

D:\oracle\product\10.2.0\crs\BIN>racgons.exe

add_config db1:6200 db2:6200

D:\oracle\product\10.2.0\crs\BIN>oifcfg.exe

setif -global "pubcard"/10.230.21.9

6:public

"pricard"/192.168.21.0:cluster_interconnect

D:\oracle\product\10.2.0\crs\BIN>crs_stat

-t

CRS-0202: No resources are registered.

D:\oracle\product\10.2.0\crs\BIN>vipca.bat

-silent -nodelist "db1,db2" -nodevips

"db1/db1-vip/255.255.255.224/pubcard,db2/db2-vip/255.255.255.224/pubcard"

在 (2) 节点上创建 VIP 应用程序资源...

在 (2) 节点上创建 GSD 应用程序资源...

在 (2) 节点上创建 ONS 应用程序资源...

启动 (2) 节点上的 VIP 应用程序资源 ...

启动 (2) 节点上的 GSD 应用程序资源...

启动 (2) 节点上的 ONS 应用程序资源...

Done.

D:\oracle\product\10.2.0\crs\BIN>crs_stat

-t

Name Type Target State Host

------------------------------------------------------------

ora.db1.gsd application ONLINE ONLINE db1

ora.db1.ons application ONLINE ONLINE db1

ora.db1.vip application ONLINE ONLINE db1

ora.db2.gsd application ONLINE ONLINE db2

ora.db2.ons application ONLINE ONLINE db2

ora.db2.vip application ONLINE ONLINE db2

6 检查安装结果

D:\oracle\product\10.2.0\crs\BIN>cluvfy.bat

stage -post crsinst -n "db1,db2"

执行 群集服务设置的后期检查

正在检查节点的可访问性...

节点 "DB1" 的节点可访问性检查已通过。

正在检查等同用户...

用户 "Administrator" 的等同用户检查已通过。

正在检查集群管理器完整性...

正在检查 CSS 守护程序...

"CSS daemon" 的 守护程序状态 检查已通过。

集群管理器完整性检查已通过。

正在检查集群完整性...

集群完整性检查已通过

正在检查 OCR 完整性...

正在检查是否缺少非集群配置...

所有节点都没有非集群的, 仅限本地的配置。

OCR

设备的唯一性检查已通过。

正在检查 OCR 的版本...

正确版本 "2" 的 OCR 存在。

正在检查 OCR 数据完整性...

OCR 数据完整性检查已通过。

OCR 完整性检查已通过。

正在检查 CRS

完整性...

正在检查守护程序的活动性...

"CRS daemon" 的活动性检查已通过。

正在检查守护程序的活动性...

"CSS daemon" 的活动性检查已通过。

正在检查守护程序的活动性...

"EVM daemon" 的活动性检查已通过。

正在检查 CRS 健康状况...

CRS 健康状况检查已通过。

CRS 完整性检查已通过。

正在检查节点应用程序是否存在...

正在检查 VIP 节点应用程序是否存在(必需)

检查已通过。

正在检查 ONS 节点应用程序是否存在(可选)

检查已通过。

正在检查 GSD 节点应用程序是否存在(可选)

检查已通过。

群集服务设置 的后期检查成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值