Oracle RAC 實(shí)施方案詳細(xì)說明 - 安裝后的檢查 06
成都創(chuàng)新互聯(lián)長(zhǎng)期為近1000家客戶提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為來(lái)賓企業(yè)提供專業(yè)的做網(wǎng)站、成都網(wǎng)站設(shè)計(jì),來(lái)賓網(wǎng)站改版等技術(shù)服務(wù)。擁有10余年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開發(fā)。
查看數(shù)據(jù)庫(kù)版本
SQL> select * from v$version;
查看集群名稱
[root@rac01 bin]# ./cemutlo --help
[root@rac01 bin]# ./cemutlo -n
rac-cluster
[root@rac01 bin]# ./cemutlo -w
2:1:
查看集群狀態(tài)
[root@rac01 ~]# cd /u01/app/11.2.0/grid/bin/
[root@rac01 bin]# ./crsctl check cluster -all
**************************************************************
rac01:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
rac02:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
查看資源狀態(tài)
[root@rac01 bin]# ./crsctl stat res -t
查看 CRS 狀態(tài)
[root@rac01 bin]# ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
查看OHASD 狀態(tài)
[root@rac01 bin]# ./crsctl check has
CRS-4638: Oracle High Availability Services is online
禁用crs 自啟動(dòng)
[root@rac01 bin]# ./crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.
[root@rac02 bin]# ./crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.
查看 節(jié)點(diǎn) 信息
[root@rac01 bin]# ./olsnodes --help
[root@rac01 bin]# ./olsnodes
rac01
rac02
[root@rac01 bin]# ./olsnodes -c
rac-cluster
查看網(wǎng)絡(luò)接口信息
[root@rac01 bin]# ./oifcfg --help
[root@rac01 bin]# ./oifcfg getif
eth0 192.168.31.0 global public
eth2 10.10.10.0 global cluster_interconnect
查看OCR 信息
[root@rac01 bin]# ./ocrcheck -config
Oracle Cluster Registry configuration is :
Device/File Name : +OCR
[root@rac01 bin]# ./ocrcheck
查看olr 信息
[root@rac01 bin]# ./ocrcheck -local
檢查OCR 完整性
[grid@rac01 ~]$ cluvfy comp ocr -n all -verbose
查看votedisk 信息
[root@rac01 bin]# ./crsctl query css votedisk
查看數(shù)據(jù)庫(kù)信息
[root@rac01 bin]# ./srvctl config database
cjcdb
[root@rac01 bin]# ./srvctl config database -d cjcdb -a
[root@rac01 bin]# ./srvctl status database -d cjcdb
Instance cjcdb1 is running on node rac01
Instance cjcdb2 is running on node rac02
[root@rac01 bin]# ./srvctl status database -d cjcdb -v
Instance cjcdb1 is running on node rac01. Instance status: Open.
Instance cjcdb2 is running on node rac02. Instance status: Open.
查看SCAN 配置
[root@rac01 bin]# ./srvctl config scan
SCAN name: rac-scan.cjc.com, Network: 1/192.168.31.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.cjc.com/192.168.31.60
SCAN VIP name: scan2, IP: /rac-scan.cjc.com/192.168.31.70
SCAN VIP name: scan3, IP: /rac-scan.cjc.com/192.168.31.50
查看DNS 解析
[root@rac01 bin]# nslookup rac-scan.cjc.com
Server: 192.168.31.90
Address: 192.168.31.90#53
Name: rac-scan.cjc.com
Address: 192.168.31.70
Name: rac-scan.cjc.com
Address: 192.168.31.50
Name: rac-scan.cjc.com
Address: 192.168.31.60
查看SCAN VIP 狀態(tài)
[root@rac01 bin]# ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac02
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node rac01
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node rac01
顯示SCAN 監(jiān)聽器的狀態(tài)
[root@rac01 bin]# ./srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node rac02
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node rac01
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node rac01
查看服務(wù)器IP
[root@rac01 bin]# ifconfig
查看ASM 配置
[root@rac01 bin]# ./srvctl config asm
ASM home: /u01/app/11.2.0/grid
ASM listener: LISTENER
查看監(jiān)聽配置
[root@rac01 bin]# ./srvctl config listener
Name: LISTENER
Network: 1, Owner: grid
Home: <CRS home>
End points: TCP:1521
查看節(jié)點(diǎn)狀態(tài)
[root@rac01 bin]# ./srvctl status nodeapps -n rac01
VIP rac01-vip is enabled
VIP rac01-vip is running on node: rac01
Network is enabled
Network is running on node: rac01
GSD is disabled
GSD is not running on node: rac01
ONS is enabled
ONS daemon is running on node: rac01
[root@rac01 bin]# ./srvctl status nodeapps -n rac02
VIP rac02-vip is enabled
VIP rac02-vip is running on node: rac02
Network is enabled
Network is running on node: rac02
GSD is disabled
GSD is not running on node: rac02
ONS is enabled
ONS daemon is running on node: rac02
名稱欄目:OracleRAC實(shí)施方案詳細(xì)說明-安裝后的檢查06
文章網(wǎng)址:http://muchs.cn/article6/ighpig.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供響應(yīng)式網(wǎng)站、定制網(wǎng)站、商城網(wǎng)站、建站公司、軟件開發(fā)、營(yíng)銷型網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)