3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

9.4
Modifying Templates
3PAR InForm OS CLI Administrator’s Manual InForm OS Version 2.2.4
9.4 Modifying Templates
You can modify a template at any time by adding, replacing, or removing template
parameters, regardless of whether the template has been applied to create logical disks,
virtual volumes, or common provisioning groups. When you edit a template, no changes are
made to objects you have created with that template.
9.4.1 Viewing Template Parameters
Before modifying a template it may be helpful to view the template’s existing parameters.
X To view a template’s current parameters, issue the showtemplate <template_name>
command.
If the name of the template you wish to modify is unknown, you can alternately display
templates in the system filtered by object type.
X To view templates by object type, issue the showtemplate -t <type> command, where
<type> can be VV (Virtual Volume), LD (Logical Disk), or CPG (Common Provisioning
Group).
9.4.2 Adding and Replacing Template Parameters
X To add parameters to an existing template or replace parameters in an existing template,
issue the
settemplate <option> <template_name> command, where:
<option> includes the parameter and, if applicable, the parameter’s value that is
being added or replaced in the template. For a descriptive list of valid options that can
be applied to your template, see the
createtemplate command in the InForm OS
Command Line Interface Reference.
<template_name> is the name of the template being modified.
9.4.3 Removing Template Parameters
X To remove parameters in an existing template, issue the settemplate -remove
<option> <template_name>
command, where:
<option> is the parameter being removed from the template. The parameters are the
options that you specified during the creation of the template. It is not necessary to
specify the parameter’s value during removal.