日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

AIX系统下RAC故障之-VIPCA 错误

發布時間:2025/3/15 windows 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 AIX系统下RAC故障之-VIPCA 错误 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

環境:

操作系統:?AIX 5300-09

集群軟件: CRS 10.2.0.1

數據庫:?? Oracle 10.2.0.1

故障現象:

運行完,root.sh 后在node 上運行vipca 出現以下錯誤

[root@aix209 bin]#./vipca

PRKR-1062 : Failed to find configuration for node aix209

PRKR-1062 : Failed to find configuration for node aix209


解決方法:

1、刪除該節點CRS 配置信息,并重新執行root.sh

[root@aix209 install]#./rootdelete.sh

Shutting down Oracle Cluster Ready Services (CRS):

Stopping resources.

Error while stopping resources. Possible cause: CRSD is down.

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

Shutdown has begun. The daemons should exit soon.

Checking to see if Oracle CRS stack is down...

Oracle CRS stack is not running.

Oracle CRS stack is down now.

Removing script for Oracle Cluster Ready services

Updating ocr file for downgrade

Cleaning up SCR settings in '/etc/oracle/scls_scr'


[root@aix209 install]#/u01/crs_1/root.sh

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured


Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

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

node <nodenumber>: <nodename> <private interconnect name> <hostname>

node 1: aix209 aix209-priv aix209

node 2: aix210 aix210-priv aix210

clscfg: Arguments check out successfully.


NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 30 seconds.

Adding daemons to inittab

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

? ? ? ?aix209

? ? ? ?aix210

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

IP address "aix209-vip" has already been used. Enter an unused IP address.

[root@aix209 install]#

2、重新執行vipca

vipca 可以執行!


3、但在,執行過程中報以下錯誤

忽略該錯誤后,出現以下問題:

[root@aix209 /]#crs_stat -t

Name ? ? ? ? ? Type ? ? ? ? ? Target ? ?State ? ? Host ? ? ? ?

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

ora.aix209.gsd application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix209.ons application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix210.gsd application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.ons application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.vip application ? ?ONLINE ? ?ONLINE ? ?aix210

在crs 資源里,缺少ora.aix209.vip的資源!


4、手工創建該資源


[u@h W]$ srvctl add nodeapps -n aix209 -o /u01/app/oracle/product/10.2.0/db_1 -A 192.168.8.143/255.255.255.0

CRS-0210: Could not find resource 'ora.aix209.vip'.


[oracle@aix209 bin]$./crs_profile -create ora.aix209.vip -t application -a ora.aix209.vip.src

[oracle@aix209 bin]$ls -l /u01/crs_1/crs/script/

total 0

[oracle@aix209 bin]$ls -l /u01/crs_1/crs/public/

total 16

-rw-rw---- ? ?1 oracle ? oinstall ? ? ? 3396 Aug ?3 2004 ?action_scr.scr

-rw-r--r-- ? ?1 oracle ? oinstall ? ? ? ?752 Apr ?8 16:26 ora.aix209.vip.cap

[oracle@aix209 bin]$cd /u01/crs_1/crs/public/

[oracle@aix209 public]$cp action_scr.scr ../script/ora.aix209.vip.src

可以注冊ora.aix209.vip資源:

[root@aix209 /]#crs_register ora.aix209.vip

[root@aix209 /]#srvctl add nodeapps -n aix209 -o /u01/app/oracle/product/10.2.0/db_1 -A 192.168.8.143/255.255.255.0


[root@aix209 /]#crs_stat -t

Name ? ? ? ? ? Type ? ? ? ? ? Target ? ?State ? ? Host ? ? ? ?

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

ora.aix209.gsd application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix209.ons application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix209.vip application ? ?OFFLINE ? OFFLINE ?

ora.aix210.gsd application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.ons application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.vip application ? ?ONLINE ? ?ONLINE ? ?aix210 ?

但是啟動失敗! ?

[root@aix209 /]#crs_start -f ora.aix209.vip

Attempting to start `ora.aix209.vip` on member `aix209`

`ora.aix209.vip` on member `aix209` has experienced an unrecoverable failure.

Human intervention required to resume its availability.

CRS-0215: Could not start resource 'ora.aix209.vip'.


五、最終解決方法:

重新清理OCR和VOTE磁盤,重新執行root.sh(在兩個節點上)

[root@aix210 /]#dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=2560

2560+0 records in

2560+0 records out

[root@aix210 /]#dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560

2560+0 records in

2560+0 records out

[root@aix210 /]#/u01/crs_1/root.sh

[root@aix209 /]#crs_stat -t

Name ? ? ? ? ? Type ? ? ? ? ? Target ? ?State ? ? Host ? ? ? ?

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

ora.aix209.vip application ? ?OFFLINE ? OFFLINE ? ? ? ?

重新運行vipca:

[root@aix209 /]#crs_stat -t

Name ? ? ? ? ? Type ? ? ? ? ? Target ? ?State ? ? Host ? ? ? ?

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

ora.aix209.gsd application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix209.ons application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix209.vip application ? ?ONLINE ? ?ONLINE ? ?aix209 ? ? ?

ora.aix210.gsd application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.ons application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

ora.aix210.vip application ? ?ONLINE ? ?ONLINE ? ?aix210 ? ? ?

[root@aix209 /]#

@至此,問題解決!










本文轉自 客居天涯 51CTO博客,原文鏈接:http://blog.51cto.com/tiany/1392368,如需轉載請自行聯系原作者

總結

以上是生活随笔為你收集整理的AIX系统下RAC故障之-VIPCA 错误的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。