有一个RAC问题

问题描述:

节点一:

SQL> select open_mode from gv$database;

OPEN_MODE
--------------------
READ WRITE

READ WRITE



节点二:

Connected to an idle instance.

SQL>
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl1.ora'

明明是第二个节点,应该是orcl2,为嘛要打开1的参数文件。

解决:

[oracle@lmrac2 ~]$ export ORACLE_SID=orcl2
[oracle@lmrac2 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Oct 12 02:57:49 2015

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

这样确实搞定了,但是为什么呢?查看配置文件,发现,原来是前面设置的时候我偷懒,两个节点参数文件相同,没有修改节点2的配置文件,所以,细心,需要时刻。

export ORACLE_SID=orcl1


你可能感兴趣的:(RAC)