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

#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, 

你可能感兴趣的:(Oracle数据库,oracle,linux,dba,database)