Sun N1 Service Provisioning System User's Guide for BEA WebLogic 9 Plug-in 1.0

ProcedureHow to Capture a Deployment Plan

You can author your own XML deployment plans to coordinate the deployment of complex enterprise and web applications involving multiple components. You can then include these plans in containers that hold the deployment plan and all the necessary application archive components for your deployment.

This procedure describes how to capture your deployment plans. For information about how to author a deployment plan in XML, see Sun N1 Service Provisioning System 5.2 Plan and Component Developer’s Guide.

Steps
  1. In the Common Tasks section in the browser interface, click WebLogic 9.

  2. Click Create in the Deployment Plans section of the WebLogic 9 Common Tasks page.

  3. Type a name for this component.

  4. (Optional) Type a label for this component.

  5. (Optional) Type a description for this component.

  6. In the Import From Host field, specify the system from which you want to capture the plan.

    You can specify the system in two different ways.

    • Type the name of the system from which you want to capture the plan, then click the Refresh link.

    • Click the Select From List link, then select the system from the Current Found Hosts list in the Select Host From List window.

  7. Navigate through the hierarchy to find the plan to capture.

  8. Select the appropriate options for your plan.

    You can set the following options for your plan.

    • Check in a plan that has not changed since a previous check in.

    • Assign user and group ownership permissions to the plan.

    • Designate the plan as a configuration template. If you check the Configuration Template check box, all the component variables for you plan will be added to the container that holds your plan and all associated components. You can then edit these variables when you deploy your application with this container.

  9. In the Path of the Resource Descriptor File field, type the path to the resource descriptor file for this component.

    A resource descriptor file specifies the owner, group, and permission settings to use for the files and directories that comprise the resource of a component. For more information about resource descriptor files, see Using a Resource Descriptor File in Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide.

  10. Click Check-in Selected Item.

  11. Confirm the information on the check-in page, then click Continue to Check-in.

Next Steps

To use your plan to deploy your application, you must group your plan and the associated application archive components in a Application Archive container. For more information, see How to Group Application Archives and Deployment Plans in a Container.