Search

Custom Search

Tuesday, 4 August 2015

Changing the Database Oracle Home File Path Value in Enterprise Manager 12c Cloud Control using emcli


Note : in the EM 12c console, on the Configure Database Instance: Properties page, the Oracle Home Path value can be changed

Access: Targets > Databases > (database instance target), right-click > Oracle Database > Target Setup > Monitoring Configuration


Steps

1. /bin/emcli login -username=sysman

2. /bin/emcli sync

3. OMS_HOME>/bin/emcli modify_target -name="" -type="" -properties="OracleHome:" -on_agent

Example for Oracle database target:

emcli modify_target -name="test" -type="oracle_database" -properties="OracleHome:/u01/app/oracle/product/11.2.0/dbhome_1" -on_agent

Google+