Re: EM12C - update targets via script?

From: Robert Hanuschke <robert.hanuschke_at_gmail.com>
Date: Fri, 3 Aug 2012 15:31:36 +0200
Message-ID: <CAL6WDh13-9bBHHfO0WvXJc8Qq0gaVH_um1wx=t0HZEYjOg2EjA_at_mail.gmail.com>



Hi Martin,
the emcli can do that.
Have a look at the "modify_target" command documentation here: http://docs.oracle.com/cd/E24628_01/em.121/e17786/cli_verb_ref.htm#BABDJBBF The examples also cover the Oracle_Home property.

Best regards,
Robert
http://robertvsoracle.blogspot.com

On Fri, Aug 3, 2012 at 2:54 PM, Martin Berger <martin.a.berger_at_gmail.com>wrote:

> Hi all EM12c lovers out there,
>
> I faced a problem where EM12c did not update the ORACLE_HOME of my
> instances after an out-of-place patching.
> In a SR _at_ MOS after 29 days I got this answer:
> From EM 12c Console > Targets > Databases > select the radio
> button beside the target DB xxxxx > click on Configure button and
> provide the correct information in this page.
> This works fine.
> Now I just search for any way to do this update by a script (either on
> EM12c host, DB or agent hosts) As I don't want to click through my
> 180+ DBs twice a year.
>
> Does anyone knows how to update these DB-Parameters in EM12C without
> hitting the web-interface?
>
> Martin
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 03 2012 - 08:31:36 CDT

Original text of this message