Manage Templates Page

Use the Manage Templates page to:

  • Add new templates to a disk group or drop templates

  • Set redundancy (mirroring) and striping attributes for the files created in an ASM disk group

When a file is created, redundancy and striping attributes are set for that file based on the system template, which is the default template for the file type.

When a disk group is created, ASM creates a set of default templates for that disk group. The set consists of one template for each file type (data file, control file, redo log file, and so on) supported by ASM. Default template settings depend on the disk group type. For example, the default template for datafiles for a normal redundancy disk group sets 2-way mirroring, while the corresponding default template in a high redundancy disk group sets 3-way mirroring. The table below lists the default templates and the attributes that they apply to matching files. As the table shows, the initial redundancy value of each default template depends on the type of disk group that the template belongs to.

The following table shows the elements defined for ASM templates, and their description:

Element Description
Name Name of the ASM template. For e.g., diagnostic_dest
Redundancy Mirroring attribute of templates applies only to normal redundancy disk groups, and is ignored for high-redundancy disk groups (where every file is always 3-way mirrored) and external redundancy disk groups (where no files are mirrored by ASM). Nevertheless, each type of disk group gets a full set of templates, and the redundancy value in each template is always set to the proper default for the disk group type.

Permitted redundancy values for ASM templates are the following:

  • MIRRORED

  • HIGH

  • UNPROTECTED

If no redundancy attribute is specified, the default value is set to MIRROR for a normal redundancy disk group, HIGH for a high redundancy disk group, and UNPROTECTED for an external redundancy disk group. There are no mirror zones for diskgroups of external redundancy.

Striped The striping attribute of templates applies to all disk group types (normal redundancy, high redundancy, and external redundancy). Permitted values for the striping attribute of ASM templates are the following:
  • FINE. Striping in 128KB chunks.

  • COARSE. Striping in 1MB chunks.

If no striping attribute is specified, the default value is set to COARSE

Primary Extent Zone If the data is frequently accessed, read-only or updated, put the Primary Extent in the hot zone.
Mirror Extent Zone If the data is frequently accessed and is mostly read-only, put the Mirror Extent in the cold zone. If the data is frequently accessed and updated, put the Mirror Extent in the hot zone.

You can right click on the user-defined template to drop it from a disk group. You can only drop templates that are user-defined; you cannot drop the default system templates.

Related Topics

Configuring ASM: Disk Groups Page