Reconfiguring the Oracle Enterprise Manager

For many reasons you may need to drop the OEM and create it again, for example, to move an instance from a server to another. Here are simple steps to reconfigure the OEM.

Solution:

-- Drop the old repositories and deconfigure the old OEM:
sqlplus /nolog
conn / as sysdba
drop user sysman cascade;
DROP PUBLIC SYNONYM setemviewusercontext;
DROP ROLE mgmt_user;
DROP PUBLIC SYNONYM mgmt_target_blackouts;
DROP USER mgmt_view;
-- Now you are ready to set it up once again:
emca -config dbcontrol db -repos create

Fulfill the recquired information and it is done!

Advertisements

About Bruno Carvalho

Coffee addicted tech guy.
This entry was posted in ORACLE Database and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s