日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

rac (七)

 印度阿三17 2020-08-10

檢查安裝結(jié)果
安裝完成后,您需要進(jìn)行必要的檢查,以驗證數(shù)據(jù)庫是否安裝成功。

檢查Oracle監(jiān)聽狀態(tài)
介紹如何檢查監(jiān)聽狀態(tài)。本任務(wù)需要在各服務(wù)器節(jié)點中分別執(zhí)行。
檢查Oracle實例狀態(tài)
介紹如何檢查Oracle實例狀態(tài)。本任務(wù)需要在各服務(wù)器節(jié)點中分別執(zhí)行。
檢查CRS集群狀態(tài)
介紹如何檢查CRS集群狀態(tài)。本任務(wù)需要在各服務(wù)器節(jié)點中分別執(zhí)行。

?

操作步驟
1.以oracle用戶分別登錄各服務(wù)器節(jié)點。
2.查看監(jiān)聽狀態(tài)。

lsnrctl status LISTENER_ORA
在節(jié)點shdb1中顯示類似如下信息時表示監(jiān)聽正常。

?

oracle@shdb1:~> lsnrctl status LISTENER_ORA

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 10-AUG-2020 15:18:15

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA)))
STATUS of the LISTENER
------------------------
Alias listener_ora
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 10-AUG-2020 15:05:39
Uptime 0 days 0 hr. 12 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/app/oracle/product/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/shdb1/listener_ora/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1526)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.30)(PORT=1526)))
Services Summary...
Service "shinfo" has 1 instance(s).
Instance "shinfo1", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@shdb1:~>


在節(jié)點shdb2中顯示類似如下信息時表示監(jiān)聽正常。

oracle@shdb2:~> lsnrctl status LISTENER_ORA

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 10-AUG-2020 14:54:58

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA)))
STATUS of the LISTENER
------------------------
Alias listener_ora
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 10-AUG-2020 14:38:31
Uptime 0 days 0 hr. 16 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/app/oracle/product/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/shdb2/listener_ora/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.20)(PORT=1526)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.40)(PORT=1526)))
Services Summary...
Service "shinfo" has 1 instance(s).
Instance "shinfo2", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@shdb2:~>

檢查Oracle實例狀態(tài)

介紹如何檢查Oracle實例狀態(tài)。本任務(wù)需要在各服務(wù)器節(jié)點中分別執(zhí)行。

操作步驟
1.以oracle用戶分別登錄各服務(wù)器節(jié)點。
2.登錄數(shù)據(jù)庫。

sqlplus / as sysdba
select INSTANCE_NAME, STATUS from v$instance;

oracle@shdb1:~> sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Aug 10 15:23:24 2020

Copyright (c) 1982, 2013, Oracle. All rights reserved.

select INSTANCE_NAME, STATUS from v$instance;
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL>

INSTANCE_NAME STATUS
---------------- ------------
shinfo1 OPEN

?

oracle@shdb2:~> sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Aug 10 14:56:33 2020

Copyright (c) 1982, 2013, Oracle. All rights reserved.

select INSTANCE_NAME, STATUS from v$instance;
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL>

INSTANCE_NAME STATUS
---------------- ------------
shinfo2 OPEN

SQL>

查CRS集群狀態(tài)
介紹如何檢查CRS集群狀態(tài)。本任務(wù)需要在各服務(wù)器節(jié)點中分別執(zhí)行。
操作步驟
1.以grid用戶分別登錄各服務(wù)器節(jié)點。
2.執(zhí)行olsnodes命令查看集群關(guān)系是否建立成功。
2個節(jié)點中都顯示類似如下信息,說明創(chuàng)建成功。
shdb1
shdb2

3.執(zhí)行crsctl stat res -t命令查看集群狀態(tài)。
2個節(jié)點中都顯示類似如下信息,說明集群狀態(tài)正常。

?

來源:https://www./content-4-726701.html

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多