Segue abaixo o procedimento: Remover a ferramenta Oracle Enterprise Manager
Comando: emca -deconfig dbcontrol db -repos drop
[oracle@oraprd ~]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Jul 5, 2011 1:10:11 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Segue abaixo o procedimento: Remover a ferramenta Oracle Enterprise Manager
Comando: emca -deconfig dbcontrol db -repos drop
[oracle@oraprd ~]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Jul 5, 2011 1:10:11 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved
Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
Jul 5, 2011 1:10:22 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oraprd01/app/oracle/cfgtoollogs/emca/orcl/emca_2011_07_05_13_10_11.log.
Jul 5, 2011 1:10:23 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Jul 5, 2011 1:10:23 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: Error initializing SQL connection. SQL operations cannot be performed
Jul 5, 2011 1:10:23 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Jul 5, 2011 1:15:45 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jul 5, 2011 1:15:45 PM
Caso queira configurar a ferramenta Oracle Enterprise Manager novamente.Segue abaixo o procedimento:
Comando: emca -config dbcontrol db -repos create
[oracle@oraprd ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Jul 5, 2011 1:16:02 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Password for SYSMAN user: ions (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /oraprd01/app/oracle/product/11.1.0/db_1
Local hostname ................ oraprd
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Jul 5, 2011 1:17:46 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oraprd01/app/oracle/cfgtoollogs/emca/orcl/emca_2011_07_05_13_16_02.log.
Jul 5, 2011 1:17:48 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 5, 2011 1:26:58 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jul 5, 2011 1:27:14 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Jul 5, 2011 1:28:28 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Jul 5, 2011 1:28:29 PM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for oraprd
Jul 5, 2011 1:28:34 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Jul 5, 2011 1:28:34 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Jul 5, 2011 1:28:50 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Jul 5, 2011 1:28:50 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Jul 5, 2011 1:29:11 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Jul 5, 2011 1:29:11 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jul 5, 2011 1:30:53 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jul 5, 2011 1:30:53 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://oraprd:1158/em <<<<<<<<<<<
Jul 5, 2011 1:30:59 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:
/oraprd01/app/oracle/product/11.1.0/db_1/oraprd_orcl/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 Jul 5, 2011 1:30:59 PM
Após a instalação do EM verifique o seu estado.
[oracle@oraprd ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://oraprd:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /oraprd01/app/oracle/product/11.1.0/db_1/oraprd_orcl/sysman/log
[oracle@oraprd ~]$
Pronto EM configurado.
Nenhum comentário:
Postar um comentário