CentOS 5.5 安裝 Oracle 11g RAC 問題匯總

來源:互聯網
上載者:User

在安裝RAC 時,出了不少問題。

現匯總如下:

1、開始安裝時,因兩節點同時運行了root.sh,以至出錯, ohasd 不能啟動。

後來刪除重新安裝,先前建立的CRS 磁碟組已不能選擇了。只好再退出來,(選擇已是磁碟成員)

(後面經查詢資料才知,可以在刪除檔案前,執行ASMCA進行管理ASM磁碟組)

先刪除CRS對應的3個磁碟 CRS1,CRS2,CRS3, 再使用 Oracleasm createdisk 重建立立。

再進入安裝介面,可以選擇此3個磁碟進行建立磁碟組CRS 了。

2.提示:ADVM/ACFS is not supported on CentOS-release-5-5.el5.centos

不知是否會有後遺症,但暫時沒出錯。

3.最後執行root.sh 完後,安裝步驟走到最後一步,又出: [INS-20802] Oracle Cluster Verification Utility failed

錯誤。

這裡暫時沒有其它更好的解決辦法,只好跳過去。安裝ORACLE 資料庫,並建立一個資料庫(DBCA)

有的人說是: 原來就是節點一致性上做的有問題 ,但我的檢查,全部通過。

****************************************************************************

[root@rac1 ~]# /opt/app/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /opt/app/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-07-26 18:40:03: Parsing the host name
2011-07-26 18:40:03: Checking for super user privileges
2011-07-26 18:40:03: User has super user privileges
Using configuration parameter file: /opt/app/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on centos-release-5-5.el5.centos



CRS-2672: 嘗試啟動 'ora.gipcd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.mdnsd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.gipcd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.mdnsd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.gpnpd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.gpnpd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.cssd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.diskmon' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.diskmon' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.cssd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.ctssd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.ctssd' (在 'rac1' 上)

ASM created and started successfully.

DiskGroup CRS created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: 嘗試啟動 'ora.crsd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.crsd' (在 'rac1' 上)
CRS-4256: Updating the profile
Successful addition of voting disk 39168288fb9d4fb2bf4de6654d44bb81.
Successfully replaced voting disk group with +CRS.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   39168288fb9d4fb2bf4de6654d44bb81 (/dev/oracleasm/disks/CRS1) [CRS]
Located 1 voting disk(s).
CRS-2673: 嘗試停止 'ora.crsd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.crsd' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.asm' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.asm' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.ctssd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.ctssd' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.cssd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.cssd' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.gpnpd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.gpnpd' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.gipcd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.gipcd' (在 'rac1' 上)
CRS-2673: 嘗試停止 'ora.mdnsd' (在 'rac1' 上)
CRS-2677: 成功停止 'ora.mdnsd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.mdnsd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.mdnsd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.gipcd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.gipcd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.gpnpd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.gpnpd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.cssdmonitor' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.cssd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.diskmon' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.diskmon' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.cssd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.ctssd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.ctssd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.asm' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.asm' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.crsd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.crsd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.evmd' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.evmd' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.asm' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.asm' (在 'rac1' 上)
CRS-2672: 嘗試啟動 'ora.CRS.dg' (在 'rac1' 上)
CRS-2676: 成功啟動 'ora.CRS.dg' (在 'rac1' 上)

rac1     2011/07/26 18:45:46     /opt/app/grid/cdata/rac1/backup_20110726_184546.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 63999 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /opt/app/oraInventory
'UpdateNodeList' was successful.


--------------- rac2 run root.sh --------------------------
[root@rac2 etc]# /opt/app/grid/root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /opt/app/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-07-26 18:46:36: Parsing the host name
2011-07-26 18:46:36: Checking for super user privileges
2011-07-26 18:46:36: User has super user privileges
Using configuration parameter file: /opt/app/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on centos-release-5-5.el5.centos



CRS-4402: CSS 精靈已在獨佔模式下啟動, 但在節點 rac1 (編號為 1) 上發現活動 CSS 精靈, 因此正在終止
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: 嘗試啟動 'ora.mdnsd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.mdnsd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.gipcd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.gipcd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.gpnpd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.gpnpd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.cssdmonitor' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.cssdmonitor' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.cssd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.diskmon' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.diskmon' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.cssd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.ctssd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.ctssd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.asm' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.asm' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.crsd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.crsd' (在 'rac2' 上)
CRS-2672: 嘗試啟動 'ora.evmd' (在 'rac2' 上)
CRS-2676: 成功啟動 'ora.evmd' (在 'rac2' 上)

rac2     2011/07/26 18:49:59     /opt/app/grid/cdata/rac2/backup_20110726_184959.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
正在啟動 Oracle Universal Installer...

檢查交換空間: 必須大於 500 MB。   實際為 66463 MB    通過
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /opt/app/oraInventory
'UpdateNodeList' 成功。


[INS-20802] Oracle Cluster Verification Utility failed

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.