Bookmarks | Admin | Profile | Feedback | Sign Out | Help |
Headlines | Knowledge | Service Request | Configuration Support Manager | Patches & Updates | Forums | Certify |
Knowledge Browser | Advanced Search | Bug Search | Secure Enterprise Search |
|
| |||||||||||||||||||||||
Purpose Scope and Application How To Drop, Create And Recreate DB Control In A 10g Database DB Control options: A. Delete DB Control Objects: B. Create DB Control Objects C. Recreate/ReConfig DB Control
Applies to:Enterprise Manager Grid Control - Version: 10.1 to 10.2Information in this document applies to any platform. DBConsole PurposeThis article provides detailed instructions on how to 1) create, 2) drop and 3)recreate the repository and configuration files for the DB Control application used to manage a single 10g Database.Scope and ApplicationThe steps in this article are written for a DBA or System Administrator who needs to create, drop or reconfigure the DB Control Application.The format of the document will include steps for both 10.1 and 10.2 EMCA because the commands changed between the two releases. How To Drop, Create And Recreate DB Control In A 10g DatabaseDB Control options:A. Delete DB Control Objects:Option 1. Delete DB Control Configuration Files using EMCA scripts Option 1. Delete DB Control Configuration Files using EMCA scripts: For DB Control 10.1.x, run the command: Option 2. Delete DB Control Configuration Files Manually: Remove the following directories from your filesystem: NOTE: On Windows you also need to delete the DB Console service: - run regedit - navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services - locate the OracleDBConsole Alternatively on Windows XP and Windows Server 2003 you can run the following from the command line: 'sc delete - where Also available from Microsoft is the delsrv.exe command. (Free download from Microsoft) Option 3. Delete DB Control Repository using RepManager: This option is not as complete as the other options. You may find that dropping the repository using the commandline options is a better solution. Also note, RepManager is not used to create a DB Control Repository. In both 10g R1 and R2 run: Option 4. Delete DB Control Repository Objects Manually
CURSOR c1 IS DROP USER mgmt_view CASCADE; Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects: Option 5. Delete DB Control Configuration Files and Repository Objects using EMCA For DB Control 10.1.x, dropping both the configuration files and the repository objects is a two step process. Run the following two commands:
For DB Control 10.2.x, both configuration files and repository objects can be deleted with a single command. Run the command:
B. Create DB Control ObjectsOption 1. Create the DB Control Configuration Files Option 1. Create the DB Control Configuration Files To create only the DB Control configuration files, skipping the repository creation (this would be done for instance if you dropped only the files and left the repository in place): For DB Control 10.1.x, run the command: Option 2. Create the DB Control Repository Objects and Configuration Files For DB Control 10.1.x, run the command: C. Recreate/ReConfig DB ControlOption 1. Recreate the DB Control Configuration Files only (leave Repository intact)Option 2. Recreate the DB Control Configuration Files and Repository In 10.2, the EMCA commands can be used to reconfigure the existing installs without removing them first. Option 1. Recreate the DB Control Configuration Files only (leave Repository intact): For DB Control 10.2.x, run the command:
Option 2. Recreate the DB Control Configuration Files and Repository For DB Control 10.2.x, run the command:
For additional information on EMCA commandline options, please see the Oracle Enterprise Manager 10g Advanced Configuration Guide or see Note 330130.1 Overview Of The EMCA Commands Available for DB Control 10.2 Note 330130.1 Overview Of The EMCA Commands Available for DB Control 10.2 Keywords'EMCA' 'REPMANAGER' 'DB~CONTROL' 'DBCONSOLE'Help us improve our service. Please email us your comments for this document. . | |||||||||||||||||||||||
Copyright © 2006, Oracle. All rights reserved. | Legal Notices and Terms of Use | Privacy Statement |