3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)
9.3
Applying Templates
InForm OS Version 2.3.1 3PAR InForm CLI Administrator’s Manual
9.3 Applying Templates
Once you have created a template, you can apply that template to create logical disks, virtual
volumes, or common provisioning groups (CPGs).
9.3.1 Creating Virtual Volumes and Logical Disks Using a Template
To create a virtual volume and its underlying logical disks using a template, issue the
createvv -templ <template_name> <VV_name> <size> command, where:
◆ <template_name> is the name of the template being applied to the creation of the
volume and logical disks.
◆ <VV_name> is the user-designated name of the virtual volume being created.
◆ <size> is the size of the user volume.
In addition to using a template to create volumes and logical disks, you can also apply any
optional argument available for the
createvv command. You can overwrite read/write
parameters in the applied template with new options at the time of creation. However,
read-only parameters in the template cannot be overwritten. Refer to the InForm OS
Command Line Interface Reference for additional information.
9.3.2 Creating a Common Provisioning Group Using a Template
To create a common provisioning group using a template, issue the createcpg -templ
<template_name> <CPG_name>
command, where:
◆ <template_name> is the name of the template being applied to the creation of the
CPG.
◆ <CPG_name> 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
optional argument available for the
createcpg command. Read/write parameters in the
applied template can be overwritten with new options at the time of creation. However,
read-only parameters in the template cannot be overwritten. Refer to the InForm OS
Command Line Interface Reference for additional information.