Oracle RAC --- 集群常用的命令

本文详细介绍了Oracle RAC集群在节点层、网络层、集群层和应用层的常用管理命令,包括crsctl、srvctl等工具的使用,如资源启停、OCR检查与维护、监听状态查询等。
摘要由CSDN通过智能技术生成

#RAC集群常用命令

# 节点层(-h  获取help)

[grid@rac1 ~]$ olsnodes -h

# 网络层

*查询,定义,修改Oracle集群需要的网卡属性,包括网卡的网段地址,子网掩码,接口类型等。

[grid@rac1 ~]$ oifcfg

# 集群层

crsctl ocrcheck ocrdump ocrconfig

crsctl命令 用法介绍

[root@rac1 ~]# 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 entit
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值