Sun N1 Service Provisioning System User's Guide for SAP Plug-In 1.0

ProcedureHow to Generate a Stop Plan for a GDS Resource


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the stop procedure.

  5. Click the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Stopgds-component-namePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in the <executionPlan> element, change the name of the attribute to Stopgds-component-namePlan.

  8. Before the <simpleSteps> element, delete the paramList element containing the shutdownMode and forceStop parameters.

  9. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  10. Delete arguments to stop control, by deleting the <argList> line after <call blockName='stop'>.

  11. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example,

    Before adding the installPath.

    <call blockName='stop'>
         <installedComponent name='gds' versionOp='=' version='1.0' 
              path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    After adding the installPath.

    <call blockName='stop'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  12. Click Check In.

  13. Click Continue to Check In.