3.6. データベース作成後の確認

3.6.1. サインイン

Web ConsoleまたはRDPを使用して、対象VMインスタンスに、oracleユーザーでサインインします。


3.6.2. リスナー起動確認

以下のコマンドを実行し、リスナーが正しく起動されている事を確認します。

PS C:\Users\oracle> lsnrctl status LISTENER
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 08-DEC-2016 17:49:21
Copyright (c) 1991, 2014, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle-se2)(PORT=1521)))

STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Production
Start Date                08-DEC-2016 17:33:23
Uptime                    0 days 0 hr. 15 min. 59 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   D:\app\oraclehome\product\12.1.0\dbhome_1\network\admin\listener.ora
Listener Log File         D:\app\oraclehome\diag\tnslsnr\oracle-se2\listener\alert\log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle-se2)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=oracle-se2)(PORT=5500))(Security=(my_wallet_directory=D:\APP\ORACLEHOME\adm
in\orcl\xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
  Instance "CLRExtProc", status UNKNOWN, has 3 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

3.6.3. インスタンス起動確認

以下のコマンドを実行し、インスタンスが正しく起動されている事を確認します。

PS C:\Users\oracle> sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on 金 3月 25 14:48:19 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.

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

SQL> select status from v$instance;

STATUS
------------
OPEN

SQL> select banner from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production
PL/SQL Release 12.1.0.2.0 - Production
CORE    12.1.0.2.0      Production
TNS for 64-bit Windows: Version 12.1.0.2.0 - Production
NLSRTL Version 12.1.0.2.0 - Production