chtmpl

Purpose

Changes the attributes of a template.

Syntax and Description

chtmpl -G diskgroup { [--striping {coarse|fine}]
     [--redundancy {high|mirror|unprotected} ] [--primary {hot|cold}] 
     [--secondary {hot|cold}]} template

Table 10-63 lists the syntax options for the chtmpl command.


Table 10-63 Options for the chtmpl command

Option Description

-G diskgroup

Name of the disk group.

template

Name of the template to change.

--striping {coarse | fine}

Striping specification, either coarse or fine.

--redundancy { high | mirror | unprotected}

Redundancy specification, either high, mirror, or unprotected.

--primary { hot | cold }

Intelligent Data Placement specification for primary extents, either hot or cold region.

--secondary { hot | cold }

Intelligent Data Placement specification for secondary extents, either hot or cold region.


At least one of the following options is required: --striping, --redundancy, --primary, or --secondary.

For information about updating templates, see "Modifying a Disk Group Template".

Example

The following is an example of the chtmpl command that updates the mytemplate template of the data disk group. The redundancy attribute is set to high and the striping attribute is set to fine.

Example 10-73 Using the ASMCMD chtmpl command

ASMCMD [+] > chtmpl -G data --redundancy high --striping fine mytemplate