8 Create Plans and Profiles

Overview of plans and profiles in Oracle Enterprise Manager Ops Center.

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

Introduction to Plans and Profiles

Overview of the purpose and definition of plans and profiles in Oracle Enterprise Manager Ops Center.

Oracle Enterprise Manager Ops Center uses a combination of plans and profiles to reduce complexity and increase consistency when you perform standard management and operational activities, such as configuring hardware, installing servers, updating operating systems, and creating virtual systems.

A plan defines the actions and the targets. A profile defines a task, how the task is performed and enables you to define what is allowed, and not allowed, to be installed on a system. Together, plans and profiles enable you to create a reusable set of procedures to perform tasks, such as configuring hardware, upgrading firmware, installing and patching operating systems, and creating virtual systems and guests.

You create, manage, and access all plans and profiles in the Plan Management section of the user interface. Plan Management contains three basic components:

  • Profiles and Policies: Profiles define the configuration of components for a specific type of system and task, such as the naming schema and configuration options to use when creating a zone or logical domain. Update policies define the level of interaction you want when applying patches and packages.

  • Deployment Plans: Perform standard management activities. A Deployment Plan provides a framework of steps that you need to complete one or more tasks. You customize the plan to include specific profiles for the steps. Complex deployment plans enable you to add operational plans as a step. When you apply a Deployment Plan, you select one or more targets, or group of targets, on which to complete the tasks.

  • Operational Profiles and Plans: Perform one or more operational activities, such as scripts and utilities to fix common problems, monitoring rule configurations and thresholds, and a knowledge base that you can create based on the incidents that occur in your environment.

Roles for Plans and Profiles

List of required roles for plan management in Oracle Enterprise Manager Ops Center.

Table -5 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 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

Apply a plan

The plan determines the role required.

Actions Available for Plans and Profiles

List of available operations in Oracle Enterprise Manager Ops Center.

Oracle Enterprise Manager Ops Center uses plans and profiles to perform many tasks in your data center.

The following types of plans and profiles are available:

  • Deployment plans and Profiles: Several types, or categories, of profiles are available. Deployment plans and profiles perform a variety of tasks, including discovering and adding assets to the UI, deploying or updating operating systems and firmware, creating zones, and creating logical domains.

  • Operational Plans and Profiles: Operational profiles are a specific type of profile that you can create to store a user-defined script. The associated operational plan deploys the script to selected targets.

You can create, copy, edit, and delete profiles and create, copy, edit, deploy, and delete plans. In addition to deploying operational plans on their own, you can add an operational plan as a step in a complex deployment plan. See Operational Plans and Profiles, Profiles and Policies, and Overview of Deployment Plans for more information about the actions you can perform.

Location of Plan and Profile Information in the User Interface

Lists the navigation instructions to locate plans and profiles in Oracle Enterprise Manager Ops Center.

Profiles, plans, and templates are available in the Plan Management section of the UI.

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

Object Location

Deployment Plans

Expand the Plan Management section of the Navigation pane. 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 Server Hardware.

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.

Update Policies

Expand the Plan Management section of the Navigation pane, then scroll down to Profiles and Policies. Click Profiles and Policies, then scroll to the bottom of the section to view the OS Update Policies. Click Update Policies to list the existing OS Update Policies in the center pane.

Update Profiles

Expand the Plan Management section of the Navigation pane, then scroll down to Profiles and Policies. Click Profiles and Policies, then scroll to the bottom of the section to view the OS Update Profiles. Click Update Profiles to list all default and user-defined OS Update Profiles in the center pane.

Operational Plans

Expand the Plan Management section of the Navigation pane, then scroll down to Operational Plans. Expand Operational Plans for a list of user-defined operational plans.

Operational Profiles

Expand the Plan Management section of the Navigation pane, then scroll down to Operational Plans. Expand Operational Plans, then click Operational Profiles for a list of user-defined operational profiles.

Monitoring Policies

