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

9.3
Applying Templates
InForm OS Version 2.2.4 3PAR InForm OS 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
X To create a virtual volume and its underlying logical disks using a template, issue the
createaldvv -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
createaldvv 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
X 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.