Creating Virtual Volumes And Logical Disks Using A Template; Creating A Common Provisioning Group Using A Template; Modifying Templates; Viewing Template Parameters - HP 3PAR StoreServ 7200 2-node Administrator's Manual

Hp 3par command line interface administrator's manual: hp 3par os 3.1.2 (qr482-96525, september 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Creating Virtual Volumes and Logical Disks Using a Template

To create a virtual volume and its underlying LDs 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 LDs.
<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 LDs, 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. For additional information, see the HP 3PAR Command Line Interface
Reference.

Creating a Common Provisioning Group Using a Template

To create a CPG 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. See the HP 3PAR Command Line Interface Reference for additional
information.

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 LDs, virtual volumes, or CPGs. When
you edit a template, no changes are made to objects you have created with that template.

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, filter and display
templates by object type.
To view templates by object type, issue the showtemplate -t <type> command, where
<type> can be VV (virtual volume), LD (LD), 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 Command Line Interface
Reference.
<template_name> is the name of the template being modified.
Modifying Templates 103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents