Linux 中Oracle 10g RAC 关闭crs开机自启动

2014-11-24 17:52:34 · 作者: · 浏览: 1

linux 中在没有对init.crs作修改的时候,在开机时总是会自动把的cluster 软件和一起和系统起来.数据库raclinux


另外,也可以通过crs-stat -t查看,把没有启动的服务手工启动



禁止Clusterware在系统重启后自动启动:


$ /etc/init.d/init.crs disable


$ /etc/init.d/init.crs enable


可以用以下方动启动crs:


$/etc/init.d/init.cssd start
$/etc/init.d/init.crs start
rac1-> ./init.crs start

Startup will be queued to init within 90 seconds.

rac1-> ./init.cssd start

Startup will be queued to init within 90 seconds.


或:


$crsctl start crs


检查crs状态:


$crsctl check crs
rac1-> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
rac2-> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy


启动数据库


$srvctl start nodeapps -n rac1
$srvctl start nodeapps -n rac2
$srvctl start asm -n rac1
$srvctl start asm -n rac2
$srvctl start instance -d racdb -i racdb1
$srvctl start instance -d racdb -i racdb2