<pre name="code" class="sql">[grid@devrac1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.LISTENER.lsnr
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.OCRVOT.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.asm
ONLINE ONLINE devrac1 Started
ONLINE ONLINE devrac2 Started
ora.gsd
OFFLINE OFFLINE devrac1
OFFLINE OFFLINE devrac2
ora.net1.network
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.ons
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE devrac2
ora.cvu
1 ONLINE ONLINE devrac2
ora.devrac.db
1 ONLINE ONLINE devrac1 Open
2 ONLINE ONLINE devrac2 Open
ora.devrac.devrun1.svc
1 ONLINE ONLINE devrac1
ora.devrac.devrun2.svc
1 ONLINE ONLINE devrac2
ora.devrac1.vip
1 ONLINE ONLINE devrac1
ora.devrac2.vip
1 ONLINE ONLINE devrac2
ora.oc4j
1 ONLINE ONLINE devrac2
ora.scan1.vip
1 ONLINE ONLINE devrac2 ######################################################################################################################################################################
[grid@devrac2 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.LISTENER.lsnr
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.OCRVOT.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.asm
ONLINE ONLINE devrac1 Started
ONLINE ONLINE devrac2 Started
ora.gsd
OFFLINE OFFLINE devrac1
OFFLINE OFFLINE devrac2
ora.net1.network
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.ons
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE devrac2
ora.cvu
1 ONLINE ONLINE devrac2
ora.devrac.db
1 ONLINE ONLINE devrac1 Open
2 ONLINE ONLINE devrac2 Open
ora.devrac.devrun1.svc
1 ONLINE ONLINE devrac1
ora.devrac.devrun2.svc
1 ONLINE ONLINE devrac2
ora.devrac1.vip
1 ONLINE ONLINE devrac1
ora.devrac2.vip
1 ONLINE ONLINE devrac2
ora.oc4j
1 ONLINE ONLINE devrac2
ora.scan1.vip
1 ONLINE ONLINE devrac2 ----开始连在devrac1节点上
SQL> select distinct username from v$session; USERNAME
------------------------------ HZMCASSET
CZCIS
SYS
CBSRUN [grid@devrac1 ~]$ crsctl stop crs
CRS-4563: Insufficient user privileges. CRS-4000: Command Stop failed, or completed with errors.
[grid@devrac1 ~]$ exit
logout
[root@devrac1 grid]# crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'devrac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'devrac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'devrac1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'devrac1'
CRS-2673: Attempting to stop 'ora.devrac.devrun1.svc' on 'devrac1'
CRS-2677: Stop of 'ora.devrac.devrun1.svc' on 'devrac1' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.devrac1.vip' on 'devrac1'
CRS-2677: Stop of 'ora.devrac1.vip' on 'devrac1' succeeded
CRS-2672: Attempting to start 'ora.devrac1.vip' on 'devrac2'
CRS-2676: Start of 'ora.devrac1.vip' on 'devrac2' succeeded
CRS-2672: Attempting to start 'ora.devrac.devrun1.svc' on 'devrac2'
CRS-2676: Start of 'ora.devrac.devrun1.svc' on 'devrac2' succeeded
CRS-2673: Attempting to stop 'ora.OCRVOT.dg' on 'devrac1'
CRS-2673: Attempting to stop 'ora.devrac.db' on 'devrac1'
CRS-2677: Stop of 'ora.devrac.db' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'devrac1'
CRS-2677: Stop of 'ora.DATA.dg' on 'devrac1' succeeded
CRS-2677: Stop of 'ora.OCRVOT.dg' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'devrac1'
CRS-2677: Stop of 'ora.asm' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'devrac1'
CRS-2677: Stop of 'ora.ons' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'devrac1'
CRS-2677: Stop of 'ora.net1.network' on 'devrac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'devrac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'devrac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'devrac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'devrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'devrac1'
CRS-2677: Stop of 'ora.evmd' on 'devrac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'devrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'devrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'devrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'devrac1'
CRS-2677: Stop of 'ora.cssd' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'devrac1'
CRS-2677: Stop of 'ora.crf' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'devrac1'
CRS-2677: Stop of 'ora.gipcd' on 'devrac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'devrac1'
CRS-2677: Stop of 'ora.gpnpd' on 'devrac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'devrac1' has completed
CRS-4133: Oracle High Availability Services has been stopped. [grid@devrac2 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2
ora.LISTENER.lsnr
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2
ora.OCRVOT.dg
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2
ora.asm
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2 Started
ora.gsd
OFFLINE OFFLINE devrac1
OFFLINE OFFLINE devrac2
ora.net1.network
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2
ora.ons
ONLINE OFFLINE devrac1
ONLINE ONLINE devrac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE devrac2
ora.cvu
1 ONLINE ONLINE devrac2
ora.devrac.db
1 ONLINE OFFLINE Instance Shutdown
2 ONLINE ONLINE devrac2 Open
ora.devrac.devrun1.svc
1 ONLINE ONLINE devrac2
ora.devrac.devrun2.svc
1 ONLINE ONLINE devrac2
ora.devrac1.vip
1 ONLINE INTERMEDIATE devrac2 FAILED OVER
ora.devrac2.vip
1 ONLINE ONLINE devrac2
ora.oc4j
1 ONLINE ONLINE devrac2
ora.scan1.vip
1 ONLINE ONLINE devrac2 启动CRS:
[grid@devrac1 ~]$ crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.LISTENER.lsnr
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.OCRVOT.dg
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.asm
ONLINE ONLINE devrac1 Started
ONLINE ONLINE devrac2 Started
ora.gsd
OFFLINE OFFLINE devrac1
OFFLINE OFFLINE devrac2
ora.net1.network
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
ora.ons
ONLINE ONLINE devrac1
ONLINE ONLINE devrac2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE devrac2
ora.cvu
1 ONLINE ONLINE devrac2
ora.devrac.db
1 ONLINE ONLINE devrac1 Open
2 ONLINE ONLINE devrac2 Open
ora.devrac.devrun1.svc
1 ONLINE ONLINE devrac2
ora.devrac.devrun2.svc
1 ONLINE ONLINE devrac2
ora.devrac1.vip
1 ONLINE ONLINE devrac1
ora.devrac2.vip
1 ONLINE ONLINE devrac2
ora.oc4j
1 ONLINE ONLINE devrac2
ora.scan1.vip
1 ONLINE ONLINE devrac2 crsctl stop crs 方式停止数据库,启动后数据库会自动打开
												

11g Rac 切换的更多相关文章

  1. 【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之集群概念介绍(一)

    集群概念介绍(一)) 白宁超 2015年7月16日 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习 ...

  2. Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之ORACLE集群概念和原理(二)

    ORACLE集群概念和原理(二) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总.然后形成体 ...

  3. 【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之RAC 工作原理和相关组件(三)

    RAC 工作原理和相关组件(三) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总.然后形成体 ...

  4. 【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之缓存融合技术和主要后台进程(四)

    缓存融合技术和主要后台进程(四) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总.然后形成体 ...

  5. Oracle 11g RAC oc4j/gsd Offline

    Oracle 11g RAC中,发现oc4j以及gsd服务都处于offline状态,这是Oracle 11g RAC默认情形.即便如此,并不影响数据库的使用,因为 oc4j 是用于WLM 的一个资源, ...

  6. Oracle 11g RAC 环境下单实例非缺省监听及端口配置

    如果在Oracle 11g RAC环境下使用dbca创建单实例数据库后,Oracle会自动将其注册到缺省的1521端口及监听器.大多数情况下我们使用的为非缺省监听器以及非缺省的监听端口.而且在Orac ...

  7. oracle 11g rac R2 for linux change(public,vip)IP ,hostname (oracle 11g rac R2 修改公有,虚拟,私有IP,网卡)

    结构如下: 说明: 节点IP,主机名的修改步骤来自ORACLE support文档: 如何修改集群的公网信息(包括 VIP) (文档 ID 1674442.1) 实验环境情况如下: 实验 节点名称 数 ...

  8. 【转】【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之缓存融合技术和主要后台进程(四)

    原文地址:http://www.cnblogs.com/baiboy/p/orc4.html   阅读目录 目录 Cache Fusion 原理 什么是 Cache Fusion? 什么是高可用 FA ...

  9. 【转】【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之RAC 工作原理和相关组件(三)

    原文地址:http://www.cnblogs.com/baiboy/p/orc3.html 阅读目录 目录 RAC 工作原理和相关组件 ClusterWare 架构 RAC 软件结构 集群注册(OC ...

随机推荐

  1. Linux Top使用说明

    运行top后,按P键就按CPU排序,按M键就按内存排序 P – 以 CPU 占用率大小的顺序排列进程列表 M – 以内存占用率大小的顺序排列进程列表 在系统维护的过程中,随时可能有需要查看 CPU 使 ...

  2. 【转】Math.Atan2 方法

    原文网址:https://msdn.microsoft.com/zh-cn/library/system.math.atan2.aspx 返回正切值为两个指定数字的商的角度. 命名空间:  Syste ...

  3. java进阶计划

    鉴于自己在java 的学习过程中,像是无头苍蝇一样,东扎一把,西戳一下,没有一个明确的方向,也没有一个比较明确的方面,所以有了这个大致的计划. 计划的目标: 1. java本身的目标 对线程(thre ...

  4. error recoder,error debug for openStack kilo

  5. hdu 5178 pairs (线性探查问题)

    Problem Description John has n points on the X axis, and their coordinates are (x[i],),(i=,,,…,n−). ...

  6. 未能载入文件或程序集“DAL”或它的某一个依赖项。系统找不到指定的文件。

    这个一般出如今三层给B层与D层之间加抽象工厂-接口-映射.时候出的错.出错的地方是抽象工厂. --如图 watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTA ...

  7. Zedboard甲诊opencv图像处理(三)

    整个工程进展到这一步也算是不容易吧,但技术含量也不怎么高,中间乱起八糟的错误太烦人了,不管怎么样,现在面临了最大的困难吧,图像处理算法.算法确实不好弄啊,虽然以前整过,但都不是针对图像的. 现在的图像 ...

  8. FLEX中Tree默认展开全部节点

    这里分两种情况,一种是数据源在MXML文件里,如: <mx:XML id="treeXML" format="e4x"> <root> ...

  9. XMLHTTP请求的当前状态

    readyState,此属性只读,状态用长度为4的整型表示.定义如下: 0 (未初始化) 对象已建立,但是尚未初始化(尚未调用open方法) 1 (初始化) 对象已建立,尚未调用send方法 2 (发 ...

  10. 关闭程序 提示 C#

    private void Form1_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dr = MessageBox ...