Skip Headers
Oracle® Enterprise Manager Ops Center Advanced User's Guide
11g Release 1 Update 3 (11.1.3.0.0)

Part Number E18416-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

11 Operational Profiles and Plans

An operational plan contains an operational profile that is required to operate your environment. These include problem rule configurations and thresholds, scripts and utilities to fix common problems, and a knowledge base that can be built up around problems in your environment.

About Operational Profiles and Plans

An operational profile and associated plan is a powerful tool in automating process actions in Enterprise Manager Ops Center. An operational profile defines the type of asset to be targeted, contains a shell script, and enables you to provide additional required or optional variables. A plan provides the framework for the profile, including the targets and the level of interaction.

When you create an operational profile, the default option is to create an associated operational plan with the same name. You can also create an operational profile as part of creating an operational plan.

You can use operational profiles and plans to operate your environment, including:

You can apply, or execute, an operational plan as a stand-alone action, or you can combine one or more operational plans and deployment profiles as part of a larger deployment plan, such as a server provisioning plan.

The following are some of the applications:

Plans are stored in the Problems Knowledge Base on the Enterprise Controller and are executed against the root cause of a problem in the context of a managed resource.

Plans and profiles are editable. However, only the user that created the profile and plan can edit the entire profile. Users that have permissions to apply a plan, but who did not create the plan, can override some profile values for a specific job. They cannot permanently change the profile.

Version Control

When a profile is edited, a new version is created. Older versions are still available for use.

When an operational profile is associated with an operational plan, the plan uses the associated profile and version. The plan is not updated when you create a new version of the profile. If you want to use the new version, you must update the plan to revise the profile version.

When an operational profile is used as an action for problem management, the latest version of the profile is executed.

Operational Profiles

An operational profile contains a shell script and, optionally, environmental variables that you can use in operational and deployment plans. By default, creating a profile also creates an operational plan.

You can perform the following tasks:

Creating an Operational Profile

An operational profile uses a shell script to define one or more operations that are to be performed on a managed resource or group of resources. For example, deploying thresholds onto a managed resource, or performing state changing actions such as shutting down all logical domains and then shutting down an Oracle VM Server for SPARC.

For each profile, you can choose one of the following types of shell scripts:

  • EC Shell – The script will only run on the Enterprise Controller. It is executed with the logged-in user's credentials

  • Remote Shell – The script can run on any managed system that contains a remote agent. It is executed with root permissions.

You can save a shell script on the Enterprise Controller and download it into the plan, or you can enter the script in a text field when you create the plan. Both types of shell scripts are executed by the user. They differ in the location (on the Enterprise Controller or on the remote Agent) and the manner (user credentials) of the execution.

To Create an Operational Profile

  1. Click Plan Management in the Navigation pane, then click Operational Profiles. The Operational Profiles appear in the center pane.

  2. Click Create Operational Profile. The Create Profile - Operation page appears.

  3. Type a name for the new plan and a description of its purpose or role.

  4. Select an asset type from the Subtype list.

  5. Click Next.

  6. Select the Operation Type from the drop-down menu, either EC Shell or Remote Shell.

    • If you selected EC Shell, browse to the location of the script in the Script File field, then click Load Script.

    • If you selected Remote Shell, type your script in the Script field.

  7. Enter a numeric value in the Timeout field, then select Minutes or Seconds. The default is 60 minutes.

  8. (Optional) Click View System Variables to view the default variables, such as Alarm_ID$. This variable adds the problem identifier number for easier problem management.

  9. Click Next.

  10. Specify Additional Variables.

Editing an Operational Profile

If you created the profile, you can edit it and create a new version. When you create a new version, the operational and deployment plans that are already using the profile are not updated with the new version.

If you did not create the profile, you do not have edit permissions to create a new version. You can copy an existing operational profile, rename it, and create a new profile and plan.

