在solaris10單例項配置oracle10g asm執行css不啟動處理

wisdomone1發表於2009-11-25
在利用dbca(採用asm方式儲存),執行
以root執行/oracle/product/10.2.0/db_1/bin/localconfig reset
出錯:




處理如下:

How To Reconfigure Oracle Cluster Synchronization Services (CSS) In Non-RAC Installation?

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.1.0.2
AIX5L Based Systems (64-bit)
Solaris Operating System (SPARC 64-bit)
Linux x86
HP-UX PA-RISC (64-bit)
HP Tru64 UNIX

Goal

Checked for relevance on 11-Jun-2007

How To Reconfigure Oracle Cluster Synchronization Services (CSS) ?

During Oracle 10G Non-RAC installation, the following error message appeared
 "Expecting the CRS daemons to be up within 600 sec.
  Giving up: Oracle CSS stack appears not be running
  Oracle CSS service services would not start as installed
  Automatic Storage Manager (ASM) cannot be used until Oracle CSS services is started"

One of the solution for the above error is to reconfigure the CSS (Oracle Cluster Synchronization Services).

Solution

To reconfigure the Oracle CSS daemon, follow the steps:
   
  1. In all Oracle home directories on the system, stop all Oracle ASM instances and any Oracle Database instances that  use ASM for database file storage.
   
  2. Switch user to root.
   
  3. Depending on your operating system, enter one of the following commands to
     identify the Oracle home directory being used to run the CSS daemon:
    - AIX and Linux:
    # more /etc/oracle/ocr.loc
    - Other operating systems:
    # more /var/opt/oracle/ocr.loc
    The output from this command is similar to the following:
    ocrconfig_loc=/u01/app/oracle/product/10.1.0/db_1/cdata/localhost/local.ocr
    local_only=TRUE
   
    The ocrconfig_loc parameter specifies the location of the Oracle Cluster Registry (OCR) used by the CSS daemon.
   
    The path up to the cdata directory is the Oracle home directory where the CSS daemon is running (/u01/app/oracle/product/10.1.0/db_1 in this example). If the value for the local_only parameter is FALSE, Oracle CRS is installed on this system. See the Oracle Real Application Clusters Installation and Configuration Guide for information about RAC or CRS.
   
   
  4.Set the ORACLE_HOME environment variable to specify the path to this Oracle  home directory:
    - Bourne, Bash, or Korn shell:
    # ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_2; export ORACLE_HOME
    - C shell:
    # setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_2
   
  5.Enter the following command to reconfigure the CSS daemon to run from this Oracle home:
    # $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
    The script. stops the Oracle CSS daemon, reconfigures it in the new Oracle home, and then restarts it.
 
  When the system boots, the CSS daemon starts automatically from the new Oracle home.

NOTE:
Before you remove an Oracle Database 10g Oracle home, you must determine whether the CSS daemon is running from that Oracle home and whether any other Oracle Database 10g Oracle homes exist on the system:

  • If the Oracle Database 10g Oracle home that you want to remove is the only Oracle Database 10g installation on the system, you can delete the CSS daemon configuration.
  • If the CSS daemon is running from the Oracle Database 10g Oracle home that you want to remove and other Oracle Database 10g installations exist on the system, you must reconfigure the CSS daemon to run from another Oracle Database 10g Oracle home.


References

Oracle® Database Installation Guide 10g Release 1 (10.1) for UNIX Systems [Part No. B10811-02]

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

相關文章