测试RAC的功能
作者:网络转载 发布时间:[ 2015/7/28 15:14:19 ] 推荐标签:软件测试技术
3、查看RAC集群里节点的配置信息
node1-> olsnodes
node1
node2
node1-> olsnodes -n -i -s --- -n列出节点编号 -i列出虚拟ip -s列出状态
node1 1 node1-vip Active
node2 2 node2-vip Active
4、查看RAC集群中软件版本信息
1)查看集群软件使用版本信息
node1-> crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.4.0]
2)查看集群软件发行版本信息
node1-> crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [11.2.0.4.0]
3)查看集群软件安装版本信息
node1-> crsctl query crs softwareversion
Oracle Clusterware version on node [node1] is [11.2.0.4.0]
5、查看集群软件表决磁盘信息
node1-> crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 2a0486c2db354fbfbf5d5d3b6b2af4fd (ORCL:VOL1) [GRIDDG]
Located 1 voting disk(s).
6、查看系统DNS相关配置信息
node1-> crsctl query dns -servers
CRS-10018: the following configuration was found on the system:
CRS-10019: There are 1 domains in search order. They are:
localdomain
CRS-10022: There are 1 name servers. They are:
172.16.0.191
CRS-10020: number of retry attempts for name lookup is: 4
CRS-10021: timeout for each name lookup is: 5
以上信息来源于:
node1-> cat /etc/resolv.conf
search localdomain
nameserver 172.16.0.191
7、查看集群SCAN VIP信息
node1-> srvctl config scan
SCAN name: scan-cluster.localdomain, Network: 1/172.16.0.0/255.255.240.0/eth0
SCAN VIP name: scan1, IP: /scan-cluster.localdomain/172.16.0.203
node1-> srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
8、查看OCR信息
[root@node1 bin]# ./ocrcheck -local
Status of Oracle Local Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2676
Available space (kbytes) : 259444
ID : 1155296004
Device/File Name : /u01/app/11.2.0/grid/cdata/node1.olr
Device/File integrity check succeeded
Local registry integrity check succeeded
Logical corruption check succeeded
9、查看OCR集群软件备份信息
node1-> ocrconfig -showbackup
node1 2015/04/20 15:58:34 /u01/app/11.2.0/grid/cdata/scan-cluster/backup00.ocr
node1 2015/04/20 15:58:34 /u01/app/11.2.0/grid/cdata/scan-cluster/day.ocr
node1 2015/04/20 15:58:34 /u01/app/11.2.0/grid/cdata/scan-cluster/week.ocr
PROT-25: Manual backups for the Oracle Cluster Registry are not available
10、启、停集群数据库
1)停止RAC数据库
node1-> srvctl stop database -d devdb
2)停止集群服务
[root@node1 ~]# cd /u01/app/11.2.0/grid/bin
[root@node1 bin]# ./crsctl stop cluster -all
3)启动集群服务
[root@node1 bin]# pwd
/u01/app/11.2.0/grid/bin
[root@node1 bin]# ./crsctl start cluster -all
4)启动RAC数据库
node1-> srvctl start database -d devdb
本文内容不用于商业目的,如涉及知识产权问题,请权利人联系SPASVO小编(021-61079698-8054),我们将立即处理,马上删除。
相关推荐
更新发布
功能测试和接口测试的区别
2023/3/23 14:23:39如何写好测试用例文档
2023/3/22 16:17:39常用的选择回归测试的方式有哪些?
2022/6/14 16:14:27测试流程中需要重点把关几个过程?
2021/10/18 15:37:44性能测试的七种方法
2021/9/17 15:19:29全链路压测优化思路
2021/9/14 15:42:25性能测试流程浅谈
2021/5/28 17:25:47常见的APP性能测试指标
2021/5/8 17:01:11热门文章
常见的移动App Bug??崩溃的测试用例设计如何用Jmeter做压力测试QC使用说明APP压力测试入门教程移动app测试中的主要问题jenkins+testng+ant+webdriver持续集成测试使用JMeter进行HTTP负载测试Selenium 2.0 WebDriver 使用指南