Creating Virtual Volumes and Logical Disks Using a TemplateTo create a virtual volume and its underlying LDs using a template, issue thecreatevv-templcommand, where:•is the name of the template being applied to the creation of the volumeand LDs.•is the user-designated name of the virtual volume being created.•is the size of the user volume.In addition to using a template to create volumes and LDs, you can also apply any optional argumentavailable for thecreatevvcommand. You can overwrite read/write parameters in the appliedtemplate with new options at the time of creation. However, read-only parameters in the templatecannot be overwritten. For additional information, see theHP 3PAR Command Line InterfaceReference.Creating a Common Provisioning Group Using a TemplateTo create a CPG using a template, issue thecreatecpg-templcommand, where:•is the name of the template being applied to the creation of the CPG.•is the user-designated name of the CPG being created.In addition to applying a template to the creation of the CPG, you can also apply any optionalargument available for thecreatecpgcommand. Read/write parameters in the applied templatecan be overwritten with new options at the time of creation. However, read-only parameters in thetemplate cannot be overwritten. See theHP 3PAR Command Line Interface Referencefor additionalinformation.Modifying TemplatesYou can modify a template at any time by adding, replacing, or removing template parameters,regardless of whether the template has been applied to create LDs, virtual volumes, or CPGs. Whenyou edit a template, no changes are made to objects you have created with that template.Viewing Template ParametersBefore modifying a template it may be helpful to view the template’s existing parameters:•To view a template’s current parameters, issue theshowtemplatecommand.If name of the template you wish to modify is unknown, you can, alternately, filter and displaytemplates by object type.•To view templates by object type, issue theshowtemplate-tcommand, wherecan beVV(virtual volume),LD(LD), orCPG(common provisioning group).Adding and Replacing Template ParametersTo add parameters to an existing template or replace parameters in an existing template, issuethesettemplatecommand, where:•includes the parameter and, if applicable, the parameter’s value that is beingadded or replaced in the template. For a descriptive list of valid options that can be appliedto your template, see thecreatetemplatecommand in theHP 3PAR Command Line InterfaceReference.•is the name of the template being modified.Modifying Templates103