Início > Oracle > Enterprise manager criando e dropando o repositorio

Enterprise manager criando e dropando o repositorio

Bom hoje eu vou abordar sobre o Enterprise Manager assim como criar e dropar o repositorio, segue:

Criando o Repositório do Enterprise Manager

[oracle@teste]$emca -config dbcontrol db -repos create

STARTED EMCA at Jan 01, 2012 11:01:04 AM
EM Configuration Assistant, Version 10.2.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: xxx
Password for DBSNMP user: xxx
Password for SYSMAN user: xxx
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/product/10.2.0/orcl

Database hostname ……………. viper.com.br
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
Jan 1, 2012 11:01:31 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/product/10.2.0/orcl/cfgtoollogs/emca/orcl/emca_2012-01-01_11-01-04-AM.log.
Jan 1, 2012 11:01:36 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) …
Jan 1, 2012 11:04:23 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jan 1, 2012 11:04:32 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) …
Jan 1, 2012 11:06:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jan 1, 2012 11:06:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://X.X.X.X:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jan 1, 2012 11:06:09 AM

________________________________________________________________
Dropando o Repositório Enterprise Manager

[oracle@teste]$emca -deconfig dbcontrol db -repos drop

STARTED EMCA at Jan 01, 2012 10:59:32 AM
EM Configuration Assistant, Version 10.2.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: xxx
Password for SYSMAN user: xxx
Password for SYSMAN user: xxx
Do you wish to continue? [yes(Y)/no(N)]: Y
Jan 1, 2012 10:57:32 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/product/10.2.0/orcl/cfgtoollogs/emca/orcl/emca_2012-01-01_10-59-32-AM.log.
Jan 1, 2012 10:57:34 AM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Jan 1, 2012 10:57:34 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) …
Jan 1, 2012 10:59:51 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jan 1, 2012 10:59:51 AM

Pronto apenas verificar o status do agent e do dbconsole, segue:

Status:
emctl status agent
emctl status dbconsole

Start:

emctl start agent
emctl start dbconsole

Stop:
emctl stop agent
emctl stop dbconsole

Abraço

Categorias:Oracle
  1. Nenhum comentário ainda.
  1. No trackbacks yet.

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s

%d blogueiros gostam disto: