首页 > 数据库 > Oracle > Oracle RAC维护命令集
--启动数据库
$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
--检查集群状态:
$crs_stat -t
--检查crs状态:
$crsctl check crs
--禁止Clusterware在系统重启后自动启动:
$ /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
--重启RAC:
#su – oracle
$crs_stop –all
$srvctl stop nodeapps -n wdch1
$srvctl stop nodeapps -n wdch2
$srvctl start nodeapps -n wdch1
$srvctl start nodeapps -n wdch2
$crs_start –all
$srvctl start database -d wdchpacs
$srvctl stop database -d orcl
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16712909/viewspace-1042984/ ,如需转载,请注明出处,否则将追究法律责任。