Skip Headers
Oracle® Enterprise Manager Ops Center Feature Reference Guide
12c Release 1 (12.1.1.0.0)

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

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

8 Plans and Profiles

This chapter provides an overview of the concepts of profiles, policies, and plans. Detailed information is covered in the corresponding feature chapters.

The following information is included:

Introduction to Plans and Profiles

Oracle Enterprise Manager Ops Center uses a combination of profiles and plans to reduce complexity and increase consistency when you perform standard management and operational activities. Templates are available in the Plan Management section of the UI. You use templates to create customized profiles and plans for your environment.

The software uses profiles and plans to create a reusable set of procedures to perform tasks, such as provisioning and updating. You create, manage, and access all profiles and plans in the Plan Management section of the user interface.

A profile defines how a task is performed and enables you to define what is allowed, and not allowed, to be installed on a system. A plan provides the steps to complete an operation, defines the targets upon which the tasks are performed, and enables you to deploy the profile to the targets. Together, plans and the associated profiles enable you to define operations. You create your own profiles and plans from a set of templates.

Plan Management contains three basic components:

To see all profiles and plans, expand Plan Management in the Navigation pane. Select the profile or plan to see the available actions. For each plan, you can define the course of action to take when a step cannot be completed on a target. You can choose to stop the job at the first failure, or attempt to complete as much as possible.

Deployment plans are all based on a set of pre-defined templates. You can use the available templates to create customized profiles and plans for your data center. Some templates are designed for simple tasks and other, more complex plans, are designed to perform a series of functions. You can build complex plans by combining existing plans, for example, adding an operational profile and plan to the end of a deployment plan.

Version Control

Profiles and plans versions are numbered sequentially. When you create a profile or plan, the version number is one. When you edit a profile or plan, you create a version that is referenced by a new number.

When you create a version, you have the option to automatically change the related plan during the update. When you do not choose that option, the operational and deployment plans that are using the profile are not updated with the new version. For example, you have a firmware profile that is using firmware image A, the profile version is one. You want to update the profile to use the latest firmware image, B. When you update the profile to change the image to B, version two of the profile is created. When you have five plans that are using version one of the firmware profile, all of those plans continue to use version one and image A. When you want the plans to use image B, you must manually update the plans to reference version two of the profile.

The same is true for plans. When you edit a deployment plan that is referred to by another plan in a complex plan, the referring plan is not automatically updated to refer to the edited plan's version unless you choose the option when you edit the plan.

You can view version details by highlighting the plan, then clicking the View Version Details icon. Use the arrows to view the different versions. When you want a plan to use the new version of the profile, edit the plan and associate it with the correct version of the profile. You can edit the following fields in an Operational Plan: Description, Failure Policy, and Associated Profile. You cannot edit the name of a profile or plan. When you want a different name, you must copy or create a profile and plan.

You can delete a version of a profile or plan. When you delete a version and more than one version exists, the previous version becomes the default. When only one version of the plan exists, both the profile and plan are deleted. When the plan is used in other plans, then the Delete Deployment Plan option is not enabled.

Roles for Plans and Profiles

The following table lists the tasks and the role required to complete the task. Contact your administrator if you do not have the necessary role or privilege to complete a task. See the Oracle Enterprise Manager Ops Center Administration Guide for information about the different roles and the permissions they grant.

Table 8-1 Plan Management Roles and Permissions

Task Role

View a profile or plan

Read

Create a profile or plan

Profile Plan Administrator

Edit a profile or plan

Profile Plan Administrator

Copy a profile or plan

Profile Plan Administrator

Delete a profile or plan

Profile Plan Administrator

Create a profile or plan

Profile Plan Administrator


Operational Profiles and Plans

Operational profiles are designed to assist you in the day-to-day operation of your data center.

An Operational Profile performs one or more tasks needed to operate your environment. The profile contains a single shell script and can include asset attributes as environmental variables. For each profile, you can choose one of the following types of shell scripts:

You have the option of adding two types of variables to operational profiles:

A list of supported asset attributes is available in Appendix A, "Asset Attributes".

An Operational Plan is required to execute an Operational Profile and is created by default when you create an Operational Profile. You can use the plan to execute the profile on a managed resource or group of resources, such as performing state changing actions.

