Operational Plans - Running plans against multiple targets using Oracle Enterprise Manager Ops Center 12c
By Rodney Lindner-Oracle on Jun 10, 2013
Oracle Enterprise Manager Ops Center - Operational Plans - Tricks and Tips #2
In this blog, I will be showing you how to run your Operational Plans against either a single target (host) or many targets at once. When you have created your Operational Plan and loaded it into Ops Center, the next thing you will want to do is to run it. If you want to run it against a single host, just select the target from the asset tree under the "Assets" menu.
Select the "Execute Operation" action near the top of the "Actions" panel.
And select the Operational Plan you want to run.
You can also use predefined groups based on an Operating System version like "Solaris 10" by changing the pull-down in the "Assets" menu and selecting "Operating Systems". Of course, I expect that you will have more than one Solaris 10 host. When you execute the Operational Plan, it will run against all the targets that are part of that group.
With the group highlighted, select the "Execute Operation" action, which for OS groups is a little lower down the "Actions" panel.
It is worth noting here that as of Ops Center 12.1.3 (12C Update 3) the predefined Operating System group for Solaris 11 does not have the "Execute Operation" action enabled. While we are working on fixing that, it just means you have to create a User Defined Group based on Solaris 11 OS's. Creating a User Defined Group, both static and dynamic (smart groups), will be a topic for a later blog, but until then, if you don't know how to create a User Defined Group, please refer to the Ops Center documentation at http://docs.oracle.com/cd/E27363_01/doc.121/e27511/asset_mgmt.htm#OPCFG4247.
Or, as a third method
of selecting Operational Plan targets, you can change the pull-down in
the "Assets" menu and select "All User Defined Groups". Then, choose the
group you would like to run your Operational Plan against. These groups
can be created to hold whatever assets you require and the use of
groupings is an extremely powerful feature of Ops Center.
And once again look for and select the "Execute Operation" action.
And you will see your Operational Plan run against multiple targets. In this case, it is 2 targets but it could be as easily 2,000 targets that you have just updated, configured or controlled with just a few mouse clicks.
So we have covered how to run Operational Plans against a single target or a group of many targets, but what if you wanted to run your Operational Plan against a number of single hosts that you have not put into a group or a number of groups or a mixture of both? This can easily be done. We just start the selection from the Operational Plan perspective instead of the target perspective. The first step is to select "Plan Management" from the "Navigation" panel, then "Operational Plans" from within the "Plan Management" panel. Highlighting the Operational Plan you want to run will enable the icons in the middle panel.
Selecting the icon with the green tick will launch the "Select Target Assets" wizard.
Here it is just a matter of selecting any individual targets or groups of targets that you want to run your Operational Plan against, by clicking "Add to Target List", and then clicking "Next".
And fill in the Operational Plan variables as you usually would.
I hope this has given you more ways to launch your Operational Plans, whether it be for a single target, 2,000 targets or even more.