2.7.1 Create a Cluster Template

This topic describes how to create a user-defined cluster template.

A cluster template is a named collection of file storage attribute settings defined at the cluster level. By using cluster templates, you can manage file storage attributes automatically and consistently across the Exascale cluster.

Exascale is automatically preconfigured with cluster templates for each system-defined file type; for example, DATAFILE, ONLINELOG, CONTROLFILE, and so on. Therefore, you can only create new user templates at the cluster level.

To create a user-defined cluster template, use the ESCLI mktemplate command with the --cluster and --name options and specify the file storage attribute settings:

  • --media-type: Specifies the physical media type used to store the file. Exascale uses this attribute to place the file in a storage pool that utilizes the specified media type. Possible values are:

    • HC: Identifies high capacity storage, using hard disk drives (HDDs) on high-performance Exadata storage servers.

    • EF: Identifies extreme flash storage, using low-latency, high-throughput flash devices.

  • --redundancy: Specifies the number of data copies that are maintained. Currently, the only permitted value is:

    • high: Indicates three mirrored copies of the file data.

  • --content-type: Specifies the type of content in the file. Exascale internally uses this attribute to place file extents on physically separate devices in a manner that maximizes availability in the event of a failure. Possible values are:

    • DATA: Principally associated with user data.

    • RECO: Primarily for data used in backup and recovery operations.

The command syntax is:

@> mktemplate --cluster --name template-name --content-type content-type --media-type media-type --redundancy redundancy