Service manual
Uninstalling
182 Sun ONE Directory Server Installation and Tuning Guide • June 2003
3. Add the Directory Server 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
Here you provide a new resource-name-ds to identify the Directory 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 instance.
The port-number is the number of the port on which the instance listens for
client requests, specified in “Installing the Servers,” on page 175. Notice the
Port_list parameter takes only one entry.
ServerRoot and ServerRoot
/slapd-serverID are paths specified in “Installing the
Servers,” on page 175. Notice the
Confdir_list parameter takes only one
entry.
4. Enable the server resources and monitors.
# scswitch -e -j resource-name-ds
Here resource-name-ds is the name you provided to identify the Directory
Server in Step 3.
Uninstalling
To remove Sun Cluster HA for Directory Server and the associated Administration
Server from the cluster, perform the following steps:
1. Stop the server instances.
# scswitch -n -j resource-name-ds
# scswitch -n -j resource-name-as
2.
Remove the resources.
# scrgadm -r -j resource-name-ds
# scrgadm -r -j resource-name-as
3.
Remove the resource types from the cluster database.