|
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的
不知道该如何访问和修改~~
头晕啊~ |
|