Oracle® Enterprise Manager Grid Control Advanced Installation and Configuration Guide 11g Release 1 (11.1.0.1.0) Part Number E16847-10 |
|
|
PDF · Mobi · ePub |
This appendix describes the RepManager utility. In particular, this appendix covers the following:
RepManager is a utility that enables you to create, upgrade, and drop Oracle Management Repository. This utility is available in the Oracle home of Oracle Management Service (OMS):
For UNIX operating systems:
$<ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager
For Microsoft Windows operating systems:
$<ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager.bat
This utility is invoked by Repository Configuration Assistant while installing a complete Enterprise Manager system, and by Repository Upgrade Configuration Assistant while upgrading to Enterprise Manager 11g. For information about these Configuration Assistants, see What Are Configuration Assistants?.
Before you start using the RepManager utility, ensure that you meed the following prerequisites:
Ensure that the environment variable ORACLE_HOME
is explicitly set. To verify whether it is already set, run the following command:
echo $ORACLE_HOME
To connect to Oracle Management Repository (Management Repository), pass either <repository_database_host> <repository_database_port> <repository_database_sid>
or -connectString <db_connect_string>
.
For example, the connect string can
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=dadvmi0213.foo.xyz.com)(PORT=15041)))(CONNECT_DATA=(SID=smos1)))
Table K-1 shows the list of actions and their associated commands supported by the RepManager utility. The ORACL_HOME mentioned in the commands is the Oracle home of the OMS.
Table K-1 Actions and Commands Supported by RepManager
Action | Command | Example |
---|---|---|
create |
|
|
upgrade |
|
|
preupgrade |
|
|
transX |
|
|
resume |
|
|
drop |
Note: Ensure that there are no active SYSMAN sessions, scheduler jobs and dbms_jobs running. To ensure this, restart the database. |
|
dropall |
Note: Ensure that there are no active SYSMAN/SYSMAN_MDS sessions, scheduler jobs and dbms_jobs running. To ensure this, restart the database. |
|
Note:
RepManager 11.1 supports-action dropall
(drops SYSMAN as well as SYSMAN_MDS) and -action drop
(drops only SYSMAN). However, RepManager 10.2.0.5 supports -action drop
(drops only SYSMAN).