Вы находитесь на странице: 1из 5

Oracle Enterprise Manager (OEM) ,

Oracle, , , HTTP-,
- ..
. Database Control,
.
, ORACLE_HOME/<host>_<sid>/emkey.ora.
, ..
. - ,
emca.
Enterprise Manager Configuration Assistant (EMCA) Database Control
.
:

ORACLE_HOME oracle
ORACLE_SID

emca -deconfig dbcontrol db -repos drop


.
.

STARTED EMCA at 18.03.2009 14:44:39


EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:


Database SID: my_sid
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y

18.03.2009 14:45:14 oracle.sysman.emcp.EMConfig perform


INFO: This operation is being logged at
C:\oracle\cfgtoollogs\emca\my_sid\emca_2009_03_18_14_44_39.log.
18.03.2009 14:45:16 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while)
18.03.2009 14:45:25 oracle.sysman.emcp.EMReposConfig invoke

INFO: Dropping the EM repository (this may take a while)


18.03.2009 14:49:49 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at 18.03.2009 14:49:49
:

emca -config dbcontrol db -repos create


.

STARTED EMCA at 18.03.2009 14:54:25


EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle.

All rights reserved.

Enter the following information:


Database SID: my_sid
Listener port number: 1521
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 ................ C:\oracle\product\11.1.0\db_1

Local hostname ................ pegace


Listener port number ................ 1521
Database SID ................ my_sid
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

----------------------------------------------------------------Do you wish to continue? [yes(Y)/no(N)]: y


18.03.2009 14:55:13 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at
C:\oracle\cfgtoollogs\emca\ido\emca_2009_03_18_14_54_25.log.

18.03.2009 14:55:15 oracle.sysman.emcp.EMReposConfig createRepository


INFO: Creating the EM repository (this may take a while) ...
18.03.2009 15:08:23 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
18.03.2009 15:08:38 oracle.sysman.emcp.EMReposConfig
uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while)
...
18.03.2009 15:10:10 oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
18.03.2009 15:10:21 oracle.sysman.emcp.util.DBControlUtil
configureSoftwareLib
INFO: Software library configured successfully.
18.03.2009 15:10:21 oracle.sysman.emcp.EMDBPostConfig
configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
18.03.2009 15:10:55 oracle.sysman.emcp.EMDBPostConfig
configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
18.03.2009 15:10:55 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
18.03.2009 15:11:09 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
18.03.2009 15:11:09 oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
18.03.2009 15:13:20 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
18.03.2009 15:13:21 oracle.sysman.emcp.EMDBPostConfig performConfiguration
WARNING: Unable to create Database Control shortcut
18.03.2009 15:13:21 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://pegace.ido.ru:5500/em
<<<<<<<<<<<
18.03.2009 15:13:23 oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************

WARNING

************************

Management Repository has been placed in secure mode wherein Enterprise


Managerdata
will be encrypted.

The encryption key has been placed in the file:

C:\oracle\product\11.1.0\db_1\pegace.ido.ru_ido\sysman\config\emkey.ora.
Please 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 18.03.2009 15:13:23
Database Control, ,
Enterprise Manager:
INFO: >>>>>>>>>>> The Database Control URL is https://pegace.ido.ru:5500/em <<<<<<<<<<<

C:\oracle\product\11.1.0\db_1\pegace.ido.ru_ido\sysman\config\emkey.ora

EMCA
Database Control - . ,
Enterprise Manager 1158. EMCA
. :

emca -reconfig ports


Enterprise Manager ports : DBCONTROL_HTTP_PORT <port_number>.
$ORACLE_HOME/install/portlist.ini.

(listener). (down).
:

emca -config dbcontrol db

, IP-. :

emca -deconfig dbcontrol db -repos drop


emca -config dbcontrol db -repos create

emca -deconfig dbcontrol db


emca -config dbcontrol db -repos recreate

TNS-. :

emca -config dbcontrol db

EM
Enterprise Manager Command-Line Utility (EMCTL) , ,
WEB- Enterprise Manager.
Enterprise Manager.
:

emctl start

WEB- EM

emctl stop

WEB- EM

emctl status

WEB- EM

emctl set password new_password

ias_admin

emctl authenticate password

ias_admin