Veritas Storage Foundation Intelligent Storage Provisioning 5.0 Solutions Guide, HP-UX 11i v3, First Edition, May 2008
23Tiered storage solutions
Setting up tiered storage using ISP volumes
Setting up tiered storage using ISP volumes
To establish a storage tier using ISP volumes in a volume set
1 Use the
vxdiskadm command or the GUI to create the disk group that will be
used to hold the tiered volumes and the volume set to which they will be
added. Add all the disks that are required to this disk group.
2 Define the rules to categorize the disks into storage tiers. This can be done
by disk vendor, array model, or by using the
vxdisk settag command to
apply appropriate tags to the disks. The following example assigns cost tags
to disks from three different arrays:
# vxdisk -g dstdg settag cost=gold emc1_1 emc1_2
# vxdisk -g dstdg settag cost=silver hds1_1 hds1_2
# vxdisk -g dstdg settag cost=bronze jbod1_1 jbod1_2 jbod1_3
3 Use the vxpool command to create a storage pool in the disk group, for
example:
# vxpool -g dstdg create dstpool autogrow=diskgroup \
selfsufficient=pool
4 If required, define the capabilities, rules and templates that are required to
express the storage services that are to be provided by each tier. For
example, you can create new volume templates that associate the correct
tier tag for the class of storage that is used. The following is an example of
such a template definition:
volume_template SilverStorage {
extends DataMirroringPrefabricatedStriping
rules {
tag "tier"="silver"
confineto "cost"="silver"
}
};
Use the vxtemplate command to install your template definition file in the
ISP configuration database:
# vxtemplate -C -d
dst_template_file
install
Use the vxpool command to associate your templates and any others that
you require with the storage pool, as shown in this example.
# vxpool -g mydg assoctemplate dstpool \
template=GoldStorage,SilverStorage,BronzeStorage
5 You can now create the volumes. The following command would use the
template to create a 20-gigabyte mirrored volume with 2 mirrors composed
of LUNs striped in hardware, and with the mirrors located on separate
enclosures:
# vxassist -g dstdg make silvervol 20g \
volume_template=’SilverStorage,\
MirrorsOnSeparateComponents’