Pages

Tuesday, September 15, 2015

RAC命令

RAC命令:
查看服务状态 crs_stat -t
查看本地crs状态 crsctl check crs
查看cluster状态 crsctl check cluster
查看节点配置信息 olsnodes -n -i -s
查看版本 crsctl query crs activeversion
crsctl query crs releaseversion
crsctl query crs softwareversion
查看vote disk crsctl query css votedisk
查看dns crsctl query dns -servers
cat /etc/resolv.conf
查看scan vip srvctl config scan
查看scan listener srvctl config scan_listener
查看Oracle Cluster Registry ocrcheck
查看ocr备份信息 ocrconfig -showbackup
启停数据库 srvctl stop database -d devdb
启停集群 crsctl stop cluster -all

DG:
 alter database recover managed standby database using current logfile disconnect from session;

No comments:

Post a Comment