HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
Viewing Template Parameters
Before modifying a template it may be helpful to view the template’s existing parameters.
• To view a template’s current parameters, issue the showtemplate <template_name>
command.
If name of the template you wish to modify is unknown, you can alternately display templates in
the system filtered by object type.
• 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).
Adding and Replacing Template Parameters
• 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 HP 3PAR InForm
OS Command Line Interface Reference.
◦ <template_name> is the name of the template being modified.
Removing Template Parameters
• 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.
◦ <template_name> is the name of the template being modified.
Removing Templates
Removing a template deletes the template from the system, but does not delete objects created with
that template.
• To remove a template from the system, issue the removetemplate <template_name>
command, where <template_name> is the name of the template being removed.
You can optionally remove templates matching a specific pattern by issuing the
removetemplate -pat <template_name|pattern> command. For details about this
option, refer to the HP 3PAR InForm OS Command Line Interface Reference.
Modifying Templates 109