You can create a simple plan, such as disabling print capabilities, and deploy the plan across a group of resources in your data center. A more sophisticated example is to create several Operational Plans and add them as steps in a complex type Deployment Plan. For example, you can create an Operational Plan to shut down all logical domains and another Operational Plan to shut down an Oracle VM Server for SPARC. You can then add these plans as steps in a complex Deployment Plan.

Actions for Operational Profiles and Plans

You can perform the following actions, depending on the role:

Create an Operational Profile and Plan

An Operational Plan defines how an Operational Profile is deployed, and against which targets. By default, creating a profile also creates an Operational Plan.

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, either on the Enterprise Controller or on the remote Agent, and the user credentials needed to execute the profile.

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. When you do not have an operational profile, you can create a profile when you create the plan. When you create the profile, either download a shell script that is on the Enterprise Controller (EC Shell script), or enter the 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.

  1. Expand Plan Management in the Navigation pane, then click Operational Profiles.

  2. Click Create Profile.

  3. Name the new profile and add a description. Select a subtype from the list to identify the type of target for this profile. Click Next.

  4. Define the script, then click Next.

    1. Define the type, either EC Shell or Remote Shell.

    2. Define the time out parameters.

    3. Type the script in the Script field, or click Load if you are loading an EC Shell script that is saved on the Enterprise Controller. Click View System Variables to see the available software-specific variables.

  5. (Optional) Add user-defined variables in the Specify Additional Variables page. Click Next.

  6. Review, then click Finish.

Edit an Operational Profile or Plan

When you edit a profile or plan, you create a version. When you create a version, you have the option to automatically change the related plans during the update. See Version Control for how versions are maintained.

You can view version details by highlighting the plan, then clicking the View Version Details icon. Use the arrows to view the different versions. When you want a plan to use the new version of the profile, edit the plan and associate it with the correct version of the profile. You can edit the following fields in an Operational Plan: Description, Failure Policy, and Associated Profile. You cannot edit the name of an Operational profile or plan. When you want a different name, you must copy or create a Operational Profile and Plan.

Copy an Operational Profile

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

  1. Expand Plan Management in the Navigation pane, then click Operational Profiles.

  2. Select the profile in the center pane that you want to copy, then click the Copy Profile icon. Or you can double-click the profile in the center pane to display actions in the Actions pane.

  3. Rename the new profile you are creating and revise the description, then click Next.

  4. (Optional) Edit the script. Click Next.

  5. (Optional) Edit the variables in the Specify Additional Variables page. Click Next.

  6. Review, then click Finish.

Copy an Operational Plan

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

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

  2. Select the plan in the center pane that you want to copy, then click the Copy Plan icon. Or you can double-click the plan in the center pane to display actions in the Actions pane.

  3. Rename the new plan you are creating and revise the description. You can choose to change the Failure Policy for the new plan and change the Operational Plan steps. You can change the associated profile or plan for each step. To change the profile or plan, click the associated profile or plan to select from a list of available options. To add additional steps, click the Replicate Step icon, then select the profile or plan from the list to associate with that step. Click Save.

  4. (Optional) Edit the script. Click Next.

  5. (Optional) Edit the variables in the Specify Additional Variables page. Click Next.

  6. Review, then click Finish.

Delete an Operational Profile or Plan

You can delete a version of a profile, or you can delete all versions of the profile and the associated 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 Incident Knowledge Base or deployment plans that reference the version. Before deleting a version, verify that the version is not being used.

Note:

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

Profiles and Policies

Profiles and policies define how a job is performed and the level of interaction.

Policies

Policies are lists of actions that are explicitly approved or denied. Policies are specific to OS update and define the amount of user interaction you want when applying OS patches and packages. For example, you might want to automate applying fixes without user interaction, but you might want to pause a job and require user approval before performing a downgrade or uninstall. You can also deny certain actions, such as installing uncertified patches or packages.

Policy settings are hierarchical. When you have not defined a policy for a component, the policy for that component's parent applies. For example, it is possible to create a policy that allows the system to install a given component, but prohibits installing specific versions of that component.

Update policies are discussed in detail in Chapter 13, "Operating System Updates".

Profiles

Profiles define how a standard management tasks are performed. With the help of wizards, you create a customized set of profiles. Once created, authorized users can use the profiles to perform tasks, such as discovery and provisioning. The software has pre-defined profiles for some common OS tasks, such as reboot and check for installed security patches. You can choose to use the pre-defined profiles for those actions or create your own.