Expand the Plan Management section of the Navigation pane, then scroll down to Operational Plans. Expand Operational Plans, then expand Monitoring Policies to display a list of system-defined and user defined monitoring policies. System defined policies all begin with OC.

About Version Control

Describes in Oracle Enterprise Manager Ops Center.

Profile and plan 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.

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.

Operational Plans and Profiles

Overview of actions done by operational plans in Oracle Enterprise Manager Ops Center.

An Operational Profile performs one or more routine tasks. You must have an Operational Plan to execute an Operational Profile.

About Operational Profiles

Describes profiles that perform actions on assets in Oracle Enterprise Manager Ops Center.

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. You can use an existing profile or create a profile when you create the plan. To create the profile, either download a shell script that is on the Enterprise Controller (EC Shell script), or specify the shell script (Remote Shell script). The EC Shell and Remote Shell differ in their location (on the Enterprise Controller or on the remote Agent) and credentials. 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.

Scripts and Variables for an Operational Profile

List of requirements for operational profiles in Oracle Enterprise Manager Ops Center.

The profile consists of a single shell script and can include asset attributes as environmental variables. For each profile, choose one of the following types of shell scripts:

  • EC Shell: The script runs only on the Enterprise Controller and is executed with the logged-in user's credentials.

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

Note:

The uploaded shell script file cannot exceed 2 GB.

A list of supported asset attributes is available in About Asset Attributes.

About Operational Plans

Describes plans that perform actions on assets in Oracle Enterprise Manager Ops Center.

An Operational Plan defines how an Operational Profile is deployed. An operational plan defines the targets and failure policy for an operational profile. By default, creating a profile also creates an Operational Plan. You 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.

Creating an Operational Profile and Plan

Procedure for creating an Operational Plan and operational profile in Oracle Enterprise Manager Ops Center.

Perform the following steps to create an operational profile and plan:

  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.

  4. Select a subtype from the list to identify the type of target for this profile. Click Next.

  5. Specify the type of script, either EC Shell if the script is on the Enterprise Controller’s host or Remote Shell.

  6. If the script is an EC Shell script:

    1. Click Choose File , navigate to its location, and select it.

    2. Navigate to the file’s location and select it.

    3. Click Load File.

    If the script is a Remote Shell script or is not in an accessible location, create the script in the Script field. Click the View System Variables button to see a list of product-specific variables for specifying a target name, target type, a user-friendly name, a Simple Authentication and Security Layer file, and to return a job ID.

  7. Specify the number of minutes or seconds that the script can run. The default is 60 minutes. Click Next.

  8. In the Reboot Policy field, select a policy from the drop-down list to direct the action of the script when the system reboots: Fail on Reboot, Success on Reboot, or Restart on Reboot.

  9. (Optional) To add environment variables to either type of script, click the Add icon, then specify the variable’s name, value, whether input is required at execution and a hint for that input.

  10. Click the View Script button to review. Click Next.

  11. Review the entire profile, then click Finish.

About Editing an Operational Profile or Plan

Describes in Oracle Enterprise Manager Ops Center.

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 “About Version Control to learn 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. You cannot rename an Operational plan; you must copy or create a Operational Profile and Plan.

Copying an Operational Profile

Procedure for making a copy of an existing operational profile in Oracle Enterprise Manager Ops Center.

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.

Copying an Operational Plan

Procedure for making a copy of an existing Operational Plan in Oracle Enterprise Manager Ops Center.

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. Alternatively, 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.

About Deleting an Operational Profile or Plan

Describes requirements for deleting versions of a profile or plan in Oracle Enterprise Manager Ops Center.

You can delete a version of a profile, or you can delete all versions of the profile and the associated plan. If a plan has more than one version and you delete a version, the previous version becomes the default plan.

Note:

Deleting a version of a plan or profile might affect the Incident Knowledge Base or deployment plans that rely on that version . Before deleting a version, verify that the version is not being used.

