This example shows how to register Sun Cluster HA for Sun ONE Directory Server.
Cluster Information Node names: phys-schost-1, phys-schost-2 Logical hostname: schost-1 Resource group: resource-group-1 (for all resources) Resources: schost-1 (logical hostname), nsldap-1 (Sun ONE Directory Server application resource) (Create a failover resource group.) # scrgadm -a -g resource-group-1 -h phys-schost-1,phys-schost-2 (Add a logical hostname resource to the resource group.) # scrgadm -a -L -g resource-group-1 -l schost-1 (Bring the resource group online.) # scswitch -Z -g resource-group-1 (Install and configure Sun ONE Directory Server.) (To install and configure the iPlanet Directory Server, run the “setup” program from the node that is currently hosting the logical hostname.” (Stop the Sun ONE Directory Server server.) (Register the SUNW.nsldap resource type.) # scrgadm -a -t SUNW.nsldap (Create an Sun ONE Directory Server resource and add it to the resource group.) # scrgadm -a -j nsldap-1 -g resource-group-1 \ -t SUNW.nsldap -y Network_resources_used=schost-1 \ -y Port_list=389/tcp \ -x Confdir_list=/global/nsldap/slapd-schost-1 (Enable the application resources.) # scswitch -e -j nsldap-1 |