Sun Cluster 2.2 Data Services Update: Netscape Messaging Server 4.1

Registering and Configuring Sun Cluster HA for Netscape

After you have installed the Netscape Messaging Server 4.1 components, you must register the data service using the hareg(1M) command, and configure Sun Cluster HA for Netscape using the hadsconfig(1M) command and the parameters described in "Configuration Parameters for Sun Cluster HA for Netscape".

How to Register and Configure Sun Cluster HA for Netscape

Perform all steps from only one cluster node. You must have root privilege to register and configure the data service.

  1. Register the data service by using the hareg(1M) command.

    Run the hareg(1M) command on only one node. To register the service only on the logical host, include the --h option and logical host name:


    # hareg -s -r nsmail [-h logicalhost]
    

  2. Configure the data service by using the hadsconfig(1M) command.

    The hadsconfig(1M) command is used to create, edit, and delete instances of a Sun Cluster HA for Netscape data service. See the hadsconfig(1M) man page for details. See "Configuration Parameters for Sun Cluster HA for Netscape" for information on the input to supply to hadsconfig(1M).


    # hadsconfig
    

  3. Use the hareg(1M) command to activate the data service:


    # hareg -y nsmail
    

Configuration Parameters for Sun Cluster HA for Netscape

Configure Sun Cluster HA for Netscape using the parameters described in Table 1-2. These are the only user-configurable parameters.

Table 1-2 Configuration Parameters for Netscape Messaging Server 4.1

Parameter 

Description 

Name of the instance 

Nametag used as an identifier for the instance. The log messages generated by Sun Cluster refer to this nametag. The hadsconfig(1M) command prefixes the package name to the value you supply here. For example, if you specify nsmsg, the hadsconfig(1M) command produces SUNWscnsm_nsmsg.

Logical host 

Name of logical host that provides service for this instance of Sun Cluster HA for Netscape Mail. 

Base directory of product installation 

Rooted path name specifying the location on the multihost disk of the Netscape Messaging Server 4.1 installation. This is the "instance path," for example, /hahost1/nms-hahost1.

Takeover flag 

Specifies whether a failure of this instance will cause a takeover or failover of the logical host associated with the data service instance. Possible values are y (yes), n (no).