Archive for 十二月 3rd, 2008

RAC enable archive mode

星期三, 十二月 3rd, 2008

首先关闭节点2 3 4
在节点1 上执行一下工作

alter system set cluster_database=flase scope=spfile;
alter system set log_archive_format=’arch_%S_R%_T%’;
alter system set log_archive_dest_1=’location=/ocfs2/archive’ scope=spfile sid=’*';
shutdown immediate
然后启动到mount状态
startup mount
alter database archivelog
alter database open
alter system set parameter CLUSTER_DATABASE= true scope=spfile;
shutdown immediate
然后启动所有节点

最近实施遇到几个问题

星期三, 十二月 3rd, 2008

一、就是在安装4节点RAC时,安装前
cluvfy stage -pre crsinst -n -verbose 没啥问题
但是在安装最后校检时,却提示一、path ‘/tmp/’ does not exists or cannot create nodes ,只有节点1有问题,也就是安装节点

经过GOOGLE确认为信任问题,解决方法很简单就是以ORACLE用户用SSH访问下自己就好了

二 就是在安装单节点时候EM安装报如下错误

Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]

解决方法:检查HOSTS文件,确保正确
drop user sysman cascade;
drop role MGMT_USER cascade;
drop user MGMT_VIEW cascade;
drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
drop PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;

后重新执行 emca -repos recreate

执行 emca -config dbcontrol db

就OK了