You can delete only a version of an operational plan that you created.

Profiles and Policies

Overview of profiles and policies in Oracle Enterprise Manager Ops Center.

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

About Profiles

Describes how profiles are used in Oracle Enterprise Manager Ops Center.

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

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.

Profiles are listed in the Plan Management section of the UI and are organized by category. For specific information about the profiles, see the following:

  • For Discovery: See “About Discovery Assets”.

  • For Service Processor, RAID controllers, firmware provisioning and updating, Dynamic System Domain, OS provisioning, configuration, and updating, Boot Environments, and BIOS Configuration, see Oracle Enterprise Manager Ops Center Operations Reference.

  • For Logical Domain, Oracle Solaris Zones, Virtual Machines, see Oracle Enterprise Manager Ops Center Virtualization Reference.

Viewing Profile Details and Associated Plans

Procedure for displaying the contents of a profile and the plans it supports in Oracle Enterprise Manager Ops Center.

Details for each profile, including the associated plans and version number are displayed in the center pane.

  1. Expand Plan Management in the Navigation pane.
  2. Select the profile from the list of Profiles and Policies. Finish.

    The following tabs are displayed in the center pane:

  3. Click each tab to review the details of the profile.

Details Tab

Lists the information on a profile’s Details tab in Oracle Enterprise Manager Ops Center.

The Details tab displays the profile configuration details for the current version. As shown in Figure 8-1, the details include Name, Description, Target Type, Subtype, Version, and date and time last modified. The Profile Details and File Systems sections include the wizard selections and settings for this version of the profile.

Referrers Tab

Describes the information on the Referrers tab for profiles in Oracle Enterprise Manager Ops Center.

The Referrers tab displays all deployment plans that use the profile and the profile version number used. For example, in Figure 8-2 two deployment plans use the profile. The first deployment plan listed uses version 3 of the profile and the second deployment plan listed uses version 1 of the plan. This occurred because the profile was edited after the profile was part of the S11.1 SPARC Large deployment plan. Because the profile was part of the plan, the plan automatically updated to use the latest version of the profile. When the S11.1 SPARC Large - Data center A deployment plan was created, three versions of the profile existed and the user had the option of which version to associate with the plan. In this case, version 1 of the profile was selected to be part of the plan.

Figure 8-2 Profile Referrers

Description of Figure 8-2 follows
Description of "Figure 8-2 Profile Referrers"

Version History Tab

Description of Version History tab for profiles in Oracle Enterprise Manager Ops Center.

The Version History tab shows the number of versions, the profile description, the target type, and when the version changed. Click the View icon to display the profile details for that version. Figure 8-3 shows a Solaris 11 OS Provisioning profile with three versions. By clicking the view icon in the upper left corner, you can display the details for the selected profile.

Figure 8-3 Profile Version History

Description of Figure 8-3 follows
Description of "Figure 8-3 Profile Version History"

Creating a Profile

Procedure for creating a profile in Oracle Enterprise Manager Ops Center.

When you import images into the software library, a default OS profile is created for the image. You can use the default profile, copy the default profile to create your own profile, or create a new profile. To preserve the default profile configuration, make a copy the profile and specify a name and description that describes the profile and any unique properties for the profile.

The prerequisites and steps to create a profile differ, depending on the type of profile you want to create. The following steps are an overview of how to launch the Create Profile Wizard:

  1. Expand Plan Management in the Navigation pane.
  2. Expand the Profiles and Policies, then select a profile type.
  3. Click Create Profile.
  4. Complete the wizard, then click Finish.

Copying a Profile

Procedure for making a copy of an existing profile in Oracle Enterprise Manager Ops Center

Copy a profile to re-use a standard configuration with some unique modifications. For example, you might want to copy a default operating system profile to create a user-defined profile and retain the default profile as a template.