To Edit an Operational Profile

  1. Click Plan Management in the Navigation pane, then click Operational Profiles. The Operation Profiles are displayed in the center pane.

  2. In the center pane, highlight the plan you want to copy.

  3. Click the Copy icon in the center pane. The Create Profile - Operation page appears.

  4. Type a name for the new plan and a description of its purpose or role. By default, a plan is created with the same name as the profile. If you do not want to create an operational plan with this profile, click the check box to deselect the option.

    Note:

    A profile must be applied as part of a plan.
  5. Select an asset type from the Subtype list.

  6. Click Next.

  7. Define the script.

    1. Select the Operation Type from the drop-down menu, either EC Shell or Remote Shell.

    2. In the Script File field, browse to the location of the script.

    3. Click Load Script.

    4. Enter a numeric value in the Timeout field, then select Minutes or Seconds. The default is 60 minutes.

    5. Type your script in the Script field.

    6. (Optional) to view the system-defined variables, click View System Variables.

    7. Click Next.

  8. (Optional) Specify Additional Variables.

Copying an Operational Profile

You can copy an existing operational profile, rename it, and create a new profile and plan.

To Copy an Operational Profile

  1. Click Plan Management in the Navigation pane, then click Operational Profiles. The Operation Profiles are displayed in the center pane.

  2. In the center pane, highlight the plan you want to copy.

  3. Click the Copy icon in the center pane. The Create Profile - Operation page appears.

  4. Type a name for the new plan and a description of its purpose or role. By default, a plan is created with the same name as the profile. If you do not want to create an operational plan with this profile, click the check box to deselect the option.

    Note:

    A profile can only be applied as part of a plan.
  5. Select an asset type from the Subtype list.

  6. Click Next.

  7. Define the script.

    1. Select the Operation Type from the drop-down menu, either EC Shell or Remote Shell.

    2. In the Script File field, browse to the location of the script.

    3. Click Load Script.

    4. Enter a numeric value in the Timeout field, then select Minutes or Seconds. The default is 60 minutes.

    5. Type your script in the Script field.

    6. (Optional) to view the system-defined variables, click View System Variables.

    7. Click Next.

  8. (Optional) Specify Additional Variables.

Deleting an Operational Profile

When a profile is edited, a new version is created. You can view version details by highlighting the plan, then clicking the View Version Details icon. Use the arrows to view the different versions. You can delete a version of a profile, or you can delete all versions of the profile and the associated plan.

Note:

If you delete a version and more than one version exists, the previous version becomes the default. If only one version of the plan exists, the operational profile and plan are deleted.

To Delete an Operational Profile

  1. Click Plan Management in the Navigation pane, then expand Profiles.

  2. Click Operation in the Navigation pane. The Operation Profiles are displayed in the center pane.

  3. To delete a version of the profile, Delete Version icon in the center pane

  4. To delete the entire profile and the associated operational plan, click Delete Profile.

  5. Click Delete to confirm your action.

Operational Plans

Operational Plans define how the Operation Profile scripts are deployed, and against which targets.

Creating an Operational Plan

An operational plan defines the targets and failure policy for an operational profile. The profile defines one or more operations that are to be performed on a managed resource or group of resources. For example, deploying thresholds onto a managed resource, or performing state changing actions such as shutting down all logical domains and then shutting down an Oracle VM Server for SPARC.

The profile uses a shell script to define the operations. If you do not already have an operational profile, you can create a profile when you create the plan. When you create the profile, you can download a shell script that is already saved on the Enterprise Controller (EC Shell script), or you can type a shell script (Remote Shell script) in the profile.

The EC Shell and Remote Shell are both shell scripts that are executed by the user. They differ in the location (on the Enterprise Controller or on the remote Agent) and manner (user credentials) of the execution. The EC Shell is executed with the credentials of the user that is logged in. The Remote Shell can run on any managed system that contains a remote agent and is executed with root permissions.

A plan contains one or more steps that are bound to a profile or plan. Specify the profile or plan that the step will use when it is applied to a target asset.

Actions available to a step are:

  • A new profile can be created and used by the step. Not every step can create a new profile

  • View the details of the profile or plan

  • Some steps can be duplicated and assigned a unique profile or plan.

  • Duplicated steps can be removed

  • Some steps can specify which result targets will be used when the plan is applied to a target asset

