LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 786|回复: 0

求助:关于linux下的oracle rac问题

[复制链接]
发表于 2004-11-18 09:33:57 | 显示全部楼层 |阅读模式
oracle rac,使用raw

如何在rac中把不归档方式改为归档方式?

有人提供了答案
1. shutdown both instance of rac
2. edit the initsid.ora file of one node, change cluster_database to false
3. add the related archive log parameter as single instance.
4. mount database and enable archive log start
5. open database
6. shutdown database
7. edit the initsid.ora file again and change cluster_database to true
8. apply the change of initsid.ora to spfile
9. startup database
notes:
if you want to archive log to different destination, you should pay attention to the archive log parameter.


但是,问题出来了,在第2步

initorcl1.ora是我的initsid.ora,可是里面的内容只有一行

[oracle@linux1 dbs]$ ll
total 36
-rw-r--r-- 1 oracle dba 12920 Mar 8 2002 initdw.ora
-rw-r--r-- 1 oracle dba 8385 Mar 9 2002 init.ora
-rw-r--r-- 1 oracle dba 53 Nov 14 14:15 initorcl1.ora
-rwSr----- 1 oracle dba 1536 Nov 15 08:32 orapworcl1
[oracle@linux1 dbs]$ cat initorcl1.ora
SPFILE='/u01/app/oracle/oradata/orcl/spfileorcl.ora'

查过资料,好象rac是共享配置文件的,我估计我只要修改spfileorcl.ora'就可以

而spfileorcl.ora是用ln连raw的
不知道该如何访问和修改~~
头晕啊~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表