- /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="*" -type="oracle_database" -properties="OracleHome:/oracle/12.2.0.1" -on_agent
Doc ID 1917895.1 Changing the Database Oracle Home File Path Value in Enterprise Manager 12c Cloud Control using emcli