安裝Oracle 11g rac for linux as 4 update 4

wenaini發表於2009-01-26
基本上和10g沒什麼大區別,只有一些小地方不同而已。oracle版本:11.1.0.6 for Linux x86_64[@more@]

rpm包的要求,hangcheck的配置,oracle使用者身份對等性連線,hosts配置和裸裝置配置全部與10g相同,這裡就不復述了。

主要區別一個是voting disk和ocr的大小,11g中要求均大於256m,如果不到大小則安裝cluster時會提示。另外在安裝cluster時,第一個節點執行root.sh沒有問題,而第二個節點報出:

Adding daemons to inittab
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start

最後超時退出,crsd.log也會迴圈報錯:

CSS is not ready. Received status 3 from CSS. Waiting for good status

後來發現是因為voting disk和ocr沒有清除乾淨,oracle給的是:

dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=12800

而我偷懶使用了:

dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=128

導致第一次安裝失敗- -

重新來過就ok了

新增加了osasm的operating system group,直接把oracle加到這個組就可以以SYSASM的許可權來管理ASM例項了

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

相關文章