rac中 crsctl start/stop crs and crsctl start/stop cluster 区别

官网解释:

crsctl start/stop crs - Manage start/stop the entire Oracle Clusterware stack on a node, including the OHASD process, this command is to be used only on the local node..

crsctl start/stop cluster - Manage start/stop the Oracle Clusterware stack on local node if you do not specify either -all or -n and nodes remote if option -n or -all be specified , NOT including the OHASD process. You can‘t start/stop clusterware stack without OHASD process running.

Despite crsctl start/stop crs manage entire Oracle Clusterware stack on local node crsctl start/stop crs not allow you to manage remote nodes, unlike crsctl start/stop cluster that allows you to manage all the nodes, but if the process OASH is runing.

To manage Oracle Clusterware Stack on remote nodes, the ohasd (Oracle High Availability Services Daemon) must be running on all managed nodes. (i.e using crsctl start cluster -n <node1>, <node2>)

Then if you try use crsctl start cluster -n node1,node2 and your local node is node1 and on node1 or node2 OHASD not running this command will fails.

中文解释:

1 crsctl start/stop crs 是单节管理

crsctl start/stop cluster [-all 所有节点] 可以管理多个节点

2 crsctl start/stop crs 管理crs 包含进程 OHASD

crsctl start/stop cluster 不包含OHASD进程 必须要先启动 OHASD进程才可以使用

3  11gr2 rac 手动启动或关闭过程

使用crsctl start/stop cluster手动启动和关闭的过程如下:

crsctl start/stop cluster -all 会启动所有OHAS是启动状态的所有节点

使用crsctl start/stop crs手动启动/关闭流程

节点1

crsctl start/stop crs 实际上后面会把Oracle crs 管理的资源都会启动

节点2

crsctl start/stop crs

......

Enable CRS to start on reboot

crsctl enable crs

Disable CRS to start on reboot

crsctl disable crs

4 查询资源启动情况

crsctl stat res -init -t

注:

crsctl start/stop crs 与crsctl start/stop has 作用相同

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-08-27 13:46:46

rac中 crsctl start/stop crs and crsctl start/stop cluster 区别的相关文章

删除RAC中的ASM和LISTENER资源的正确方法

在我们安装RAC的时候,有时候会因为种种报错装上了错误的ASM实例或者LISTENER监听,或者说加入了CLUSTERWARE资源,但是并没有真正起作用,如: 如图所示,这里在2个节点分别创建过ASM1和ASM2实例,对应的资源名称分别为ora.RAC1.ASM1.asm和ora.RAC2.ASM2.asm,他们的状态都是UNKONW的,还有每个节点都创建了3个监听,资源名称分别是节点1的ora.RAC1_LISTENER.RAC1.lsnr,ora.RAC1_LISTENER1.RAC1.ls

验证11gR2 RAC中ASM实例通过gpnp profile获得spfile信息来启动ASM实例

主要为了验证11gR2 RAC中ASM实例通过gpnp profile获得spfile信息来启动ASM实例,同时验证了gpnp profile的修改等内容:结论与实验如下: 验证结论: 1./u01/app/11.2.0/grid/gpnp/profiles/peer下的cat profile.xml内容是旧的,使用spset/spmove时均未被更新,一些文档说这个 profile.xml是全局的. gpnp使用的是/u01/app/11.2.0/grid/gpnp/rac1/profiles

使用OpenFiler来模拟存储配置RAC中ASM共享盘及多路径(multipath)的测试

第一章 本篇总览 之前发布了一篇<Oracle_lhr_RAC 12cR1安装>,但是其中的存储并没有使用多路径,而是使用了VMware自身提供的存储.所以,年前最后一件事就是把多路径学习一下,本文介绍了OpenFiler.iSCSI和多路径的配置. 本文内容:   第二章 安装OpenFiler OpenFile是在rPath Linux基础上开发的,它能够作为一个独立的Linux操作系统发行.Openfiler是一款非常好的存储管理操作系统,开源免费,通过web界面对存储磁盘的管理,支持现

Oracle 12c RAC 中废弃的维护命令 crs_*

在Oracle 10g,11g的RAC中,我们常用crs_stat来监控RAC的运行状态. 但由于crs_stat 显示是不完整的,所以我们会对crs_stat 进行二次封装,让结果看起来更清爽一点. 如下图: 到了12c 的集群环境,crs_* 系列的命令还是存在的: [[email protected] bin]$ pwd /u01/app/grid/12.0.1/bin [[email protected] bin]$ ll crs_* -rwxr-x---. 1 grid oinstal

Oracle RAC中的几个IP

oracle11g开始,设置了SCAN ip,除此之外还有public ip,virtual ip,private ip,容易让人犯晕. 下面逐一解释: public ip: 类似与单实例的oracle数据库ip,主要用于管理\访问. virtual ip(vip): oracle在rac架构中专用,这个vip用于实现故障转移,当一个节点发生故障时,其vip会"浮动"到另外一个正常的节点,也即该正常节点对应着两个vip了. SCAN: Single Client Access Name

Oracle RAC中的一台机器重启以后无法接入集群

前天有个同事说有套AIX RAC的其中一台服务器重启了操作系统以后,集群资源CSSD的资源一直都在START的状态,检查日志输出有如下内容: [    CSSD][1286]clssnmvDiskVerify: Successful discovery of 0 disks [    CSSD][1286]clssnmCompleteInitVFDiscovery: Completing initial voting file discovery [    CSSD][1286]clssnmvF

RAC中常见的高级用法-bind方法

RAC操作思想: Hook(钩子)思想 RAC核心方法:bind bind方法 假设想监听文本框的内容,并且在每次输出结果的时候,都在文本框的内容拼接一段文字“输出:” 方式一:在返回结果后,拼接. [_textField.rac_textSignal subscribeNext:^(id x) { NSLog(@"输出:%@",x); }]; 方式二:在返回结果前,拼接,使用RAC中bind方法做处理. bind方法参数:需要传入一个返回值是RACStreamBindBlock的bl

RAC中的redo和undo管理

RAC环境中.每个实例对应相应的redolog集(至少2个)和相应的undo表空间. 实例恢复: 单实例数据库的实例恢复: redo:所有已经提交和未提交的操作做前滚 undo:所有未提交的操作做回滚 RAC环境的实例恢复: 当节点A实例崩溃后,则节点B自动根据redolog前滚在undo回滚(立即进行),无需等待节点A的实例正常恢复.(实例恢复由剩余节点进行,如果实例都崩溃了,则有第一个启动的实例节点进行恢复 ) eg:在alarmlog中可以看到 Post SMON to Start 1st

【翻译自mos文章】12c rac中,当脑裂发生时,哪个节点会幸存下来?

来源于: 12c: Which Node Will Survive when Split Brain Takes Place [1951726.1] 12c rac中,当脑裂发生时,哪个节点会幸存下来? 适用于: Oracle Database - Enterprise Edition - Version 12.1.0.2 and later Information in this document applies to any platform. 目的: 理解 从12.1.0.2开始,当脑裂发