Oracle11g RAC集群重启操作
1.关闭数据库
1.1 关闭前查看数据库状态
[oracle@fanxin01 ~]$ srvctl status database -d FXDB
实例 fxdb1 正在节点 fanxin01 上运行
实例 fxdb2 正在节点 fanxin02 上运行
1.2 关闭数据库
[oracle@fanxin01 ~]$ srvctl stop database -d FXDB
[oracle@fanxin01 ~]$ srvctl status database -d FXDB
实例 fxdb1 没有在 fanxin01 节点上运行
实例 fxdb2 没有在 fanxin02 节点上运行
2.停止集群服务
2.1 停止前的检查
[root@fanxin01 ~]# su - grid
[grid@fanxin01 ~]$ crs_stat -t -v
Name           Type           R/RA   F/FT   Target    State     Host        
----------------------------------------------------------------------
ora.DATA.dg    ora....up.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora....ER.lsnr ora....er.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora....N1.lsnr ora....er.type 0/5    0/0    ONLINE    ONLINE    fanxin02    
ora.asm        ora.asm.type   0/5    0/     ONLINE    ONLINE    fanxin01    
ora.cvu        ora.cvu.type   0/5    0/0    ONLINE    ONLINE    fanxin01    
ora....SM1.asm application    0/5    0/0    ONLINE    ONLINE    fanxin01    
ora....01.lsnr application    0/5    0/0    ONLINE    ONLINE    fanxin01    
ora....n01.gsd application    0/5    0/0    OFFLINE   OFFLINE               
ora....n01.ons application    0/3    0/0    ONLINE    ONLINE    fanxin01    
ora....n01.vip ora....t1.type 0/0    0/0    ONLINE    ONLINE    fanxin01    
ora....SM2.asm application    0/5    0/0    ONLINE    ONLINE    fanxin02    
ora....02.lsnr application    0/5    0/0    ONLINE    ONLINE    fanxin02    
ora....n02.gsd application    0/5    0/0    OFFLINE   OFFLINE               
ora....n02.ons application    0/3    0/0    ONLINE    ONLINE    fanxin02    
ora....n02.vip ora....t1.type 0/0    0/0    ONLINE    ONLINE    fanxin02    
ora.fxdb.db    ora....se.type 0/2    0/1    OFFLINE   OFFLINE               
ora.gsd        ora.gsd.type   0/5    0/     OFFLINE   OFFLINE               
ora....network ora....rk.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora.oc4j       ora.oc4j.type  0/1    0/2    ONLINE    ONLINE    fanxin01    
ora.ons        ora.ons.type   0/3    0/     ONLINE    ONLINE    fanxin01    
ora.scan1.vip  ora....ip.type 0/0    0/0    ONLINE    ONLINE    fanxin02
2.2 停止集群
[root@fanxin01 bin]# ./crsctl stop cluster -n fanxin01 fanxin02
CRS-2673: Attempting to stop 'ora.crsd' on 'fanxin01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'fanxin01'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'fanxin01'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'fanxin01'
CRS-2673: Attempting to stop 'ora.cvu' on 'fanxin01'
CRS-2673: Attempting to stop 'ora.oc4j' on 'fanxin01'
CRS-2677: Stop of 'ora.cvu' on 'fanxin01' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.fanxin01.vip' on 'fanxin01'
CRS-2677: Stop of 'ora.fanxin01.vip' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'fanxin02'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'fanxin02'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'fanxin02'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'fanxin02'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'fanxin02'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.fanxin02.vip' on 'fanxin02'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'fanxin02'
CRS-2677: Stop of 'ora.fanxin02.vip' on 'fanxin02' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'fanxin02' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'fanxin01' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'fanxin01'
CRS-2677: Stop of 'ora.asm' on 'fanxin01' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'fanxin02'
CRS-2677: Stop of 'ora.asm' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'fanxin02'
CRS-2677: Stop of 'ora.ons' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'fanxin02'
CRS-2677: Stop of 'ora.net1.network' on 'fanxin02' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'fanxin02' has completed
CRS-2673: Attempting to stop 'ora.ons' on 'fanxin01'
CRS-2677: Stop of 'ora.ons' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'fanxin01'
CRS-2677: Stop of 'ora.net1.network' on 'fanxin01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'fanxin01' has completed
CRS-2677: Stop of 'ora.crsd' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'fanxin02'
CRS-2673: Attempting to stop 'ora.evmd' on 'fanxin02'
CRS-2673: Attempting to stop 'ora.asm' on 'fanxin02'
CRS-2677: Stop of 'ora.crsd' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'fanxin01'
CRS-2673: Attempting to stop 'ora.evmd' on 'fanxin01'
CRS-2673: Attempting to stop 'ora.asm' on 'fanxin01'
CRS-2677: Stop of 'ora.evmd' on 'fanxin02' succeeded
CRS-2677: Stop of 'ora.evmd' on 'fanxin01' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'fanxin02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'fanxin01' succeeded
CRS-2677: Stop of 'ora.asm' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'fanxin02'
CRS-2677: Stop of 'ora.asm' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'fanxin01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'fanxin02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'fanxin02'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'fanxin01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'fanxin01'
CRS-2677: Stop of 'ora.cssd' on 'fanxin02' succeeded
CRS-2677: Stop of 'ora.cssd' on 'fanxin01' succeeded
[oracle@fanxin01 ~]$ srvctl status database -d FXDB
PRCD-1027 : 无法检索数据库 FXDB
PRCR-1115 : 找不到与过滤器 ((NAME == ora.fxdb.db) && (TYPE == ora.database.type)) 匹配且包含属性 VERSION,ORACLE_HOME,DATABASE_TYPE 的类型为 资源 的实体
Cannot communicate with crsd
[grid@fanxin01 ~]$ crs_stat -t -v
CRS-0184: Cannot communicate with the CRS daemon.
3.启动集群服务
[root@fanxin01 bin]# ./crsctl start cluster -n fanxin01 fanxin02
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fanxin01'
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fanxin02'
CRS-2676: Start of 'ora.cssdmonitor' on 'fanxin01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'fanxin01'
CRS-2672: Attempting to start 'ora.diskmon' on 'fanxin01'
CRS-2676: Start of 'ora.cssdmonitor' on 'fanxin02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'fanxin02'
CRS-2672: Attempting to start 'ora.diskmon' on 'fanxin02'
CRS-2676: Start of 'ora.diskmon' on 'fanxin01' succeeded
CRS-2676: Start of 'ora.diskmon' on 'fanxin02' succeeded
CRS-2676: Start of 'ora.cssd' on 'fanxin02' succeeded
CRS-2676: Start of 'ora.cssd' on 'fanxin01' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'fanxin02'
CRS-2672: Attempting to start 'ora.ctssd' on 'fanxin01'
CRS-2676: Start of 'ora.ctssd' on 'fanxin01' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'fanxin01'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'fanxin01'
CRS-2676: Start of 'ora.ctssd' on 'fanxin02' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'fanxin02'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'fanxin02'
CRS-2676: Start of 'ora.evmd' on 'fanxin01' succeeded
CRS-2676: Start of 'ora.evmd' on 'fanxin02' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'fanxin02' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'fanxin02'
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'fanxin01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'fanxin01'
CRS-2676: Start of 'ora.asm' on 'fanxin02' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'fanxin02'
CRS-2676: Start of 'ora.asm' on 'fanxin01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'fanxin01'
CRS-2676: Start of 'ora.crsd' on 'fanxin02' succeeded
CRS-2676: Start of 'ora.crsd' on 'fanxin01' succeeded
[oracle@fanxin01 ~]$ srvctl status database -d FXDB
实例 fxdb1 没有在 fanxin01 节点上运行
实例 fxdb2 没有在 fanxin02 节点上运行
4.启动数据库
[oracle@fanxin01 ~]$ srvctl start database -d FXDB
[oracle@fanxin01 ~]$
[oracle@fanxin01 ~]$ srvctl status database -d FXDB
实例 fxdb1 正在节点 fanxin01 上运行
实例 fxdb2 正在节点 fanxin02 上运行
[grid@fanxin01 ~]$ crs_stat -t -v
Name           Type           R/RA   F/FT   Target    State     Host        
----------------------------------------------------------------------
ora.DATA.dg    ora....up.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora....ER.lsnr ora....er.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora....N1.lsnr ora....er.type 0/5    0/0    ONLINE    ONLINE    fanxin01    
ora.asm        ora.asm.type   0/5    0/     ONLINE    ONLINE    fanxin01    
ora.cvu        ora.cvu.type   0/5    0/0    ONLINE    ONLINE    fanxin02    
ora....SM1.asm application    0/5    0/0    ONLINE    ONLINE    fanxin01    
ora....01.lsnr application    0/5    0/0    ONLINE    ONLINE    fanxin01    
ora....n01.gsd application    0/5    0/0    OFFLINE   OFFLINE               
ora....n01.ons application    0/3    0/0    ONLINE    ONLINE    fanxin01    
ora....n01.vip ora....t1.type 0/0    0/0    ONLINE    ONLINE    fanxin01    
ora....SM2.asm application    0/5    0/0    ONLINE    ONLINE    fanxin02    
ora....02.lsnr application    0/5    0/0    ONLINE    ONLINE    fanxin02    
ora....n02.gsd application    0/5    0/0    OFFLINE   OFFLINE               
ora....n02.ons application    0/3    0/0    ONLINE    ONLINE    fanxin02    
ora....n02.vip ora....t1.type 0/0    0/0    ONLINE    ONLINE    fanxin02    
ora.fxdb.db    ora....se.type 0/2    0/1    ONLINE    ONLINE    fanxin01    
ora.gsd        ora.gsd.type   0/5    0/     OFFLINE   OFFLINE               
ora....network ora....rk.type 0/5    0/     ONLINE    ONLINE    fanxin01    
ora.oc4j       ora.oc4j.type  0/1    0/2    ONLINE    ONLINE    fanxin02    
ora.ons        ora.ons.type   0/3    0/     ONLINE    ONLINE    fanxin01    
ora.scan1.vip  ora....ip.type 0/0    0/0    ONLINE    ONLINE    fanxin0
SQL> select inst_id,
  2         instance_name,
  3         version,
  4         startup_time,
  5         status,
  6         database_status
  7    from gv$instance;
   INST_ID INSTANCE_NAME    VERSION           STARTUP_TIME  STATUS       DATABASE_STATUS
