This example shows how to register Sun Cluster HA for Netscape Directory Server.
Cluster Information Node names: phys-schost-1, phys-schost-2 Logical hostname: schost-1 Resource group: lh-schost-1 (for all resources),Resources: schost-1 (logical hostname), nsldap-1 (LDAP application resource) (Create a failover resource group.) # scrgadm -a -g lh-schost-1 -h phys-schost-1,phys-schost-2 (Add a logical host name resource to the resource group.) # scrgadm -a -L -g lh-schost-1 -l schost-1 (Bring the resource group online.) # scswitch -Z -g lh-schost-1 (Install and configure Netscape Directory Server.) (Stop the LDAP server.) (Register the SUNW.nsldap resource type.) # scrgadm -a -t SUNW.nsldap (Create an LDAP resource and add it to the resource group.) # scrgadm -a -j nsldap -g lh-schost-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 |