Table of Contents

Example of creating a service template

  1. Right-click a view in the Surveyor and choose New > Service template.

  2. In the General tab, enter the name of the service template under Template name, and optionally add a description.

  3. Select the Child elements tab, and add a child element:

    1. Click Add child element.

    2. In Title, enter the name of the child element (example: "MsElement").

    3. Click Edit to open the Edit child element dialog box.

    4. Select Templated element.

    5. Select Allow element to be reused by multiple services.

    6. Select the protocol (example: "Microsoft Platform") and the protocol version (example: "Production").

    7. Click OK.

  4. Select the Input data tab, and add input data:

    1. Click Add input data.

    2. Specify a Name and a Title (example: "Model").

    3. Set Type to Fixed Value.

    4. In Details, open the placeholder selection box, and select Child elements > [ElementTitle] (example: "MsElement") > Parameter.

    5. In the Select parameter dialog box, open the Parameter selection box, select the parameter (example: "Model") from the list, and click OK.

  5. Still in the Input Data tab, add input data again:

    1. Click Add Input Data.

    2. Specify a Name and a Title (example: "Process").

    3. Set Type to Table Row Index.

    4. Click Edit.

    5. In the Select Table Parameter dialog box, specify the Child Element (example: "MsElement"), specify the Parameter (example: "Task Manager"), specify the Filter Mask (example: "SL*"), and click OK.

  6. Select the Child elements tab, and edit the child element you have created earlier:

    1. Click Edit to open the Edit child element dialog box.

    2. In the Included parameters section, select Some parameters, and click Select parameters.

    3. Select the parameter you want, e.g. "CPU", open the placeholder selection box, and select Input data > Process.

    4. Select a next parameter, e.g. "Memory Usage", open the placeholder selection box, and select Input data > Process.

    5. Click Close to exit the Select parameters dialog box.

    6. Click OK to exit the Edit child element dialog box.

  7. Select the Generated service tab.

    1. Open the placeholder selection box next to Generated service name, and select Input data > Model.

    2. Open the placeholder selection box next to Generated service name, and select Input data > Process.

    3. Enter an underscore ("_") between [data:Model] and [data:Process].

  8. If you do not want SLAs to be created when the service template is applied, select the Generated SLA tab, and clear the Create SLA option.

  9. Click Save And Close.

Note

For an example of how to apply this service template, see Example of applying a service template.