Service manual
Configuring the Servers
Appendix C Installing Sun Cluster HA for Directory Server 177
4. Add the servers to the failover resource group created in “Setting Up Network
Resources,” on page 173.
# scrgadm -a -j resource-name-ds -g resource-group -t SUNW.dsldap \
-y Network_resources_used=logical-host-name \
-y Port_list=port-number/tcp \
-x Confdir_list=ServerRoot/slapd-serverID
# scrgadm -a -j resource-name-as -g resource-group -t SUNW.mps \
-y Network_resources_used=logical-host-name \
-y Port_list=port-number/tcp \
-x Confdir_list=ServerRoot
Here you provide a new resource-name-ds to identify the Directory Server
instance, and a new resource-name-as to identify the Administration Server
instance.
The resource-group parameter is the name of the group specified in “Setting Up
Network Resources,” on page 173.
The logical-host-name identifies the logical host name used for the current
Directory Server instance.
The port-numberis thenumbers of the portsonwhich theserverinstanceslisten
for client requests, specified in “Installing the Servers,” on page 175.Notice the
Port_list parameter of each command takes only one entry.
ServerRoot and ServerRoot
/slapd-serverID are paths specified in “Installing the
Servers,” on page 175. Notice the
Confdir_list parameter of each command
takes only one entry.
5. Enable the server resources and monitors.
# scswitch -e -j resource-name-ds
# scswitch -e -j resource-name-as
Here resource-name-ds and resource-name-as are the names you provided to
identify the servers in Step 4.
6. Consider performing the steps in the section, “Synchronizing HA Storage and
Data Services,” on page 181 to improve performance on fail over.
NOTE After configuring the servers, do not run backup and restore
commands such as
db2bak, db2ldif, back2db,andldif2db on an
inactive node of the cluster. Instead, perform all backup and restore
procedures on the active node.