To determine whether to create SUNW.HAStorage resources within a data service resource group, consider the following criteria.
In cases where a data service resource group has a node list in which some of the nodes are not directly connected to the storage, you must configure SUNW.HAStorage resources in the resource group and set the dependency of the other data service resources to the SUNW.HAStorage resource. This requirement coordinates the boot order between the storage and the data services.
If your data service is disk intensive, such as Sun Cluster HA for Oracle and Sun Cluster HA for NFS, ensure that you perform the following tasks.
Add a SUNW.HAStorage resource to your data service resource group.
Set the dependency of your data service resources to the SUNW.HAStorage resource.
Set AffinityOn to True.
If your data service is not disk intensive-such as one that reads all of its files at startup (for example, Sun Cluster HA for DNS)-configuring the SUNW.HAStorage resource type is optional.
If your cluster contains only two nodes, configuring the SUNW.HAStorage resource type is optional. However, if you plan to add nodes and run scalable services later, you must configure the SUNW.HAStorage resource type when you perform these tasks. To prepare, you can set up the SUNW.HAStorage resource type now and add nodes to the node list later.
See the individual chapters on data services in this book for specific recommendations.
See "How to Set Up SUNW.HAStorage Resource Type for New Resources" for information about the relationship between disk device groups and resource groups. The SUNW.HAStorage(5) man page provides additional details.