The following steps are an overview of how to launch the Copy Profile Wizard:

  1. Expand Plan Management in the Navigation pane.
  2. Expand the Profiles and Policies navigation tree, then select a profile.
  3. Click Copy Profile.

    The Create Profile - OS Provisioning Wizard is displayed.

  4. Edit the name and description of the profile.
  5. Edit any parameters that you want to change.
  6. Click Finish.

About Editing a Profile

Describes editing a profile in Oracle Enterprise Manager Ops Center.

Editing a profile enables you to create a new version or a new profile. Editing the name or description of the profile creates a new profile. Editing values other than the name or description creates 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. Before editing a profile or plan, see “About Version Control” to learn how versions are maintained.

Editing a Profile

Procedure for changing a profile in Oracle Enterprise Manager Ops Center.

Perform the following steps to edit a profile:

  1. Expand Plan Management in the Navigation pane.
  2. Expand the Profiles and Policies navigation tree, then select a profile.
  3. Click Edit Profile.
  4. Complete the changes, then click Finish.

About Policies

Describes policies for upating an operating system in Oracle Enterprise Manager Ops Center.

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 patches or packages that are not certified.

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.

For more information about update policies, see “Creating Update Policies” in the Oracle Enterprise Manager Ops Center Operate Reference.

Overview of Deployment Plans

Describes the role and purpose of deployment plans in Oracle Enterprise Manager Ops Center.

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.

Deployment plans are based on a set of templates. Some templates are designed for simple tasks and other, more complex plans, are designed to perform a series of tasks. 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.

Use the template to define a task and the associated resources such as images and network addresses to complete the task. You can use the templates and customized profiles to create plans for your data center. 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. In some cases, you can build complex plans by combining existing plans. For example, you might add an operational profile and plan to the end of a deployment plan.

Several plans 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 each plan.

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 before it 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.

About Simple Deployment Plans

Describes deployment plans that perform one operation in Oracle Enterprise Manager Ops Center.

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. In most cases, when you create a profile, the default action also creates a simple deployment plan.

Templates for Simple Deployment Plans

List of templates for deployment plans in Oracle Enterprise Manager Ops Center.

The following plans are simple deployment plans:

  • Configure RAID: Use this plan to configure the RAID controller on a server. See “Configuring a RAID Controller” for information and see Configure RAID Controllers for an example of how to use the profile and plan.

  • Configure Service Processor: Use this plan to configure the service processor on a chassis. See “Configuring the Service Processor” for information and some procedures and see Discover and Manage Hardware for an example of how to use manage existing service processors.

  • Update Firmware: Use this plan to update firmware. See “Firmware Provisioning” for information and some procedures and see Keep Your Firmware Up-to-Date in the library at for an example of how to use the profile and plan.

  • Update BIOS Configuration: Use this plan to update the BIOS configuration of servers. See “Configuring a BIOS Configuration Profile and Plan” in for instructions in using the profile and plan.

  • Create Dynamic System Domain: Use this plan to create dynamic system domains. See “Configuring a Dynamic System Domain” for information about this profile and plan.

  • Update Storage Appliances: Use this plan to update storage appliance software. See “Provisioning and Updating an Oracle ZFS Storage Appliance” for instructions in using the profile and plan.

  • Create Oracle Solaris Zones: Use this plan to create zones. See “Creating a Zone Profile” and “Creating and Deploying Zone Plans” for information and procedures. See Create Oracle Solaris 11 Zones and Create Oracle Solaris 10 Zones for examples of the profiles and plans.

  • Create Logical Domains: Use this plan to create logical domains. See “Creating a Guest Domain Profile” for information and procedures. See Configure and Install Guest Domains for an example of how to use the profile and plan.

About Multi-Step Deployment Plans

Describes deployment plans in Oracle Enterprise Manager Ops Center.

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 steps in a multi-step plan are defined in the template. You cannot skip steps or add steps.

Templates for Multi-Step Deployment Plans

List of templates for deployment plans in Oracle Enterprise Manager Ops Center.

