SAP Landscape Management 3.0, Enterprise Edition

Parameterizing Values for Provisioning Templates

You parameterize values in provisioning templates to execute provisioning templates multiple times with different values.

Prerequisites

  • You have exported a provisioning template.

    For more information, see Exporting Provisioning Templates.

  • You have identified the variable values that you want to parametrize.
  • You have read and comply with SAP Note 2077756 Information published on SAP site - SAP Landscape Virtualization Management - Supportability Information for System Provisioning Templates.

Procedure

  1. In the provisioning template XML file, add individual placeholder elements inside the placeHolders element as direct children of the root element template.
    <template>
    	<placeHolders>
    		<placeHolder/>
    		...
    	</placeHolders>
    ...
    </template>
  2. Define your individual placeholder in the placeHolder element with the following attributes:
    Attribute Description

    name

    Name of the placeholder which replaces the parametrized values in the template XML file.

    description

    Optional

    The description is used by the person who edits the provisioning template. There is no technical meaning.

    value

    Optional

    Default value which is used if nothing else is specified before provisioning template execution.

    isSecured

    Optional

    Default value is false. This boolean value is used to pass data that will be encrypted with the template password and then replaced.

    <template>
    	<placeHolders>
    		<placeHolder name="PLACEHOLDER-NAME-UPPER" description="uppercase" value="SID"/>
    		<placeHolder name="PLACEHOLDER-NAME-LOWER" description="lowercase" value="sid"/>
    		<placeHolder name="MASTER-PASSWORD" description="master password of the SAP system" isSecured="true"/>
    	</placeHolders>
    </template>
  3. Replace all occurrences of your identified variable values in the XML file with the defined placeholder name.
  4. Save your entries.

Results

You can now execute the provisioning template multiple times with different values. Each time you execute the provisioning template, you are asked to provide the actual values the placeholders will be replaced with.