12c EM Database Express

georgehmwang發表於2014-12-19
OEM DB ControlDB ConsoleOracle 12c資料庫不可用了,被Database Express取代。DB Express內建於資料庫中,是基於瀏覽器的輕量級的資料庫管理工具,能提供主要的效能管理和基本的資料庫管理功能。Cloud Control軟體架構中有中介軟體層(如WebLogic),而DB Express架構沒有中介軟體這一層,給資料庫伺服器帶來的效能負擔可以忽略不計。

DB Express可被用於non-CDB, CDB, PDB, RAC資料庫例項的基本管理。

由以下可以看到此CDB有兩個PDB,5500埠已經被配置為ROOT CDB的管理埠,管理連結為

$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Fri Dec 19 00:15:30 2014

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

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> alter session set container=cdb$root;
Session altered.
SQL> show pdbs;
CON_ID  CON_NAME              OPEN MODE   RESTRICTED
----------   --------------------------  ----------             ----------
         2     PDB$SEED                  READ ONLY   NO
         3     PDB1                            READ WRITE NO
         4     PDB2                            READ WRITE NO
 

SQL> select dbms_xdb_config.gethttpsport() from dual;

DBMS_XDB_CONFIG.GETHTTPSPORT()

------------------------------

5500

用具有DBA許可權的使用者(如sys或system)登入連結

可以為每個PDB配置單獨的管理埠。
例如,為pdb1配置5501管理埠,管理連結為
SQL> alter session set container=pdb1;
Session altered.
SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5501);
PL/SQL procedure successfully completed.
SQL> select dbms_xdb_config.gethttpsport() from dual;
DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
                          5501

為pdb2配置5502管理埠,管理連結為
SQL> alter session set container=pdb2;
Session altered.
SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5502);
PL/SQL procedure successfully completed.
SQL> select dbms_xdb_config.gethttpsport() from dual;
DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
                          5502

我們在lsnrctl status命令輸出中,可以看到以下資訊:
$ lsnrctl status

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 12.1.0.2.0 - Production
Start Date                18-DEC-2014 18:57:36
Uptime                    0 days 5 hr. 43 min. 6 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/dbusr/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/dbusr/diag/tnslsnr//listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=5500))(Security=(my_wallet_directory=/u01/app/dbusr/admin/OSTE/xdb_wallet))(Presentation=HTTP)(Session=RAW))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=5501))(Presentation=HTTP)(Session=RAW))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=5502))(Presentation=HTTP)(Session=RAW))


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29960937/viewspace-1373597/,如需轉載,請註明出處,否則將追究法律責任。

相關文章