An Oracle blog about Ops Center

  • FAQ
    October 30, 2014

Running Scripts Using an Operational Profile

Guest Author

I saw an interesting question recently about operational profiles. An Ops Center user wanted to run a script with several variables on several managed systems, with the variables having different values on each system, and they wanted to know the best way to do it.

This can all be done through an operational profile (and an operational plan, which runs the profile). First, you'll select Operational Profiles in the Plan Management section of the UI, then you'll click Create Profile.

You put your script in here, using whatever variables you need. You also specify a type - Remote Shell scripts can be run on any system with an agent, using root permissions, while EC Shell scripts are only run on the Enterprise Controller system with the logged-in user's credentials.

When you click next, there's a screen to define the variables used. You specify the variables, but leave the values blank. Then, when you
run the operational plan on a system, you'll be prompted to supply the
values for each variable.

Take a look at the Plans and Profiles chapter of the Feature Reference Guide for more information.

Join the discussion

Comments ( 2 )
  • guest Wednesday, November 19, 2014

    Hi Owen,

    With regard to operational profiles and update plans where I can put them. I'm trying to use Ops Center to run regular (scheduled) jobs. Is there a nice way to do this?

    My only idea is to use EMOC CLI script which starts operational plan and run the script as a cron job on EC. Not finished my test yet but maybe there is different way to accomplished this. Is it possible to defined custom scheduled job similar to these created by EMOC itself (like OCDoctor updates, library refreshes, etc)



  • Owen Wednesday, November 19, 2014


    Unfortunately, you can't make a recurring job to run an operational profile through the UI. (I'll pass along that that's something you're interested in, though.)

    The CLI may be your best bet, as it's meant to interact with scripts.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.