(1) grid 用户
修改方法_asm_hbeatiowait
alter system set "_asm_hbeatiowait"=120 scope=spfile sid='*';
<需要重启 ASM/CRS 来时修改生效。>
(2)关闭相应节点的数据库后执行关闭 CRS 服务
关闭一个节点的实例:
srvctl stop instance -o immediate -d orcl -i orcl1
开启一个节点的实例:
srvctl start instance -d orcl -i orcl1
#确保关闭前实例上没有 session 在执行,如果有停机窗口的话建议杀一次 local=no 的会话
[oracle@oranode1 ~]$ ps -ef |grep -i local=no |wc -l
1
[oracle@oranode1 ~]$ ps -ef |grep -i local=no |cut -c 10-15|xargs kill -9
kill 7803: No such process
[root@rac1 ~]# crsctl stop has -f
[root@rac1 ~]# crsctl start has
(3 )查看参数
grid 用户
SQL>
col "hidden parameter" for a40
col value for a12
select ksppinm as "hidden parameter", ksppstvl as "value" from x$ksppi join
x$ksppcv using (indx) where ksppinm like '\_%' escape '\' and ksppinm like
'%asm_hb%' order by ksppinm;
value
--------------------------------------------------------------------------------
_asm_hbeatiowait
120
评论