commands for oracle RAC, very useful document
管理 ASM 实例
启动和停止一组包含虚拟 IP 地址、监听器、Oracle 通知服务和 Oracle 企业管理器代理的程序(出于维护目的)。
所有实例和服务的状态
$ srvctl status database -d orcl
Instance orcl1 is running on node linux1
Instance orcl2 is running on node linux2
单个实例的状态
$ srvctl status instance -d orcl -i orcl2
Instance orcl2 is running on node linux2
在数据库全局命名服务的状态
$ srvctl status service -d orcl -s orcltest
Service orcltest is running on instance(s) orcl2, orcl1
启动服务:
$ srvctl start service -d orcl -s orcltest
特定节点上节点应用程序的状态
$ srvctl status nodeapps -n linux1
VIP is running on node:linux1
GSD is running on node:linux1
Listener is running on node:linux1
ONS daemon is running on node:linux1
ASM 实例的状态
$ srvctl status asm -n linux1
ASM instance +ASM1 is running on node linux1.
列出配置的所有数据库
$ srvctl config database
orcl
显示 RAC 数据库的配置
$ srvctl config database -d orcl
linux1 orcl1 /u01/app/oracle/product/10.1.0/db_1
linux2 orcl2 /u01/app/oracle/product/10.1.0/db_1
显示指定集群数据库的所有服务
$ srvctl config service -d orcl
orcltest PREF:orcl2 orcl1 AVAIL:
显示节点应用程序的配置 -(VIP、GSD、ONS、监听器)
$ srvctl config nodeapps -n linux1 -a -g -s -l
VIP exists.:/vip-linux1/192.168.1.200/255.255.255.0/eth0:eth1
GSD exists.
ONS daemon exists.
Listener exists.
显示 ASM 实例的配置
$ srvctl config asm -n linux1
+ASM1 /u01/app/oracle/product/10.1.0/db_1
集群中所有正在运行的实例
SELECT
inst_id
本节提供了几个可用于验证 Oracle RAC 10g 配置的 srvctl 命令和 SQL 查询。 有五个为 SRVCTL 定义的节点级任务: ? ? ? ? ? 添加和删除节点级应用程序 ...
Oracle RAC中Srvctl命令详细说明_IT认证_资格考试/认证_教育专区。Oracle RAC中Srvctl命令详细说明SRVCTL 是 ORACLEi RAC 集群配置管理的工具。本文通过一些 Oracle ...
To shut down all Oracle RAC instances for a database, enter the following command, where db_name is the name of the database: $ srvctl start database...
Oracle RAC中Srvctl命令详细说明文档_IT/计算机_专业资料。Oracle RAC中Srvctl命令详细说明文档Oracle RAC 中 Srvctl 命令详细说明文档 SRVCTL 是 ORACLE9i RAC 集群...
查询单个实例的状态 $ srvctl status instance -d orcl -i orcl1 ORACLE RAC 维护文档 $ srvctl status instance -d orcl -i orcl2 $ srvctl status instance...
RAC 常用命令介绍 oracle rac 数据库常用命令: 1.所有实例和服务的状态 srvclt status database -d orcl 单个实例的状态: srvctl status in...
rac ---显示实例状态 Srvctl remove database –d rac ---删除库信息 重新创建基本配置:-d database –o oracle_home -i instance –n node Srvctl add datab...
oracle crs起停步骤及srvctl crsctl 命令用法_计算机软件及应用_IT/计算机_专业...$ srvctl start nodeapps -n gnd-rac01 (停节点1服务) $ srvctl start ...
16 SRVCTL 命令 ......[root@rac1 ~]# /home/oracle/product/10.2.0/crs/bin/crsctl disable crs ...07</TIMESTAMP> <COMMAND>ocrdump </COMMAND> -...
Oracle RAC 中 Srvctl 命令详细说明文档 SRVCTL 是 ORACLE9i RAC 集群配置管理的工具。 本文是对 SRVCTL 的所有命令进行 详细说明的一篇参考文档。 读者对象:...
热门文档