分享更有价值
被信任是一种快乐

oracle11gRAC中crsctl命令怎么用

文章页正文上

这篇文章将为大家详细讲解有关oracle11gRAC中crsctl命令怎么用,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
oracle11gRAC之crsctl命令:
完整的crsctl命令:
# su – grid
[grid@dbserver1:/home/grid]$crsctl -h
Usage: crsctl add – add a resource, type or other entity
crsctl check – check a service, resource or other entity
crsctl config – output autostart configuration
crsctl debug – obtain or modify debug state
crsctl delete – delete a resource, type or other entity
crsctl disable – disable autostart
crsctl enable – enable autostart
crsctl get – get an entity value
crsctl getperm – get entity permissions
crsctl lsmodules – list debug modules
crsctl modify – modify a resource, type or other entity
crsctl query – 免费主机域名query service state
crsctl pin – Pin the nodes in the nodelist
crsctl relocate – relocate a resource, server or other entity
crsctl replace – replaces the location of voting files
crsctl setperm – set entity permissions
crsctl set – set an entity value
crsctl start – start a resource, server or other entity
crsctl status – get status of a resource or other entity
crsctl stop – stop a resource, server or other entity
crsctl unpin – unpin the nodes in the nodelist
crsctl unset – unset a entity value, restoring its default
1、常用crsctl start命令
启动crs服务:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start crs
启动crs所有资源:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start -all
启动单个资源(如果部分资源不能自动启动,需要手工启动如下)
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start res ora.crsd -init
2、常用crsctl stop命令
停止crs服务:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop crs
停止crs所有资源:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop -all
启动单个资源(如果部分资源不能自动启动,需要手工启动如下)
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop res ora.crsd -init (-f)
3、常用crsctl check命令
检查crs服务情况:
[grid@dbserver1:/home/grid]$crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cl免费主机域名uster Synchronization Services is online
CRS-4533: Event Manager is online
检查crs集群服务情况:
[grid@dbserver1:/home/grid]$crsctl check cluster -all
**************************************************************
dbserver1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
dbserver2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
4、常用crsctl query命令
检查votedisk状态:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query css votedisk
## STATE File Universal Id File Name Disk group
— —– —————– ——— ———
1. ONLINE 0b12969addea4f8fbf61eeaa0df697e6 (/dev/rhdisk6) [CRS]
Located 1 voting disk(s).
检查crs版本:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [11.2.0.1.0]
检查crs各节点版本:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query crs softwareversion dbserver1
Oracle Clusterware version on node [dbserver1] is [11.2.0.1.0]关于“oracle11gRAC中crsctl命令怎么用”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

相关推荐: SQLLDR中怎样CTL文件字段设置

这篇文章将为大家详细讲解有关SQLLDR中怎样CTL文件字段设置,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。 position 关键字用来指定列的开始和结束位置  position(m:n):指从第 m 个字…

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册