Templates

Templates are predefined sets of values one can reuse at will in order to avoid manually setting parameters every time a new item is declared, ensuring identical deployments of your components over time.

  • Root disk template: set of values for your root disks

  • Storage template: set of predefined storage values that can be recalled when declaring additional storage

  • Component template: set of values and variables for a given component and feature that can be recalled when declaring a component

Create a template

To create a template:

  • Navigate to the Configuration menu -> Templates

  • Select the type of template by clicking the appropriate tab (root disk, storage, component)

Root disk template

Storage template

Component template

  • Name your template (Ex: Oracle_Standalone, Oracle_Dataguard, PostGre_HA, ...)

  • Select your component type (Ex: Oracle, PostgreSQL, OS storage...)

  • Select subcomponent type (Ex: Standalone, HA...)

  • Fill out the form with the parameters you need (Ex: port number, instance name etc...)

  • Review the predefined values and adapt them to your needs.

  • Optionally, navigate to the "Advanced Variables" tab, review the values and edit them if necessary.

  • Click "Save"

By default, YaK comes with a set of predefined values that can be edited as per your requirements.

Edit a template

Once created, templates can be edited. To do so, select the template in the list, click the "Edit" button and change the values where applicable.

If the template has already been used for previous deployments, new deployments will be made with the new values defined after modifying the template. This needs to be taken into account if you need to deploy components that should be identical over time. Consider creating new templates rather than editing previously used ones if reusability of the templates is important.

Delete template

To delete a template, select the template in the list, click the "Actions" button, select "Delete" then confirm the deletion from the pop-up box.

Last updated