[日期:2017-05-26] | 來源:Linux社區 做者:sound | [字體:大 中 小] |
建立數據庫中...css
數據庫安裝完成linux
以grid用戶查看集羣狀態及監聽狀態sql
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE rhel6
ora.DSG.dg
ONLINE ONLINE rhel6
ora.LISTENER.lsnr
ONLINE ONLINE rhel6
ora.asm
ONLINE ONLINE rhel6 Started
ora.ons
OFFLINE OFFLINE rhel6
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE rhel6
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 ONLINE ONLINE rhel6
ora.orcl.db
1 ONLINE ONLINE rhel6 Open
------------------------------------------------------------------------
LSNRCTL
for
Linux: Version 11.2.0.4.0 - Production on 24-MAY-2017 08:28:36
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR
for
Linux: Version 11.2.0.4.0 - Production
Start Date 24-MAY-2017 07:15:42
Uptime 0 days 1 hr. 12 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/11
.2.0
/grid/network/admin/listener
.ora
Listener Log File
/u01/app/grid/diag/tnslsnr/rhel6/listener/alert/log
.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rhel6)(PORT=1521)))
Services Summary...
Service
"+ASM"
has 1 instance(s).
Instance
"+ASM"
, status READY, has 1 handler(s)
for
this service...
Service
"orcl"
has 1 instance(s).
Instance
"orcl"
, status READY, has 1 handler(s)
for
this service...
Service
"orclXDB"
has 1 instance(s).
Instance
"orcl"
, status READY, has 1 handler(s)
for
this service...
The
command
completed successfully
以oracle用戶登陸鏈接數據庫,查詢表空間數據庫
[oracle@rhel6 database]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Wed May 24 08:27:56 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL>
select
* from V$TABLESPACE;
TS
# NAME INC BIG FLA ENC
---------- ------------------------------ --- --- --- ---
0 SYSTEM YES NO YES
1 SYSAUX YES NO YES
2 UNDOTBS1 YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 EXAMPLE YES NO YES
6 rows selected.
在此,Rhel Linux環境下的udev + ASM Oracle 11gR2安裝部署完成,狀態正常。oracle
完整PDF文檔能夠到Linux公社資源站下載:app
------------------------------------------分割線------------------------------------------tcp
免費下載地址在 http://linux.linuxidc.com/字體
用戶名與密碼都是www.linuxidc.comthis
具體下載目錄在 /2017年資料/5月/26日/RHEL6.5安裝 Oracle 11g + udev + ASM安裝部署詳解/spa
下載方法見 http://www.linuxidc.com/Linux/2013-07/87684.htm
------------------------------------------分割線------------------------------------------
更多Oracle相關信息見Oracle 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新連接地址:http://www.linuxidc.com/Linux/2017-05/144271.htm