Oracle 10.2.0.4 RAC, 3 Nodes .
Linux AS 5.3
一直都使用下面example中的步骤来开启及关闭RAC ,其中一步从来没有使用过,srvctl start service -d devdb 及对应的stop
步骤,如果使用这个命令的话,我看了网上的一些资料,在crs_stat -t 的时候会看到很多其他的Service (除了标准的ons, lsnr,gsd, inst , db ..等 ) 。平时需要这些服务吗 ? 标准的开启关闭是否需要这一步 ? 还有关闭Server 的时候有必要 crsctl stop crs 来关闭crs 吗 (当然特殊情况需要单独关闭crs除外) ? 关闭Server 会自动停止crs ,这样会不会对crs有什么影响,比如起不来 ?
In Linux, You can execute "/etc/init.d/init.crs stop/start" or issue "crsctl start/stop crs" to bounce or shutdown crs service.
EXAMPLE:
STARTUP:
rac1->srvctl start nodeapps -n rac1
rac1->srvctl start nodeapps -n rac2
rac1->srvctl start asm -n rac1
rac1->srvctl start asm -n rac2
rac1->srvctl start database -d devdb
rac1->srvctl start service -d devdb
rac1->crs_stat -t
SHUTDOWN:
rac1->srvctl stop service -d devdb
rac1->srvctl stop database -d devdb
rac1->srvctl stop asm -n rac2
rac1->srvctl stop asm -n rac1
rac1->srvctl stop nodeapps -n rac2
rac1->srvctl stop nodeapps -n rac1
rac1->crs_stat–t
Linux AS 5.3
一直都使用下面example中的步骤来开启及关闭RAC ,其中一步从来没有使用过,srvctl start service -d devdb 及对应的stop
步骤,如果使用这个命令的话,我看了网上的一些资料,在crs_stat -t 的时候会看到很多其他的Service (除了标准的ons, lsnr,gsd, inst , db ..等 ) 。平时需要这些服务吗 ? 标准的开启关闭是否需要这一步 ? 还有关闭Server 的时候有必要 crsctl stop crs 来关闭crs 吗 (当然特殊情况需要单独关闭crs除外) ? 关闭Server 会自动停止crs ,这样会不会对crs有什么影响,比如起不来 ?
In Linux, You can execute "/etc/init.d/init.crs stop/start" or issue "crsctl start/stop crs" to bounce or shutdown crs service.
EXAMPLE:
STARTUP:
rac1->srvctl start nodeapps -n rac1
rac1->srvctl start nodeapps -n rac2
rac1->srvctl start asm -n rac1
rac1->srvctl start asm -n rac2
rac1->srvctl start database -d devdb
rac1->srvctl start service -d devdb
rac1->crs_stat -t
SHUTDOWN:
rac1->srvctl stop service -d devdb
rac1->srvctl stop database -d devdb
rac1->srvctl stop asm -n rac2
rac1->srvctl stop asm -n rac1
rac1->srvctl stop nodeapps -n rac2
rac1->srvctl stop nodeapps -n rac1
rac1->crs_stat–t
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-618039/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-618039/
本文探讨了Oracle 10.2.0.4 RAC环境下,如何正确启动和关闭RAC集群的方法。特别讨论了srvctl命令的使用场景,并提出疑问关于额外服务的存在及其必要性。
617

被折叠的 条评论
为什么被折叠?



