The application writes to this file system.
You can use either a cluster file system (PxFS) or a highly available local file system as a highly available file system. A highly available file system can be accessed simultaneously by all nodes of the cluster.
Adding this resource ensures that the necessary file systems are remounted before the application is started.
For more information about the HAStoragePlus resource type, refer to the Oracle Solaris Cluster Data Services Planning and Administration Guide .
This example configures a highly available file system for Solaris Volume Manager volumes. This example assumes that the resource group apprg1 already exists.
Create a UNIX file system (UFS).
# newfs /dev/md/avsset/rdsk/d100
Update the /etc/vfstab file on each node of the cluster.
/dev/md/avsset/dsk/d100 /dev/md/avsset/rdsk/d100 /global/sample ufs 2 no global,logging
Add the HAStoragePlus resource.
# clresource create -g apprg1 -t SUNWHAStoragePlus \ -p FilesystemMountPoints=/global/sample rs-hasp
This example assumes that the apprg1 resource group already exists.
Create a UNIX file system (UFS).
# newfs /dev/did/rdsk/d3s3
Update the /etc/vfstab file on each node of the cluster.
/dev/md/avsset/dsk/d100 /dev/md/avsset/rdsk/d100 /global/sample ufs 2 no global,logging
Add the HAStoragePlus resource.
# clresource create -g apprg1 -t SUNWHAStoragePlus \ -p FilesystemMountPoints=/global/sample rs-hasp