Enterprise Manager(EM)の起動と停止のコマンド
Enterprise Managerの起動と停止
Oracle管理ツールである「Enterprise Manager」 の起動と停止方法について
ステータス確認
EMが起動しているのか、停止しているのか、それを確認する場合は、emctl status dbconsole を実行すればわかります。
[oracle@server01:/home/oracle] emctl status dbconsole Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://server01:1158/em/console/aboutApplication Oracle Enterprise Manager 11g is not running. [oracle@server01:/home/oracle]
停止していることがわかります。
EM起動
それはEM起動です。コマンドは emctl start dbconsole です。
[oracle@server01:/home/oracle] emctl start dbconsole Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://server01:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 11g Database Control ..... started. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/server01_db01/sysman/log [oracle@server01:/home/oracle]
ステータス確認してみると起動していることがわかります。
[oracle@server01:/home/oracle] emctl status dbconsole Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://server01:1158/em/console/aboutApplication Oracle Enterprise Manager 11g is running. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/server01_db01/sysman/log [oracle@server01:/home/oracle]
EM停止
次にEMを停止します。コマンドは emctl stop dbconsole です。
[oracle@server01:/home/oracle] emctl stop dbconsole Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved. https://server01:1158/em/console/aboutApplication Stopping Oracle Enterprise Manager 11g Database Control ... ... Stopped. [oracle@server01:/home/oracle]