zoukankan      html  css  js  c++  java
  • 配置oem

    [oracle@kaifai ~]$ export ORACLE_SID=dbking
    [oracle@kaifai ~]$ export ORACLE_SID=kaifai
    [oracle@kaifai ~]$ emca -config dbcontrol db -repos create

    STARTED EMCA at Jul 15, 2016 12:31:03 PM
    EM Configuration Assistant, Version 11.2.0.3.0 Production
    Copyright (c) 2003, 2011, Oracle.  All rights reserved.

    Enter the following information:
    Database SID: dbking
    Database Control is already configured for the database dbking
    You have chosen to configure Database Control for managing the database dbking
    This will remove the existing configuration and the default settings and perform a fresh configuration
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
    Password for SYS user: 
    Password for DBSNMP user: 
    Password for SYSMAN user: 
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1

    Local hostname ................ kaifai
    Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
    Listener port number ................ 1521
    Database SID ................ dbking
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Jul 15, 2016 12:31:24 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/dbkingstd/emca_2016_07_15_12_31_03.log.
    Jul 15, 2016 12:31:25 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jul 15, 2016 12:31:46 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jul 15, 2016 12:36:52 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Jul 15, 2016 12:37:02 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Jul 15, 2016 12:37:59 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Jul 15, 2016 12:38:05 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Jul 15, 2016 12:38:28 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Jul 15, 2016 12:38:28 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Jul 15, 2016 12:39:02 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Jul 15, 2016 12:39:02 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://kaifai:5500/em <<<<<<<<<<<
    Jul 15, 2016 12:39:11 PM oracle.sysman.emcp.EMDBPostConfig invoke
    WARNING:
    ************************  WARNING  ************************

    Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted.  The encryption key has been placed in the file: /u01/app/oracle/product/11.2.0/dbhome_1/kaifai_dbkingstd/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.

    ***********************************************************
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Jul 15, 2016 12:39:11 PM
    [oracle@kaifai ~]$ 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://kaifai:5500/em/console/aboutApplication
    - An instance of Oracle Enterprise Manager 11g Database Control is already running.
    [oracle@kaifai ~]$

  • 相关阅读:
    浙大数据结构课后习题 练习二 7-2 Reversing Linked List (25 分)
    浙大数据结构课后习题 练习二 7-2 一元多项式的乘法与加法运算 (20 分)
    浙大数据结构课后习题 练习一 7-1 Maximum Subsequence Sum (25 分)
    浙大数据结构课后习题 练习一 7-1 最大子列和问题 (20 分)
    PAT Basic 1019 数字黑洞 (20 分)
    PAT Basic 1017 A除以B (20 分)
    PAT Basic 1013 数素数 (20 分)
    PAT Basic 1007 素数对猜想 (20 分)
    PAT Basic 1003 我要通过! (20 分)
    自动化运维——HelloWorld(一)
  • 原文地址:https://www.cnblogs.com/wcwen1990/p/6656559.html
Copyright © 2011-2022 走看看