Sun Cluster 2.2 Software Installation Guide

Netscape Mail

Sun Cluster HA for Netscape Mail can be used with Netscape Mail or with Netscape Messaging Server. This section describes the steps to take when installing Netscape Mail to enable it to run as the Sun Cluster HA for Netscape Mail data service. If you are using Netscape Messaging Server, see "Netscape Messaging Server".

The Sun Cluster HA for Netscape Mail data service is an asymmetric data service. Only one logical host in the cluster provides the mail services.


Note -

The Sun Cluster HA for Netscape Mail service fault probing might cause /var/log/syslog to fill up quickly. To avoid this, disable logging of mail.debug messages in the /etc/syslog.conf file by commenting out the mail.debug entry and sending a HUP signal to the syslogd(1M) daemon.


The following are required on the Sun Cluster servers before configuring Sun Cluster HA for Netscape Mail:

Because Netscape Mail is installed on one server, Sun Cluster HA for Netscape Mail requires some variation from the default installation parameters, notably:

How to Install Netscape Mail

Before you begin this procedure, complete the appropriate pre-requisite steps listed in Table 8-2.

This procedure shows the user interaction with the ns-setup command and Sun Cluster commands. Only the sections that are specific to Sun Cluster HA for Netscape Mail are shown here. For the other sections, choose or change the default value as appropriate.

All of the steps in this procedure must be performed as root.

  1. Make sure each logical host is served by its default master.

    The Netscape application will be installed from the physical host that is the logical host's default master. If necessary, switch over the logical hosts to be served by their respective default masters.


    Note -

    The logical host names you use in your Sun Cluster configuration should be used as the server names when you install and configure the Netscape application in the following steps. This is necessary for failover of the Netscape server to work properly.


  2. Run the ns-setup command from the Netscape Mail install directory on the CD.

    Change directory to the Netscape Mail distribution location on the CD, and run the ns-setup command:


    phys-hahost1# cd /cdrom/commerce/solaris/us/https/mail
    phys-hahost1# ./ns-setup
    


    Note -

    The Netscape directory on the CD might be different from that shown in the example. Check your Netscape documentation for the actual location.


    After the licensing agreement you should see something like the following:


    Netscape Communications Corporation 
    Netscape SuiteSpot Server Installation
    ---------------------------------------------------------------
    This program will extract the server files from the distribution
    media and install them into a directory you specify. This 
    directory is called the server root and will contain the server 
    programs, the Administration Server, and the server configuration 
    files.
    
    Server root [/usr/netscape/suitespot]:
    To accept the default in brackets, press return.

  3. Enter the logical host name for the Netscape Web Server and the appropriate DNS domain name.

    A full name is of type hostname.domainname, such as hahost1.sun.com. You can enter any directory name you might have created for the data service here as well.


    Note -

    You must use the logical host name rather than the physical host name here and everywhere else you are asked, for Sun Cluster HA for Netscape Mail to fail over correctly.


    For example:


    Machine's name [phys-hahost1]: hahost1
    

    Follow the screen instructions (in many cases you may want to accept the default choices) for the server installation.

  4. Enter Server Administrator ID and password when asked.

    Follow the guidelines for your system.


    Note -

    The default administration port is not the port on which the data services will listen, so it is an acceptable default.


    You see information similar to the following:


    Attempting to start Netscape Admin Server...

    Continue with the installation when prompted.

  5. Specify user, group, and domain names.

    Enter the user name you configured for the mail server on all Sun Cluster servers running Sun Cluster HA for Netscape Mail.

  6. Specify directories for system components.

    You are asked the names of directories where the various components of the system will be installed. Enter a location on the logical host, for example, /hahost1/mail/mailbox, and /hahost1/mail/postoffice.

  7. Specify a Server Identifier name.

  8. Specify whether to use the NIS module and the Greeting Forms feature.

    You see a confirmation of the information you specified as in the following example:


    Mail user name: 
    Domain name: 
    Mailbox directory: 
    Post Office directory: 
    Server Identifier: 
    NIS lookups: 
    Greeting forms: 
    
    You may accept these choices or quit the installation.
    
    Install Netscape Messaging Server? [y]:

  9. Install the Netscape Messaging Server and reply to queries when prompted.

    Depending on how you set up your configuration, specify items appropriately. After all changes take effect, you see:


    Netscape Messaging Server installation complete

  10. Start the Netscape Messaging Server when prompted.

  11. If the service is not yet registered, use the hareg(1M) command to register it.

    To register the service only on the logical host, include the -h option and logical host name:


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

  12. Run the hadsconfig command from the physical host:


    [phys-hahost1]: hadsconfig
    

  13. Enter the number for the nsmail menu item at the prompt.

    Your choices may vary depending on the services installed.

  14. Enter the number for the Create a new instance item at the prompt.


    Name of the instance [nsmail]  [?]
    Logical host [?] 
    Take over flag [y]
    
    Following are the specifications of this instance
    Name of the instance : 
    Logical host : 
    Number of times to retry : 
    Time between retries (sec) : 
    Configuration File : 
    Fault probe program : 
    Time between probes (sec) : 
    Time out value for the probe (sec) : 
    Take over flag : 
    Add this instance ?  (yes/no) [yes] 
    Instance added to workfile
    Press enter to return to main menu

  15. Enter the name for the instance.

  16. Enter your logical hostname.

  17. Either accept or change the defaults for the remaining items depending on your configuration.

    You can change these defaults now if necessary.

  18. Add this instance.

    You see Instance added to workfile.

  19. Go to the Main Menu when prompted.

    You see Configuration has changed in workfile.

  20. Update the configuration from the workfile when prompted.

  21. Enter the Quit menu item number.

    Return to the root prompt of your physical host.

  22. Register and activate the service by using the hareg(1M) command.

    Run the hareg(1M) command on only one host.


    # hareg -y nsmail
    

This completes the installation of Netscape Mail.