This content has been marked as final. Show 3 replies
You can change the target properties with emcli.
emcli help set_target_property_value
emcli set_target_property_value -property_records="test_database:oracle_database:LifeCycle Status:Production"
With emcli you can also provide the property records in a file.
More on emcli:
 Oracle® Enterprise Manager Command Line Interface 12c Release 1 (22.214.171.124) - http://docs.oracle.com/cd/E24628_01/em.121/e17786/toc.htm
thanks for this tip.
I have already worked with the emcli(only some OMS config tasks) but i never though about to use it as tool to script some more complex configuration task.
I think the note will help me with the syntax. Next step will be the selection of the production targets for examlpe. (e.g. all databases which name ends with a "P" or something --> set all belonging targets [host, listenert etc] to Lifecylce Status Production) But this is not your problem! ;-)
Thank you very much again!