所有實例和服務的狀態
[oracle@vzwc
Instance zwc
Instance zwc
單個實例的狀態
[oracle@vzwc
Instance zwc
[oracle@vzwc
Instance zwc
特定節點上節點應用程序的狀態
[oracle@vzwc
VIP is running on node: vzwc
GSD is running on node: vzwc
Listener is running on node: vzwc
ONS daemon is running on node: vzwc
[oracle@vzwc
[oracle@vzwc
VIP is running on node: vzwc
GSD is running on node: vzwc
Listener is running on node: vzwc
ONS daemon is running on node: vzwc
ASM 實例的狀態
[oracle@vzwc
ASM instance +ASM
[oracle@vzwc
[oracle@vzwc
ASM instance +ASM
顯示 RAC 數據庫的配置
[oracle@vzwc
vzwc
vzwc
顯示節點應用程序的配置 —(VIP
[oracle@vzwc
VIP exists
GSD exists
ONS daemon exists
Listener exists
[oracle@vzwc
[oracle@vzwc
VIP exists
GSD exists
ONS daemon exists
Listener exists
顯示 ASM 實例的配置
[oracle@vzwc
+ASM
[oracle@vzwc
[oracle@vzwc
+ASM
RAC正在運行的實例
SQL> SELECT
INST_ID INST_NO INST_NAME PAR STATUS DB_STATUS STATE HOST
磁盤組中的所有數據文件
SQL> select name from v$datafile
NAME
+DATADG/zwc/controlfile/current
+DATADG/zwc/datafile/example
+DATADG/zwc/datafile/sysaux
+DATADG/zwc/datafile/system
+DATADG/zwc/datafile/undotbs
+DATADG/zwc/datafile/undotbs
+DATADG/zwc/datafile/users
+DATADG/zwc/onlinelog/group_
+DATADG/zwc/onlinelog/group_
+DATADG/zwc/onlinelog/group_
+DATADG/zwc/onlinelog/group_
+DATADG/zwc/tempfile/temp
+FLASHDG/zwc/controlfile/current
+FLASHDG/zwc/onlinelog/group_
+FLASHDG/zwc/onlinelog/group_
+FLASHDG/zwc/onlinelog/group_
+FLASHDG/zwc/onlinelog/group_
OCR存放路徑
[oracle@vzwc
Status of Oracle Cluster Registry is as follows :
Version :
Total space (kbytes) :
Used space (kbytes) :
Available space (kbytes) :
ID :
Device/File Name : /dev/raw/raw
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
VOTEDISK存放路徑
[oracle@vzwc
located
clusterware版本
[oracle@vzwc
CRS active version on the cluster is [
RAC資源查看
[oracle@vzwc
Name Type Target State Host
ora
ora
ora
ora
ora
ora
ora
ora
ora
ora
ora
ora
ora
停止 Oracle 實例
export ORACLE_SID=zwc
emctl stop dbconsole
srvctl stop instance
srvctl stop asm
srvctl stop nodeapps
啟動節點應用程序(虛擬 IP
export ORACLE_SID=zwc
srvctl start nodeapps
srvctl start asm
srvctl start instance
emctl start dbconsole
啟動/停止所有實例及其啟用的服務
srvctl start database
srvctl stop database
From:http://tw.wingwit.com/Article/program/Oracle/201311/19073.html