The following plans are multi-step deployment plans:

  • Install Server: Use this plan to provision the server and update the OS.

  • Software Deployment and Update: Use this plan to apply script-based update profiles. See Updating an Operating System From a Deployment Plan in Oracle Enterprise Manager Operate Reference for information on how to use the profile and plan.

  • Provision OS: Use this plan to provision and configure an operating system. See “Operating System Provisioning” in Oracle Enterprise Manager Operation Reference for information about how to use the profiles and plan. See Provision Oracle Solaris 11 Operating Systems and Provision Oracle Solaris 10 Operating Systems for examples.

  • Update Solaris 11 OS: Use this plan to update Oracle Solaris 11 operating systems. See Updating an Operating System From a Deployment Plan in Oracle Enterprise Manager Operations Reference for information about how to use the profile and plan. See Update Your Oracle Solaris 11 Operating System for an example.

  • Create Boot Environment: Use this plan to create Oracle Solaris boot environments. See Overview of Oracle Solaris 11 Boot Environments and Overview of Oracle Solaris 10 Boot Environment in Oracle Enterprise Manager Operations Reference for information about how to use the profile and plan. See Create and Administer a Boot Environment for Oracle Solaris 11 and Create and Administer a Boot Environment for Oracle Solaris 10 for examples.

  • Update Firmware and Install Oracle VM Server for SPARC: Use this plan to update firmware and then install Oracle VM Server for SPARC on the system. See Overview of Oracle VM Server for SPARC Installation in Oracle Enterprise Manager Virtualization Reference for information about to use the profile and plan.

About Complex Deployment Plans

Describes complex deployment plans in Oracle Enterprise Manager Ops Center.

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.

See Use Complex Plans How To document for an example.

Templates for Complex Deployment Plans

List of templates for deployment plans in Oracle Enterprise Manager Ops Center.

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.

Managing Deployment Plans

Overview of actions performed by deployment plans in Oracle Enterprise Manager Ops Center.

Copying a Deployment Plan

Procedure for making a copy of an existing deployment plan in Oracle Enterprise Manager Ops Center

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

Perform the following steps to copy a plan:

  1. Select Plan Management from the Navigation pane.
  2. Use one of the following methods to select Copy Deployment Plan:
    • Method 1: Select the deployment type from the tree and select a plan from the list to enable the Copy Deployment Plan icon. Click the Copy Deployment Plan icon.

    • Method 2: Expand the selected deployment type and select a plan from the list. Select Copy Deployment Plan from the Actions pane.

  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. Configure a step of the plan by setting or changing the associated profile or by creating a new profile.
  5. 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.

Editing a Deployment Plan

Procedure for changing a deployment plan in Oracle Enterprise Manager Ops Center.

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.

Before editing a plan, see “About Version Control to learn how versions are maintained.

Perform the following steps to edit a plan:

  1. Select Plan Management from the Navigation pane.
  2. Use one of the following methods to select the Edit Deployment Plan option:
    • Method 1: Select the deployment type from the tree and select a plan from the list to enable the icon. Click the Edit Deployment Plan icon.

    • Method 2: Expand the selected deployment type and select a plan from the list. The plan details appear. Select Edit Deployment Plan from the Actions pane.

  3. Edit the following details of the plan:
    • Plan Name: Edit the name to create a new plan. You create a new plan when you modify the plan name.

    • 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. Configure a step of the plan by setting or changing the associated profile, or by creating a new profile.
  5. (Optional) Edit the plan by replicating the steps and associate targets depending on the type of plan selected.
  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.

Deleting a Deployment Plan

Procedure for removing a deployment plan from Oracle Enterprise Manager Ops Center.

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 enabled.

Perform the following steps to delete a plan:

  1. Select Plan Management from the Navigation pane.
  2. Use one of the following methods to select the 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.

    • Method 2: Expand the selected deployment type and select a plan from the list. Select Delete Deployment Plan or Delete Version from the Actions pane.

  3. Click Delete to confirm the delete action.