---------- ---------------- -----------------  ------------ ------------ -----------------
         1 fxdb1            11.2.0.4.0        2020/4/26    OPEN         ACTIVE
         2 fxdb2            11.2.0.4.0        2020/4/26   OPEN         ACTIVE

Oracle11g RAC集群重启操作相关推荐

  1. 集群起不来oracle,Oracle11g rac 集群无法启动分析及处理

    n this Document Applies to: Oracle Database - Enterprise Edition - Version 11.2.0.1 and later Inform ...

  2. oracle同机单实例加入集群,将oracle同机单实例加入rac集群的操作步骤

    [导读] 最近做了一个迁移项目,将同机单实例数据库添加到集群中.当时由于建实例的时候,没有将数据库建成rac,而是建成了一个单实例 最近做了一个迁移项目,将同机单实例数据库添加到集群中.当时由于建实例 ...

  3. ORACLE RAC 11.2.0.4 ASM加盘导致集群重启之ASM sga设置过小

    最近,一同事为一2节点的ORACLE RAC 11.2.0.4集群ASM加盘,没有注意到ASM的sga设置过小,加盘reblance时导致集群重启.详细描述如下: ​1.问题描述 ​ORACLE RA ...

  4. Oracle 运维篇+RAC集群转单实例/RMAN异机恢复/RMAN迁移/RMAN备份恢复操作概要

    说明:本文为Oracle RAC集群转单实例/RMAN异机恢复/RMAN迁移/RMAN备份恢复操作概要方便用户查阅 温馨提示:如果您发现本文哪里写的有问题或者有更好的写法请留言或私信我进行修改优化 说 ...

  5. 【RAC】使用一条“ps”命令获取Linux环境下全部RAC集群进程信息

    如何仅使用一条ps命令便能获取到所有与RAC集群进程相关的信息.   从所使用的命令角度上看很简单,仅需使用ps命令结合grep命令便能实现.问题关键是需要确定检索哪些关键字. 1.与RAC集群有关的 ...

  6. Oracle RAC集群体系结构

    一. Oracle集群体系结构 Oracle RAC,全称是Oracle Real Application Cluster,即真正的应用集群,是oracle提供的一个并行集群系统,整个集群系统由Ora ...

  7. RAC集群故障恢复CRS-4047,CRS-4000

    知识点: RAC是real application clusters的缩写,译为"实时应用集群",是高可用性的一种,也是Oracle数据库支持网格计算环境的核心技术. 主要作用: ...

  8. Oracle系列:Oracle RAC集群体系结构

     一. Oracle集群体系结构 Oracle RAC,全称是Oracle Real Application Cluster,即真正的应用集群,是oracle提供的一个并行集群系统,整个集群系统由Or ...

  9. 在 Oracle Enterprise Linux 和 iSCSI 上构建您自己的 Oracle RAC 集群(续)

    DBA:Linux    下载  Oracle 数据库 11g    标签 linux, rac, clustering, 全部 在 Oracle Enterprise Linux 和 iSCSI 上 ...

  10. RAC集群启停的总结

    方法一:srvctl操作rac集群启停的用法 一.RAC集群的分步关闭 rac集群的关闭顺序: 关闭数据库实例>关闭asm实例>关闭集群服务 1.关闭数据库实例 #su - grid $c ...