To Create an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans. The Operational Plans are displayed in the center pane.

  2. Click Create Operational Plan in the Actions pane.

  3. Type a name for the new plan and a description of its purpose or role.

  4. Specify how to handle a failure when the plan is applied to a target asset, either stop at the first failure, or attempt to complete as much as possible.

  5. Click the step field, then click Create Profile. The Create Profile - Operation page appears.

  6. Type a name for the new profile and a description of its purpose or role.

  7. Select an asset type from the Subtype list, then click Next.

  8. Define the script by selecting either EC Shell or Remote Shell from the Operation Type drop-down menu.

  9. Select the Operation Type from the drop-down menu, either EC Shell or Remote Shell.

    • If you selected EC Shell, browse to the location of the script in the Script File field, then click Load Script.

    • If you selected Remote Shell, type your script in the Script field.

  10. Enter a numeric value in the Timeout field, then select Minutes or Seconds. The default is 60 minutes.

  11. (Optional) Click View System Variables to see default system variables, such as Alarm_ID$. This variable adds the problem identifier number for easier problem management.

  12. Click Next.

  13. Specify Additional System Variables.

Copying an Operational Plan

An Operational Plan is a plan that defines one or more operations that are to be performed on a managed resource or group of resources. For example, deploying thresholds onto a managed resource, or performing state changing actions such as shutting down all logical domains and then shutting down an Oracle VM Server for SPARC.

To Copy an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans.

  2. In the center pane, highlight the plan you want to copy. The Operation Profiles are displayed in the center pane.

  3. Click the Copy Operational Plan icon in the center pane.

  4. Type a name and description for the plan.

  5. Complete the Failure Policy, either Stop at failure or Complete as much as possible. (Optional) To view details about a profile or step, highlight the step, then click the Associated Profile/Operational Plan Details icon. Close the window.

  6. Click Save.

Editing an Operational Plan

An Operational Plan is a plan that defines one or more operations that are to be performed on a managed resource or group of resources. You cannot edit the plan name, but you can edit the description, Failure Policy, and associated profiles, or create a new operational profile.

To Edit an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans.

  2. In the center pane, highlight the plan you want to edit. The Operation Profiles are displayed in the center pane.

  3. Click the Edit Operational Plan icon in the center pane.

  4. (Optional) Edit the plan description.

  5. (Optional) Change the Failure Policy, either Stop at failure or Complete as much as possible.

  6. (Optional) To view details of the associated profile or plan, highlight the step and then click the Associated Profile/Operational Plan Details icon in the table in the center pane.

  7. (Optional) To create a new profile, click the Create New Profile icon in the table in the center pane. The Create Profile - Operation page appears.

    1. Type a name and description for the new profile.

    2. Select a Subtype from the list of available asset types.

    3. Click Next.

    4. Select the Operation Type from the drop-down menu.

    5. (Optional) Browse for the script file, then click Load Script.

    6. Define the time out number and unit of measurement, either Minutes or Seconds.

    7. If you did not load a script, add the script in the text box, then click Next.

    8. Use the Add icon to specify any additional variables, then click Next.

    9. Click Finish.

  8. Click Save.

Viewing a Version of an Operational Plan

An Operational Plan is a plan that defines one or more operations that are to be performed on a managed resource or group of resources. When a plan is modified, a new version is created. Use this option to quickly view the differences between plan versions.

To View a Version of an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans. The plans are displayed in the center pane.

  2. Click the View Version Details icon in the center pane.

  3. Use the arrows to view the different versions.

  4. Close the window by using the close icon in the upper right corner of the window.

Deleting an Operational Plan

You cannot delete a version of an operational plan version unless you created the version. Deleting a version of a plan might impact the Problem Knowledge Base or deployment plans that reference the version. Before deleting a version, verify that the version is not being used.

To Delete a Version of an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans.

  2. In the center pane, highlight the plan you want to copy. The Operation Profiles are displayed in the center pane.

  3. Click the Delete Version icon in the center pane.

  4. Click Save.

An Operation Plan is a plan that defines one or more operations that are to be performed on a managed resource or group of resources. For example, deploying thresholds onto a managed resource, or performing state changing actions such as shutting down all logical domains and then shutting down an Oracle VM Server for SPARC.

To Delete an Operational Plan

  1. Click Plan Management in the Navigation pane, then click Operational Plans.

  2. In the center pane, highlight the plan you want to delete.

  3. Click the Delete Operational Plan icon in the center pane.

  4. Click Delete to confirm that you want to delete the plan.