Configuring High Availability of iSNS Server Using Sun Cluster
This section described how to configure the iSNS service to work with Sun
Cluster 3.2 as a Service Management Facility (SMF) proxy resource so that Sun
Cluster can manage the failover of the iSNS service to other cluster
For information about Sun Cluster, see Sun Cluster Concepts Guide for Solaris OS (https://docs.sun.com/app/docs/doc/819-2969). To configure Sun
Cluster to manage the failover of the iSNS service, use the following general
Encapsulate the iSNS service. Use the Sun Cluster SMF proxy resource type, SUNW.Proxy_SMF_failover to encapsulate the iSNS SMF service, registering it with the clresourcetype register. For instructions on how to encapsulate SMF services with Sun Cluster, see Enabling Solaris SMF Services to Run With Sun Cluster (https://docs.sun.com/app/docs/doc/819-2974/gcjaz?a=view) .
Create a resource group for the iSNS service, using the clresourcegroup create command. See Creating a Resource Group (https://docs.sun.com/app/docs/doc/819-2974).
Add an iSNS resource to the resource group, using the clresource create command. Specify the type as SUNW.Proxy_SMF_failover and specify the Proxied_service_instances property as the path to a file that contains the properties for the iSNS service. Place the file in a cluster file system so that each node shares the file. For information on cluster file systems, see How to Create a Cluster File System (https://docs.sun.com/app/docs/doc/819-2970/6n57ljhns?a=view)
Specify the iSNS data store location as described in How to Specify the Data Store Location, specifying the mount point for the cluster file system in the path. Specify the same data store file property on all nodes of the cluster so that all nodes share the data store.
Set the cluster resource group online, using the clresourcegroup online command.
Because you cannot use svcadm to disable, enable, or refresh SMF services that
have been encapsulated as a proxy resource, use the following general procedure to
change the properties of the iSNS service:
Set the iSNS resource group offline.
Disable the iSNS proxy resource.
Change the property of the iSNS service on all nodes of the cluster node list.
Re-enable the iSNS proxy resource.
Set the iSNS resource group online.