最新文章

  1. 花了我一天一夜整理出的软件测试学习路线
  2. 定时分量和直流分量_直流电机效率测试的计算与纹波因数及波形因数的计算
  3. js中的失误导致的奇怪事
  4. 注册服务(addService)
  5. Android零基础入门第24节:自定义View简单使用
  6. sas数据导入终极汇总-之一
  7. 算法——贝叶斯公式的推导过程
  8. hdu 2516 取石子游戏
  9. 分离整数的各个数(信息学奥赛一本通-T1088)
  10. Java消息中间件--JMS规范
  11. java多状态机_一个java状态机样例的代码
  12. Spring MVC拦截器实现用户登录权限验证案例
  13. UVA1585 LA3354 Score【水题】
  14. Ubuntu16.04安装Mono4.2.1 C#开发环境
  15. pytorch ocr_使用PyTorch解决CAPTCHA(不使用OCR)
  16. ctfmon是什么启动项_win7系统启动项中没有ctfmon进程的解决方法
  17. 剖析虚幻渲染体系(15)- XR专题
  18. WinRAR密码破解(精)
  19. 数据产品经理---如何设计指标字典
  20. 穿越火线 raquo; 自动准备挂机刷分器V3.4 6月18号(支持永久跟新)

热门文章

  1. 笔记本内置键盘的外接改造(上篇)
  2. 解决Windows7下virtualbox安装ubuntu出现的0x00000000指令引用0x00000000内存,该内存不能为written问题
  3. html5添加音波波形图,wavesurfer.js绘制音频波形图的实现
  4. 向上的箭头 html,HTML中利用div+CSS实现简单的箭头图标
  5. 柳传志:我是任正非的知音
  6. mysql中两位小数点_mysql 保留两位小数函数
  7. 计算机切换用户界面键,电脑如何切换屏幕_电脑怎么切换另一个界面快捷键
  8. java计算机毕业设计网上购物商城演示录像源码+系统+数据库+lw文档+mybatis+运行部署
  9. 南大计算机专业课表,南大课程表
  10. CPU性能的三大主要参数