Home  >  Article  >  Database  >  Oracle RAC 未从SPfile启动故障处理

Oracle RAC 未从SPfile启动故障处理

WBOY
WBOYOriginal
2016-06-07 17:03:221015browse

发现RAC的其中一个实例SGA不正常,查看spfilesqlgt;show parameter spfile NAME TYPE VALUE

发现RAC的其中一个实例SGA不正常,查看spfile

sql>show parameter spfile  

NAME                  TYPE        VALUE

------------------------------------ ----------- ------------------------------

spfile                   string     

结果值没有spfile,没有从spfile启动,查看dbs下的pfile文件发现该实例的Pfile文件的内容被改了

实例2上

sql>show parameter spfile  

NAME                  TYPE        VALUE

------------------------------------ ----------- ------------------------------

spfile                   string    /dev/spfilegis.ora

 

数据库的参数文件有spfile 和pfile。 RAC 的参数文件比较特殊。 因为默认情况下,,RAC的spfile 是放在共享设备上(RAW设备或者ASM磁盘组)。而在各节点的pfile文件里只记录了这个spfile的位置

处理办法

1.把dbs下的pfile文件备份

   cp  initgis1.ora  initgis.ora.bak

2. 停实例gis1

   sqlplus>shutdown immediate

 3.vi 编辑initgis1.ora 

  spfile=/dev/spfilegis.ora

保存退出

4.启动实例1

sqlplus>startup

5.查看SGA正常

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn