安装RAC,奇怪问题,求高手解答,急!

[复制链接]
查看11 | 回复3 | 2010-1-29 13:05:21 | 显示全部楼层 |阅读模式
HP itatum 11.31 serviceguard 11.19 安装Oracle 10g RAC

1、节点1执行sh -x $ORA_CRS_HOME/install/rootconfig, hang 在+ /sbin/init.d/init.cssd startcheck CSS 语句上
2、手动执行sh -x /sbin/init.d/init.cssd startcheck CSS
+ ORA_CRS_HOME=/u01/oracle/CRS
+ ORACLE_USER=oracle
+ ORACLE_HOME=/u01/oracle/CRS
+ export ORACLE_HOME
+ export ORA_CRS_HOME
+ DISABLE_OPROCD=false
+ OPROCD_DEFAULT_TIMEOUT=1000
+ OPROCD_DEFAULT_MARGIN=500
+ OPROCD_CHECK_TIMEOUT=2000
+ OPROCD_STOP_TIMEOUT=2000
+ HOSTN=/bin/hostname
+ EXPRN=/usr/bin/expr
+ CUT=/usr/bin/cut
+ AWK=/bin/awk
+ ECHO=/bin/echo
+ + /bin/hostname
HOST=DBSVRA
+ + /usr/bin/expr DBSVRA : .*
len1=6
+ + /usr/bin/expr match DBSVRA [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
len2=0
+ [ 6 != 0 ]
+ + /bin/echo DBSVRA
+ /bin/awk { print tolower($0); }
+ /usr/bin/cut -d. -f1
HOST=dbsvra
+ PS=/bin/ps
+ PSE=/bin/ps -e
+ PSEF=/bin/ps -ef
+ HEAD=/bin/head
+ GREP=/bin/grep
+ KILL=/bin/kill
+ KILLTERM=/bin/kill -TERM
+ KILLDIE=/bin/kill -9
+ SLEEP=/bin/sleep
+ NULL=/dev/null
+ UNAME=/bin/uname
+ CAT=/bin/cat
+ RMF=/bin/rm -f
+ TEST=/bin/test
+ WCL=/bin/wc -l
+ TOUCH=/bin/touch
+ SU=/bin/su
+ RENICE=/bin/renice
+ RTGPID=/bin/priocntl -s -c RT -i pgid
+ XARGS=/bin/xargs
+ PWD_COMMAND=/usr/bin/pwd
+ MVF=/bin/mv -f
+ EVAL=eval
+ LS=/bin/ls
+ BASENAME=/bin/basename
+ DATE=/bin/date
+ + /bin/date +%Y-%m-%d-%H:%M:%S
UNIQUEDATE=2009-07-14-13:38:44
+ UNIQUECORE=core.2009-07-14-13:38:44
+ FINDCLSMON=/bin/ps -e -o comm,pid | /bin/grep '^oclsmon'
+ LOGERR=/bin/logger -puser.alert
+ LOGMSG=/bin/logger -puser.err
+ OPROCD=/u01/oracle/CRS/bin/oprocd
+ CRSCTL=/u01/oracle/CRS/bin/crsctl
+ CRSCTLOUT=/tmp/crsctl.14391
+ CRSCTL_KEY_UNDEFINED=12
+ SCRDIR=/var/opt/oracle/scls_scr/dbsvra
+ OPROCDIR=/var/opt/oracle/oprocd
+ OPROCDLOG=/var/opt/oracle/oprocd/dbsvra.oprocd.log
+ STARTCHECKSLEEP=0
+ RUNRECHECKTIME=30
+ PRIORITY_BOOST_DISABLED=0
+ PRIORITY_BOOST_LOW=1
+ PRIORITY_BOOST_MID=2
+ PRIORITY_BOOST_HIGH=3
+ PRIORITY_BOOST_REALTIME=4
+ PRIORITY_BOOST_RENICE_LOW=-5
+ PRIORITY_BOOST_RENICE_MID=-13
+ PRIORITY_BOOST_RENICE_HIGH=-20
+ PRIORITY_BOOST_RENICE_REALTIME=0
+ PRIORITY_BOOST_ENABLED=1
+ PRIORITY_BOOST_DEFAULT=3
+ DEP_CHECK_WAIT=60
+ ULIMIT_CORE=ulimit -c unlimited
+ + /bin/uname
PLATFORM=HP-UX
+ + /bin/uname -m
MACH_HARDWARE=ia64
+ [ ia64 = ia64 ]
+ SO_EXT=so
+ NMAPIDIR_64=/opt/nmapi/nmapi2/lib/hpux64
+ NMAPIDIR_32=/opt/nmapi/nmapi2/lib/hpux32
+ LD_LIBRARY_PATH=/u01/oracle/CRS/lib:/opt/nmapi/nmapi2/lib/hpux64:/usr/lib:
+ SHLIB_PATH=/u01/oracle/CRS/lib32:/opt/nmapi/nmapi2/lib/hpux32:
+ export LD_LIBRARY_PATH
+ export SHLIB_PATH
+ SKGXNLIB=/opt/nmapi/nmapi2/lib/hpux64/libnmapi2.so
+ VC_UP=/bin/ps -ef | /bin/grep '/usr/lbin/cm[g]msd' 1>/dev/null 2>/dev/null
+ FAST_REBOOT=/usr/sbin/reboot -r -n -q
+ + /bin/cat /var/run/syslog.pid
SLOW_REBOOT=/bin/kill -HUP 822 ; /bin/sync & /bin/sleep 2 ; /usr/sbin/reboot -r -n -q
+ DFL_CLSINFO=/bin/clsinfo
+ [ ! -f /opt/nmapi/nmapi2/lib/hpux64/libnmapi2.so ]
+ [ -f /bin/clsinfo ]
+ VC_NAME=HP-UX Service Guard
+ CLINFO=/bin/true
+ ID=/sbin/init.d
+ LVINFO=/usr/sbin/lvdisplay
+ VGINFO=/usr/sbin/vgdisplay
+ VG_ACTIVATE=/usr/sbin/vgchange -a s
+ VG_DEACTIVATE=/usr/sbin/vgchange -a n
+ GETBOOTID=/bin/who -b
+ RENICE=/usr/bin/renice -n
+ DIRNAME=/bin/dirname
+ UNIX95=true
+ export UNIX95
+ [ -z /bin/kill -HUP 822 ; /bin/sync & /bin/sleep 2 ; /usr/sbin/reboot -r -n -q ]
+ AUTOSTARTFILE=/var/opt/oracle/scls_scr/dbsvra/root/crsstart
+ FATALFILE=/var/opt/oracle/scls_scr/dbsvra/oracle/cssfatal
+ NOCLSMON=/var/opt/oracle/scls_scr/dbsvra/root/noclsmon
+ NOOPROCD=/var/opt/oracle/scls_scr/dbsvra/root/nooprocd
+ RUNFILE=/var/opt/oracle/scls_scr/dbsvra/root/cssrun
+ [ startcheck = daemon ]
+ [ startcheck = run ]
+ /sbin/init.d/init.cssd runcheck
+ STATUS=0
+ [ 0 != 0 ]
+ [ -f /opt/nmapi/nmapi2/lib/hpux64/libnmapi2.so ]
+ eval /bin/true
+ /bin/true
+ [ 0 != 0 ]
+ eval /bin/ps -ef | /bin/grep '/usr/lbin/cm[g]msd' 1>/dev/null 2>/dev/null
+ /bin/grep /usr/lbin/cm[g]msd
+ /bin/ps -ef
+ 1> /dev/null 2> /dev/null
+ RC=0
+ [ 0 -ne 0 ]
+ [ ! -r /u01/oracle/CRS/bin/crsctl ]
+ [ CSS = CSS ]
+ /bin/sleep 0
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60
+ /bin/su oracle -c /u01/oracle/CRS/bin/crsctl check boot > /tmp/crsctl.14391
+ RC=8
+ [ 8 != 0 ]
+ /bin/logger -puser.err Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.14391.
+ /bin/sleep 60

3 此时$ORA_CRS_HOME/log/dbsvra/alertdbsvra.log 报错如下:
2009-07-14 11:00:31.842
[client(11293)]CRS-1009:The OCR configuration is invalid. Details in /u01/oracle/CRS/log/dbsvra/client/ocrconfig_11293.log.
2009-07-14 11:00:31.842
[client(11293)]CRS-1009:The OCR configuration is invalid. Details in /u01/oracle/CRS/log/dbsvra/client/ocrconfig_11293.log.
2009-07-14 11:04:16.928
[client(11539)]CRS-1006:The OCR location /dev/oravg/rora_ocr1 is inaccessible. Details in /u01/oracle/CRS/log/dbsvra/client/ocrconfig_11539.log.
2009-07-14 11:04:16.948
[client(11539)]CRS-1001:The OCR was formatted using version 2.
2009-07-14 11:04:24.903
[client(11593)]CRS-1801:Cluster crs configured with nodes dbsvra dbsvrb .
2009-07-14 12:19:28.616
[client(12587)]CRS-1006:The OCR location /dev/oravg/rora_ocr1 is inaccessible. Details in /u01/oracle/CRS/log/dbsvra/client/ocrconfig_12587.log.
2009-07-14 12:19:28.752
[client(12587)]CRS-1001:The OCR was formatted using version 2.
2009-07-14 12:19:37.021
[client(12641)]CRS-1801:Cluster crs configured with nodes dbsvra dbsvrb


4 /u01/oracle/CRS/log/dbsvra/client/ocrconfig_11539.log.:如下
oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.All rights reserved.
2009-07-14 12:19:28.571: [ OCRCONF][1]ocrconfig starts...
2009-07-14 12:19:28.580: [ OCRCONF][1]Upgrading OCR data
2009-07-14 12:19:28.596: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.604: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.604: [OCRRAW][1]proprioini: both disks are not OCR formatted
2009-07-14 12:19:28.604: [OCRRAW][1]proprinit: Could not open raw device
2009-07-14 12:19:28.604: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2009-07-14 12:19:28.605: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2009-07-14 12:19:28.605: [OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
2009-07-14 12:19:28.605: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registr
y is not configured]
2009-07-14 12:19:28.606: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.606: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.606: [OCRRAW][1]proprioini: both disks are not OCR formatted
2009-07-14 12:19:28.611: [OCRRAW][1]proprinit: Could not open raw device
2009-07-14 12:19:28.611: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2009-07-14 12:19:28.611: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.611: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.617: [OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2009-07-14 12:19:28.617: [OCRRAW][1]proprinit

roblem reading the bootblock or superbloc 22

2009-07-14 12:19:28.617: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.617: [OCRRAW][1]propriogid:1: INVALID FORMAT
2009-07-14 12:19:28.744: [OCRRAW][1]propriowv: Vote information on disk 0 [/dev/oravg/rora_ocr] is adjusted from
[0/0] to [1/2]
2009-07-14 12:19:28.744: [OCRRAW][1]propriowv: Vote information on disk 1 [/dev/oravg/rora_ocr1] is adjusted fro
m [0/0] to [1/2]
2009-07-14 12:19:28.752: [OCRRAW][1]propriniconfig:No 92 configuration
2009-07-14 12:19:28.752: [OCRAPI][1]a_init:6a: Backend init successful

5操作系统报错如下:
Jul 14 12:14:22 DBSVRA syslog: icapd: Caught unexpected exception
Jul 14 12:19:37 DBSVRA root: Oracle Cluster Ready Services starting by user request.
Jul 14 12:19:37 DBSVRA su: + tb root-oracle
Jul 14 12:19:37 DBSVRA root: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.12687.

6 /tmp/crsctl.14391 如下
Failure 33 in main OCR context initialization: PROC-33: Oracle Cluster Registry is not configured Operating System
error [Permission denied] [13]

7 节点一执行
#./runcluvfy.sh stage -pre crsinst -n DBSVRA,DBSVRB
Performing pre-checks for cluster services setup
Checking node reachability...
Node reachability check passed from node "DBSVRA".

Checking user equivalence...
User equivalence check passed for user "root".
Checking administrative privileges...
User existence check passed for "root".
Group existence check passed for "oinstall".
Membership check for user "root" in group "oinstall" [as Primary] failed.
Check failed on nodes:
DBSVRB,DBSVRA
Administrative privileges check failed.
Checking node connectivity...
Node connectivity check passed for subnet "10.3.255.192" with node(s) DBSVRB,DBSVRA.
Node connectivity check passed for subnet "192.168.1.0" with node(s) DBSVRB,DBSVRA.
Suitable interfaces for the private interconnect on subnet "10.3.255.192":
DBSVRB lan2:10.3.255.197
DBSVRA lan2:10.3.255.196
Suitable interfaces for the private interconnect on subnet "192.168.1.0":
DBSVRB lan0:192.168.1.101
DBSVRA lan0:192.168.1.100
ERROR:
Could not find a suitable set of interfaces for VIPs.
Node connectivity check failed.

Checking system requirements for 'crs'...
No checks registered for this product.
Pre-check for cluster services setup was unsuccessful on all the nodes.
回复

使用道具 举报

千问 | 2010-1-29 13:05:21 | 显示全部楼层
自己顶一下!!!!


回复

使用道具 举报

千问 | 2010-1-29 13:05:21 | 显示全部楼层
咋还没人看呢,这可怎么办啊
回复

使用道具 举报

千问 | 2010-1-29 13:05:21 | 显示全部楼层
自己再顶!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行