Profiles are organized in the UI by category. The profiles are discussed in more detail in various sections of the documentation. The following are the profile categories and where you can find more specific information about that task and profile:

With the exception of the Discovery profile, these types of management profiles require a deployment plan to execute the tasks on specific targets. When you create a profile, the default setting is to create a corresponding deployment plan. See Deployment Plans for more information on these types of plans.

Deployment Plans

Deployment Plans use profiles to perform standard management activities in a consistent and repeatable manner. A deployment plan defines the sequence of operations or steps that must be carried out on an asset to deploy it together with the specification or profile that each step applies and the resources that are required to apply it such as network addresses and system names.

A comprehensive set of deployment templates is available for you to use to create a variety of deployment plans. Each template is an unbound deployment plan which defines the steps of execution, but not the profiles and assets. A deployment template enable you to define a task and the associated resources (such as images and network addresses), that are needed to complete the task.

The software provides several plans that contain more than one step. In some cases, you can associate steps in a plan with another plan. The associated plan is referred to as a nested plan. You can use nested plans as shared building blocks, much in the same way as profiles are used. Configuring a single nested plan once and reusing it in many other plans reduces the number of individual operations that you must complete in the UI. The templates appear in the user interface in alphabetical order, not by type. However, it is useful to categorize the plans as simple, multi-step, and complex. See the different categories for a description of the plans. The following lists the plans that are located in each category:

You can use the templates to create your own deployment plans and configure the plans using profiles. The settings and values in the profiles bound to each step are defaults. You can modify the plan is actually applied. You can further constrain the profile settings and values by the target systems to which the plan is applied.

With the exception of complex plans, the templates do not allow you to add steps to a plan. You can use only those steps that are defined in the template from which the plan is derived. Complex plans enable you to add one or more deployment and operational plans inside a complex type plan.

Simple Deployment Plans

The software provides you with the ability to create, configure, manage and execute deployment plans which drive the hardware, firmware and software provisioning activities in a repeatable fashion.

You create plans from defined templates. Each plan defines the sequence of steps that must be carried out for configuration or provisioning of a system. Plans might contain a single step or a sequence of multi-steps. Each step in the plan is configured by associating a profile or another plan.

A simple plan contains a single step with a single image. You can define the image used by the plan, but you cannot add more than one image or add steps.

The following plans are simple deployment plans:

In most cases, when you create a profile, the default action also creates a simple deployment plan.

Multi-Step Deployment Plans

Several deployment templates with multi-step sequences are available. These plans are designed to provide you with a customized and repeatable way to perform common operations with a single click.

The following plans are multi-step deployment plans:

The steps in a multi-step plan are defined in the template. You cannot skip steps or add steps.

Complex Deployment Plans

You can use a combination of profiles, deployment plans, and operational plans to create a complex deployment plan that enables you to automate a variety of detailed workflows into a single plan. Complex plans provide flexibility to structure plans that meet your local requirements, increasing consistency and allowing for a greater level of automation.

When you create complex deployment plans, you can choose to skip a step in the plan. Skipped steps are not processed when the plan is applied. You can replicate certain steps to perform the same operation but using a different profile or plan. You can also add one or more deployment plans and operational plans.

The following plans are complex deployment plans:

  • Configure M-Series Hardware, Create and Install Domain – Use this plan to configure an M-Series server, create dynamic system domains, provision OS on the domains, and update the domains.

  • Configure Server Hardware and Install OS – Use this plan to configure a service processor or a chassis, provision OS and update the OS.

  • Configure and Install Dynamic System Domain – Use this plan to create dynamic system domains, provision and update OS on the domains.

  • Configure and Install Logical Domains – Use this plan to create logical domains and provision OS on the logical domains.

Actions for Deployment Plans

After you create a profile and plan, you can perform the following actions:

Edit a Profile

Editing a profile enables you to change the profile configuration. Changing values other than the name or description will create a new version. When a profile is referenced by one or more deployment plans, the default action is to update the referring plans to the new version.

To Edit a Profile

  1. Expand Plan Management in the Navigation pane.

  2. Select a profile from the Profiles and Policies tree.

  3. Click Edit Profile.

  4. Complete the changes, then click Finish.

Edit a Deployment Plan

You can edit the deployment plan details, alter the plan configuration by skipping steps in the plan, change the profile or plan bound to each step, or save the plan under a different name to create a new plan.

Note:

When you edit a deployment plan that is referred to by another plan, for example, in a nested plan, the referring plan is not automatically updated to refer to the edited plan's version. You must manually modify the referring plan if you want it to use the modified version.

To Edit a Deployment Plan

  1. Select Plan Management from the Navigation pane.

  2. You can use either of the way to select Edit Deployment Plan option:

    • Method 1 – Select the deployment type from the tree and select a plan from the list. The Edit Deployment Plan icon is enabled. Click the Edit Deployment Plan icon.

    • Method 2 – Expand the selected deployment type and select a plan from the list. The plan details are displayed. Select Edit Deployment Plan from the Actions pane. The Edit Deployment Plan window is displayed.

  3. Edit the following details of the plan:

    • Plan Name – When you can modify the name of the plan, a new plan is created. Edit the name to create a new plan.

    • Description – Provide a description of the plan.

    • Failure Policy – Select whether you want the plan execution to stop at failure or complete as much as possible.

  4. You can configure a step of the plan by setting or changing the associated profile, or by creating a new profile.

  5. You can edit the plan by replicating the steps and associate targets depending on the type of plan selected, if any.

  6. Click Save to save any changes made to the plan. When you have changed the name, a new plan is saved with the version v1.

Copy a Deployment Plan

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

To Copy a Deployment Plan

  1. Select Plan Management from the Navigation pane.

  2. You can use either of the way to select Copy Deployment Plan:

    • Method 1 – Select the deployment type from the tree and select a plan from the list. The Copy Deployment Plan icon is enabled. Click the Copy Deployment Plan icon.

    • Method 2 – Expand the selected deployment type and select a plan from the list. The plan details are displayed. Select Copy Deployment Plan from the Actions pane. The Create a Deployment Plan window is displayed.

  3. Edit the following details of the plan:

    • Description – Provide a description of the plan.

    • Plan Name – By default, the plan name is Copy of <plan name>. For example, Copy of Firmware Update. You can modify the name.

    • Failure Policy – Select whether the plan execution is to stop at failure or complete as much as possible.

  4. You can configure a step of the plan by setting or changing the associated profile, or by creating a new profile.

  5. You can edit the plan by replicating the steps and associate targets, depending on the type of plan selected.

  6. Click Save the new plan. A new plan is saved with the version v1.

Deploy a Plan

When you deploy a plan, you select the target assets against which the plan is executed. After you select the targets, you have the option to temporarily override the profile configuration for specific assets before you deploy the plan.

Many actions use deployment plans. See the How To tab in the documentation library at http://www.oracle.com/pls/topic/lookup?ctx=oc121&id=howto for a list of end-to-end examples that use profiles and plans.

Delete a Deployment Plan

You can delete a deployment plan or only a version of the plan. When the selected deployment plan is not referenced by any other plans, you can confirm deleting the plan or its version. When the plan is used in other plans, the Delete Deployment Plan option is not be enabled.

To Delete a Deployment Plan

  1. Select Plan Management from the Navigation pane.

  2. You can use either of the way to select Delete Deployment Plan option:

    • Method 1 – Select the deployment type from the tree. The plans of that type are listed in the center pane. Select a plan from the list. The Delete Deployment Plan and Delete Version icon is enabled. Click Delete Deployment Plan or Delete Version icon accordingly.

    • Method 2 – Expand the selected deployment type and select a plan from the list. The plan details are displayed. Select Delete Deployment Plan or Delete Version from the Actions pane. The Delete Plan window is displayed.

  3. Click Delete to confirm the delete action.

Location of Profiles and Plans in the User Interface

Table 8-2 Location of Profile and Plan Information in the UI

Object Location

Operational Plans

Expand the Plan Management section of the Navigation pane, then scroll down to Operational Plans.

Operational Profiles

Expand the Plan Management section of the Navigation pane, then scroll down to Operational Plans. Operational Profiles are in the Operational Plans section. Click Operational Profiles for a list of available profiles.

Deployment Plans

Expand the Plan Management section of the Navigation pane, then scroll down to Deployment Plans. Click Deployment Plans for a list of existing plans. To locate a specific plan, expand the folder for the plan you want, such as Configure RAID.

Profiles

Expand the Plan Management section of the Navigation pane, then scroll down to Profiles and Policies. Click Profiles and Policies for a list of existing profiles. Expand the folder for the type of profile you want, such as RAID Controller.


Related Resources for Plan Management

For profile and plan details, and how to use individual profiles and plans, go to one of the following resources.