Deleting Plans and Profiles Using the Command Line Interface

Procedure for using CLI to delete one or more profiles or plans of any type.

Deleting a Single Profile or Plan

Procedure for using CLI to delete an individual profile or plan of any type.

Use the CLI’s plan mode to view a list of plans and delete one. You can also delete the profile for the plan.
  1. Invoke the Oracle Enterprise Manager’s command line interface.
    The command prompt shows the Enterprise Controller’s host name:
    >./oc
    hostname>
    
  2. Enter plan mode.
    hostname>plan
    hostname/plan>
    
  3. View the list of plans and identify the plan to delete by its ID number.
    hostname/plan>list
    Name              |      ID     |   Description
    osp_planA         |  1111       | alpha
    osp_planB         |  1234       | beta
    fw_planA          |  1728       | alpha
    complexD          |  0023       | delta
    hostname/plan>
    
  4. Issue the command to delete a plan, in this example, the plan with an ID of 1728:
    hostname/plan>delete 1728
    Plan with Id 1728 deleted successfully. (Job Id <id>)
    

    To delete the profile related to the plan, issue the following command:

    hostname/plan>delete -p 1728
    Plan with Id 1728 deleted successfully. (Job Id <id>)
    

Deleting Multiple Profiles and Plans

Procedure for using CLI to delete one or more profiles or plans of any type.

Use the CLI’s plan mode to view a list of plans and delete several of them. You can also delete the profile for the plan.
  1. Invoke the Oracle Enterprise Manager’s command line interface.
    The command prompt shows the Enterprise Controller’s host name:
    >./oc
    hostname>
    
  2. Enter plan mode.
    hostname>plan
    hostname/plan>
    
  3. View the list of plans and identify the plan to delete by its ID number.
    hostname/plan>list
    Name              |      ID     |   Description
    osp_planA         |  1211       | alpha
    osp_planB         |  1234       | beta
    fw_planA          |  1728       | alpha
    complexD          |  0023       | delta
    hostname/plan>
    
  4. Issue the command to delete a plan, in this example, the plans for OS provisioning:
    hostname/plan>delete 12*
    Plan with Id 12* deleted successfully. (Job Id <id>)
    

    To delete the profile related to the plan, issue the following command:

    hostname/plan>delete -p 12*
    Plan with Id 12* deleted successfully. (Job Id <id>)
    

Using a Command File to Delete Profiles and Plans

Procedure for using a command file to delete profiles or plans of any type.

Use plan mode in a command file to delete plans and profiles routinely or to delete large numbers of plans and profiles.
  1. Create a file containing the commands to delete the plans and/or profiles.
  2. View the list of plans and identify the plans to delete.
  3. For each plan or for each type of plan, edit the command file to include delete subcommand. The following example shows the delete subcommand for Oracle Solaris:
    /opt/SUNWoccli/bin/oc -e "connect;plan;delete -p 1231"
    /opt/SUNWoccli/bin/oc -e "connect;plan;delete -p 1232"
    /opt/SUNWoccli/bin/oc -e "connect;plan;delete -p 1234"
    <lines omitted>
    
  4. Invoke the Oracle Enterprise Manager’s command line interface.
    The command prompt shows the Enterprise Controller’s host name:
    >./oc -c <filename>
    hostname>
    
(Optional) Enter the result of the procedure here.

About Applying a Deployment Plan

Describes deployment plans in Oracle Enterprise Manager Ops Center.

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 documentation in the Deploy How To library and the Operate How To library for workflows and end-to-end examples.

Related Resources for Plans and Profiles

List of Oracle Enterprise Manager Ops Center documents with additional information.

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

For end-to-end examples, see the workflows and how to documentation in the library. For deployment tasks, go to http://docs.oracle.com/cd/E59957_01/nav/deploy.htm and for operate tasks go to http://docs.oracle.com/cd/E59957_01/nav/operate.htm