ITPub博客

首页 > 数据库 > 数据库开发技术 > startup and shutdown RAC

startup and shutdown RAC

原创 数据库开发技术 作者:oo0yuki0oo 时间:2012-10-05 12:53:59 0 删除 编辑

===========
启动rac的顺序
===========
1.正常情况下,系统启动时,crs会自动带起来,不需要进行任何操作,如果发现crs没有起来,则可以使用以下命令进行操作
# /etc/init.d/init.crs start

2. 启动以后检查状态
# su - oracle
$ crsctl check crs
$ crs_stat -t

============
关闭rac的顺序
============
1.关闭数据库实例
su - oracle

$ srvctl stop database -d [db_name]

eg:
$ srvctl stop database -d zyydb

2. 关闭ASM实例 (如果使用ASM,则必须先关闭instance, db,再关闭ASM)
$ srvctl stop asm -n [node_name]
eg:
$ srvctl stop asm -n zyy1
$ srvctl stop asm -n zyy2

3. 关闭crs资源
# cd /u01/app/crs/bin
# ./crsctl stop crs

4. 关闭crsITPUB个人空间
# /etc/init.d/init.crs stop

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8337095/viewspace-1059536/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-04-22

  • 博文量
    62
  • 访问量
    82172