linux 中在没有对init.crs作修改的时候,在linux开机时总是会自动把rac 的cluster 软件和数据库一起和系统起来,而这种启动,在我的测试中crs-stat -t查看时往往总一两个服务没有启来.可以通过以下方法来关闭crs开机自启动:
禁止Clusterware在系统重启后自动启动:
$ /etc/init.d/init.crs disable
$ /etc/init.d/init.crs disable
在系统正常启动后:
让Clusterware在系统重启后自动启动:
$ /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
CSS appears healthy
CRS appears healthy
EVM appears healthy
rac2-> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
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
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10834762/viewspace-466376/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10834762/viewspace-466376/