编辑好cell,db节点信息文件all_group,dbs_group,cell_group
[root@idc-dns1 exatest]# pwd
/root/exatest
[root@idc-dns1 exatest]# cat all_group
exadb1
exadb2
cell1
cell2
cell3
[root@idc-dns1 exatest]# cat dbs_group
exadb1
exadb2
[root@idc-dns1 exatest]# cat cell_group
cell1
cell2
cell3
[root@idc-dns1 exatest]#

添加所有服务器的ssh信任,实现远程登陆免输入密码

[root@idc-dns1 exatest]# dcli -k -g all_group -l root
The authenticity of host 'cell1 (172.16.218.61)' can't be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
root@cell1's password:
The authenticity of host 'exadb1 (172.16.218.171)' can't be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
root@exadb1's password:
The authenticity of host 'cell2 (172.16.218.62)' can't be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
root@cell2's password:
The authenticity of host 'exadb2 (172.16.218.172)' can't be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
root@exadb2's password:
The authenticity of host 'cell3 (172.16.218.63)' can't be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
root@cell3's password:
exadb1: ssh key added
exadb2: ssh key added
cell1: ssh key added
cell2: ssh key added
cell3: ssh key added
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
测试一下dcli获取所有主机的hostname
[root@idc-dns1 exatest]# dcli -g all_group -l root hostname
exadb1: exadb1
exadb2: exadb2
cell1: cell1
cell2: cell2
cell3: cell3
检查一下db主机的集群配置是否开机启动
[root@idc-dns1 exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl config crs
exadb1: CRS-4622: Oracle High Availability Services autostart is enabled.
exadb2: CRS-4622: Oracle High Availability Services autostart is enabled.

禁用开机启动
[root@idc-dns1 exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl disable crs
exadb1: CRS-4621: Oracle High Availability Services autostart is disabled.
exadb2: CRS-4621: Oracle High Availability Services autostart is disabled.

db节点停Oracle数据库集群
[root@idc-dns1 exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl stop crs
exadb1: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.crsd' on 'exadb1'
exadb1: CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.cvu' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.registry.acfs' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.mfy.db' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.oc4j' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.scan1.vip' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.exadb1.vip' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.cvu' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.mfy.db' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.DATA.dg' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.RECO.dg' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.registry.acfs' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.RECO.dg' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.scan1.vip' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.exadb1.vip' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.oc4j' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.DATA.dg' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.asm' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.asm' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.ons' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.ons' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.net1.network' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.net1.network' on 'exadb1' succeeded
exadb1: CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'exadb1' has completed
exadb1: CRS-2677: Stop of 'ora.crsd' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.ctssd' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.evmd' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.asm' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.mdnsd' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.evmd' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.mdnsd' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.ctssd' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.drivers.acfs' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.asm' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.cssd' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.cssd' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.diskmon' on 'exadb1'
exadb1: CRS-2673: Attempting to stop 'ora.crf' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.crf' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.gipcd' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.diskmon' on 'exadb1' succeeded
exadb1: CRS-2677: Stop of 'ora.gipcd' on 'exadb1' succeeded
exadb1: CRS-2673: Attempting to stop 'ora.gpnpd' on 'exadb1'
exadb1: CRS-2677: Stop of 'ora.gpnpd' on 'exadb1' succeeded
exadb1: CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'exadb1' has completed
exadb1: CRS-4133: Oracle High Availability Services has been stopped.
exadb2: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.crsd' on 'exadb2'
exadb2: CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.registry.acfs' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.mfy.db' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.exadb2.vip' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.registry.acfs' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.exadb2.vip' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.mfy.db' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.DATA.dg' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.RECO.dg' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.RECO.dg' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.DATA.dg' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.asm' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.asm' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.ons' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.ons' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.net1.network' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.net1.network' on 'exadb2' succeeded
exadb2: CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'exadb2' has completed
exadb2: CRS-2677: Stop of 'ora.crsd' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.ctssd' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.evmd' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.asm' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.mdnsd' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.evmd' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.mdnsd' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.ctssd' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.asm' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.cssd' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.drivers.acfs' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.cssd' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.diskmon' on 'exadb2'
exadb2: CRS-2673: Attempting to stop 'ora.crf' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.crf' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.gipcd' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.diskmon' on 'exadb2' succeeded
exadb2: CRS-2677: Stop of 'ora.gipcd' on 'exadb2' succeeded
exadb2: CRS-2673: Attempting to stop 'ora.gpnpd' on 'exadb2'
exadb2: CRS-2677: Stop of 'ora.gpnpd' on 'exadb2' succeeded
exadb2: CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'exadb2' has completed
exadb2: CRS-4133: Oracle High Availability Services has been stopped.
[root@idc-dns1 exatest]#

检查db节点上是否还存在集群进程
[root@idc-dns1 exatest]# dcli -g dbs_group -l root "ps -ef | grep diskmo[n]"

检查cell自动报警通知
[root@idc-dns1 exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e list cell attributes name,notificationMethod\""
cell1: cell1
cell2: cell2
cell3: cell3
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#

禁用Cell报警通知
[root@idc-dns1 exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell notificationMethod=none\""
cell1: Cell cell1 successfully altered
cell2: Cell cell2 successfully altered
cell3: Cell cell3 successfully altered
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#

关闭Cell服务
[root@idc-dns1 exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell shutdown services all \""
cell1:
cell1: Stopping the RS, CELLSRV, and MS services...
cell1: The SHUTDOWN of services was successful.
cell2:
cell2: Stopping the RS, CELLSRV, and MS services...
cell2: The SHUTDOWN of services was successful.
cell3:
cell3: Stopping the RS, CELLSRV, and MS services...
cell3: The SHUTDOWN of services was successful.
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#

cell关机
[root@idc-dns1 exatest]# dcli -g cell_group -l root poweroff

db关机
[root@idc-dns1 exatest]# dcli -g dbs_group -l root poweroff          
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#
[root@idc-dns1 exatest]#

参考Oracle Note ID 1093890.1

Steps To Shutdown/Startup The Exadata & RDBMS Services and Cell/Compute Nodes On An Exadata Configuration. (文档 ID 1093890.1)

转载于:https://blog.51cto.com/xiximeili/1604035

Oracle Exadata 一体机关机过程(虚拟机环境)相关推荐

  1. Oracle Exadata一体机与云计算应用(四)

    5. Exadata数据库云 Exadata 是一个现代化的架构,配有可横向扩展的行业标准数据库服务器.可横向扩展的智能存储服务器以及一个可连接所有服务器和存储的内部极速 InfiniBand 结构. ...

  2. oracle官网一体机,Oracle Exadata 专有云数据库一体机

    Oracle Exadata 专有云数据库一体机 X8M 款型 Exadata X8M 基础系统 0 到 48 颗 OCPU,38 TB 的 NVMe 闪存缓存,74 TB 的可用存储以及最高 150 ...

  3. ORACLE11G 将dataguard的rman备份恢复到测试环境的单机oracle中的详细过程

    2019独角兽企业重金招聘Python工程师标准>>> ORACLE11G 将dataguard的rman备份恢复到测试环境的单机oracle中的详细过程 原创 2015年08月21 ...

  4. 【下载】深入oracle数据库专用虚拟机环境部署方案《VirtualBox+OELR5U7x86_64+Oracle11gR2》...

    这是前几天我的一个学员找我问虚拟机环境下如何部署Oracle11gR2,让我感触颇深,正好多年前写了一份安装文档,现在放上来给大家分享一下 VirtualBox OELR5U7x86_64 Oracl ...

  5. 闲聊Oracle Exadata与Hadoop

    在文章开始前先作个声明,本人并非专业技术人员,充其量只能算IT从业人员和技术爱好者.本文也不是写给专业技术人员看的技术类文档,只是本人因为工作需要,在学习Oracle Exadata系统架构的过程中, ...

  6. 使用vagrant搭建三台虚拟机环境

    文章目录 一.下载安装vagrant 二.下载安装Oracle VM VirtualBox 三.下载virtualbox.box文件 四.搭建centos7虚拟机环境 五.用xshell测试连接虚拟机 ...

  7. oracle学习笔记 oracle软件安装准备工作 第一部分 环境准备

    oracle学习笔记   oracle软件安装准备工作  第一部分 环境准备 这节课对初学者来说内容较多,我把它分成了三篇. 即使这样也不可能把每个可能遇到的问题都说到,如果遇到没说到的问题自己上网搜 ...

  8. oracle rac 一体机,oda一体机异机rman升级11.2.0.2rac到11.2.0.4

    客户新买了oda三代一体机,想替换原来的一代的一体机.原来的环境安装的是oracle11.2.0.2的rac,新的一体机安装的是oracle11.2.0.4.对于客户来说,想通过最短的时间来实现切换. ...

  9. Oracle 11g RAC搭建(VMware环境)

    Oracle 11g RAC搭建(VMware环境) Oracle 11g RAC搭建(VMware环境) 安装环境与网络规划 安装环境 网络规划 环境配置 1. 通过SecureCRT建立命令行连接 ...

最新文章

  1. Tomcat学习总结(3)——Tomcat优化详细教程
  2. 2016第18本:世界上最简单的会计书
  3. 深度学习网络backbone?head、neck、bottleneck、GAP、Embedding、pretext task、downstream task、temperature parameter
  4. 如何避免JS内存泄漏?
  5. 模型稳定后放在服务器上,把工程放在服务器上
  6. mysql2008无法登陆_SQL2008不能登录实例
  7. 快速排序思路(前后指针版),代码实现
  8. Linux操作Oracle(8)——Oracle数据库迁移全纪录(1) — 表空间 用户 权限迁移
  9. 通过ISA发布服务器(二)
  10. 知识蒸馏方法的演进历史综述
  11. 管理学定律七:责任分散效应与帕金森定律
  12. tune声场测试软件_SIA SmaartLive(声场测试软件) V7.2.1 官方版
  13. Tomcat中的ResourceBundle国际化解析
  14. 数据结构(C#)_排序算法(冒泡排序)
  15. App获取android分辨率,设计手机app界面时,常用的分辨率是多少
  16. 网络 :无线热点与网线一同连接笔记本(完结)
  17. netbeans插件推荐
  18. 深度学习读书笔记:DeepLearningBook - Chapter 9 - Conventional Networks
  19. 【elementUI】el-table树形结构样式修改-gif展示说明 按要求自取即可
  20. 2019你为什不选择创业?是因为什么原因?

热门文章

  1. Struts 2的文件上传
  2. GUID和自增ID的比较_delete
  3. HighLight selected features
  4. PyTorch中的C++扩展
  5. [洛谷P4721]【模板】分治 FFT
  6. 河北省重大系统征集系统案例分析
  7. kubernetes之kubedns部署
  8. 首个最全的MongoDB 3.6 全览
  9. Linux内存管理原理【转】
  10. hibernate -- 分页模糊查询中setParameter 和setParameterList