rac 关库 启库
关库顺序 先关闭数据库 然后关闭节点资源
[root@rac1 ~]# srvctl stop database -d prod
[root@rac1 ~]# srvctl stop instance -d prod -i prod1
[root@rac1 ~]# srvctl stop instance -d prod -i prod2
[root@rac1 ~]# srvctl stop nodeapps -n rac1
[root@rac1 ~]# srvctl start nodeapps -n rac2
启库顺序相反
[root@rac1 ~]# srvctl start nodeapps -n rac1
[root@rac1 ~]# srvctl start nodeapps -n rac2
[root@rac1 ~]# srvctl start instance -d prod -i prod1
[root@rac1 ~]# srvctl start instance -d prod -i prod2
[root@rac1 ~]# srvctl start database -d prod
[root@rac1 ~]# srvctl stop database -d prod root用户关库命令
[root@rac1 ~]# srvctl start database -d prod root用户启库命令
[root@rac1 ~]# srvctl stop instance -d prod -i prod1 关闭实例
[root@rac1 ~]# crsctl stop crs 关闭crs资源
[root@rac1 ~]# crsctl check crs 查看crs资源的状态
[root@rac1 ~]# crs_stat -t
[root@rac1 ~]# srvctl stop nodeapps -n rac1 关闭节点应用 rac1