Oracle 10g RAC 常用维护命令

Oracle 10g RAC 常用维护命令

所有实例和服务的状态


[plain] view plaincopyprint?
01.[oracle@vzwc1 ~]$ srvctl status database -d zwc 
02.Instance zwc1 is running on node vzwc1 
03.Instance zwc2 is running on node vzwc2 
[oracle@vzwc1 ~]$ srvctl status database -d zwc
Instance zwc1 is running on node vzwc1
Instance zwc2 is running on node vzwc2
单个实例的状态毕业论文 

 

[plain] view plaincopyprint?
01.[oracle@vzwc1 ~]$ srvctl status instance -d zwc -i zwc1 
02.Instance zwc1 is running on node vzwc1 
03.[oracle@vzwc1 ~]$ srvctl status instance -d zwc -i zwc2 
04.Instance zwc2 is running on node vzwc2 
[oracle@vzwc1 ~]$ srvctl status instance -d zwc -i zwc1
Instance zwc1 is running on node vzwc1
[oracle@vzwc1 ~]$ srvctl status instance -d zwc -i zwc2
Instance zwc2 is running on node vzwc2
特定节点上节点应用程序的状态

 

[plain] view plaincopyprint?
01.[oracle@vzwc1 ~]$ srvctl status nodeapps -n vzwc1 
02.VIP is running on node: vzwc1 
03.GSD is running on node: vzwc1 
04.Listener is running on node: vzwc1 
05.ONS daemon is running on node: vzwc1 
06.[oracle@vzwc1 ~]$  
07.[oracle@vzwc1 ~]$ srvctl status nodeapps -n vzwc2 
08.VIP is running on node: vzwc2 
09.GSD is running on node: vzwc2 
10.Listener is running on node: vzwc2 
11.ONS daemon is running on node: vzwc2 
[oracle@vzwc1 ~]$ srvctl status nodeapps -n vzwc1
VIP is running on node: vzwc1
GSD is running on node: vzwc1
Listener is running on node: vzwc1
ONS daemon is running on node: vzwc1
[oracle@vzwc1 ~]$
[oracle@vzwc1 ~]$ srvctl status nodeapps -n vzwc2
VIP is running on node: vzwc2
GSD is running on node: vzwc2
Listener is running on node: vzwc2
ONS daemon is running on node: vzwc2
ASM 实例的状态

 

[plain] view plaincopyprint?
01.[oracle@vzwc1 ~]$ srvctl status asm -n vzwc1 
02.ASM instance +ASM1 is running on node vzwc1. 
03.[oracle@vzwc1 ~]$  
04.[oracle@vzwc1 ~]$ srvctl status asm -n vzwc2 
05.ASM instance +ASM2 is running on node vzwc2. 
[oracle@vzwc1 ~]$ srvctl status asm -n vzwc1
ASM instance +ASM1 is running on node vzwc1.
[oracle@vzwc1 ~]$
[oracle@vzwc1 ~]$ srvctl status asm -n vzwc2
ASM instance +ASM2 is running on node vzwc2.
显示 RAC 数据库的配置

 

[plain] view plaincopyprint?
01.[oracle@vzwc1 ~]$ srvctl config database -d zwc 
02.vzwc1 zwc1 /u01/app/oracle/product/10.2.0/db_1 
03.vzwc2 zwc2 /u01/app/oracle/product/10.2.0/db_1 
[oracle@vzwc1 ~]$ srvctl config database -d zwc
vzwc1 zwc1 /u01/app/oracle/product/10.2.0/db_1
vzwc2 zwc2 /u01/app/oracle/product/10.2.0/db_1
显示节点应用程序的配置 —(VIP、GSD、ONS、监听)

 

[plain] view plainc

[1] [2] [3] [4] [5] [6] [7] 下一页

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有