【流雲】Solaris安裝RAC執行root.sh失敗解決一例

idba發表於2008-07-22

前段時間一個朋友在安裝Solaris上的RAC時,安裝clusterware最後一步執行root.sh總是無法成功,報如下的錯:

# ./root.sh WARNING: directory ‘/oracle/product/10.2′ is not owned by root
WARNING: directory ‘/oracle/product’ is not owned by root
WARNING: directory ‘/oracle’ 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
Failed to upgrade Oracle Cluster Registry configuration r

看了一下crs的alert日誌:

2008-07-01 23:51:53.642 [client(2216)]CRS-1006:The OCR location /oracle/OCR_A is inaccessible. Details i n /oracle/product/10.2/cluster/log/db1/client/ocrconfig_2216.log. 2008-07-01 23:51:53.807 [client(2216)]CRS-1001:The OCR was formatted using version 2.

細看/oracle/product/10.2/cluster/log/db1/client/ocrconfig_2216.log:

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracl e. All rights reserved. 2008-07-01 23:51:53.612: [ OCRCONF][1]ocrconfig starts… 2008-07-01 23:51:53.612: [ OCRCONF][1]Upgrading OCR data 2008-07-01 23:51:53.630: [ OCRRAW][1]propriogid:1: INVALID FORMAT 2008-07-01 23:51:53.631: [ OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT 2008-07-01 23:51:53.631: [ OCRRAW][1]propri

發現在格式化OCR的盤時出錯。第一個反應是祼裝置許可權的問題,折騰幾次後發現這個並不存在問題。最終定位到問題是由於ocr和voting disk對應的祼裝置用了cylinder 0,而Solaris上祼裝置的cylinder 0是要預留給系統使用的,因此才會導致格式化OCR失敗。解決辦法便是重建OCR和VOTING DISK對應的祼裝置,跳過CYLINDER 0。

http://rdc.taobao.com/blog/dba/html/193_solaris_rac_install_issu.html/trackback

<!--

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1384/viewspace-406966/,如需轉載,請註明出處,否則將追究法律責任。

相關文章