Service manual
Synchronizing HA Storage and Data Services
Appendix C Installing Sun Cluster HA for Directory Server 181
Synchronizing HA Storage and Data Services
The SUNW.HAStorage resource type synchronizes actions between HA storage and
data services, permitting higher performance when a disk-intensive data service
such as Directory Server undergoes fail over.
To synchronize a Directory Server data service with HA storage, complete the
following steps on the node that is online for the logical host name in use by the
data service:
1. Register the HA storage resource type.
# scrgadm -a -t SUNW.HAStorage
2.
Configurethestorageresourcetoremainsynchronized.
# scrgadm -a -j HAStorage-resource-name -g HAStorage-resource-group \
-t SUNW.HAStorage -x ServicePaths=volume-mount-point \
-x AffinityOn=True
Here, volume-mount-point identifies the disk volume where Directory Server
stores data.
3. Enable the storage resource and monitors.
# scswitch -e -j HAStorage-resource-name
4.
Add a dependency on the existing Directory Server resource.
# scrgadm -c -j resource-name-ds \
-y Resource_Dependencies=HAStorage-resource-name
Refer to SUNW.HAStorage(5) for background information, and to the Sun Cluster
3.0 product documentation for further instructions on setting up a
SUNW.HAStorage resource type for new resources.
Creating an Additional Directory Server Instance
Perform the following steps:
1. Create an additional Directory Server instance using the Sun ONE Server
Console.
Refer to the Sun ONE Server Console Server Management Guide for instructions.
2. Stopthenew Directory Serverinstance on the nodethat is online for the logical
host name in use by the data service.
# /usr/sbin/directoryserver -server serverID stop