OracleRAC日常基本维护命令Oracle认证考试
文章作者 100test 发表时间 2009:11:11 16:39:30
来源 100Test.Com百考试题网
"libai">
所有实例和服务的状态
$ 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 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.2.0/db_1 linux2 orcl2 /u01/app/oracle/product/10.2.0/db_1