Administration Guide
Overview Guide
Installation Guide
Previous Next Contents



Installing Netscape Application Server
Before you install Netscape Application Server, see "Planning Your Installation" on page 40. Also, refer to the "Installation Planning Worksheet" on page 66 to track information you will need to perform the steps outlined in this section.

The Netscape Application Server installation program performs the following tasks.

Solaris
HPUX
HPUX
Before installing on HPUX

When installing on HPUX, you must have privileges to use swinst on /opt, since /opt gets updated during installation. To update your privileges, you must, before running the installation program, edit the Access Control List (ACL) for the host system and for the file systems owned by the root user ID.

To edit the ACL for the current HPUX host machine, follow these steps:

  1. Log on as the root user to the machine where you intend to install Netscape Application Server.
  2. Type the following swacl command:
  3. swacl -l host >swacfile1

    swacfile1 is the name you are assigning to the editable ACL for the host machine.

  4. Edit the file by adding your user ID and assigning it crwit privileges. For example, enter the following line:
  5. user:jondoe:crwit

    jondoe is an example of the user ID.

  6. Verify that the following line exist in the file, giving crwit privileges to the root user:
  7. user:root:crwit

  8. Type the following command to implement your edits to the ACL:
  9. swacl -l host -F swacfile1

To edit the ACL for the file systems owned by the root user ID, do the following:

  1. Type the following swacl command:
  2. swacl -l root >swacfile2

    swacfile2 is the name you are assigning to the editable ACL for the file systems owned by the root user ID.

  3. Edit the file by adding your user ID and assigning it crwit privileges. For example, enter the following line:
  4. user:jondoe:crwit

    jondoe is an example of the user ID.

  5. Type the following command to implement your edits to the ACL:
  6. swacl -l root -F swacfile2

To install Netscape Application Server

Note: Before you begin these steps, make sure you have 250 MB of free space in the installation directory, and 240 MB of free space in /tmp or another directory to hold temporary installation files.

  1. Insert the Netscape Application Server Install CD-ROM into the CD-ROM drive.
  2. Mount the CD-ROM on, for example, /cdrom/cdrom0.
    1. Create a directory (for example, NAS21). Do not use spaces in the directory name.
    2. Change to the directory you just created.

At the shell prompt, run the following command: Solaris

/cdrom/cdrom0/solaris/setup_NAS.sh

HPUX

/cdrom/cdrom0/hpux/setup_NAS.sh

  1. Follow the instructions of the installation program.
  2. When prompted for the type of installation, select one of the following:
    1. Install Netscape Application Server with Web Server Connector plug-in
      This installs Netscape Application Server with Web Connector plug-in. Select this option if your web server resides on the same machine as where you are installing Netscape Application Server.
    2. Install Netscape Application Server Administrator
      This installs Netscape Application Server Administrator as a stand-alone. Select this option if you only want to install the Netscape Application Server Administrator, and see
      "Installing Netscape Application Server Administrator" on page 64 for more information.
    3. Install Netscape Application Server without Web Server Component plug-in.
      This performs a "webless" installation. Select this option if you are installing Netscape Application Server on a different machine than where your web server resides. Make sure, after you install Netscape Application Server, to install the Web Connector plug-in on the same machine where your web server resides. See
      "Installing the Netscape Application Server Web Connector Plug-in" on page 59 for more information.
    4. Upgrade to Netscape Application Server 2.1
      Select this option if you are upgrading from an earlier installation of Netscape Application Server with the Web Connector plug-in.
    5. Upgrade to Netscape Application Server Administrator 2.1
      Select this option if you are upgrading from an earlier version of Netscape Application Server Administrator.
    6. Upgrade to Netscape Application Server without Web Server Component plugin 2.1
      Select this option if you are upgrading from an earlier webless installation of Netscape Application Server.

  3. If you are installing Netscape Application Server for the first time, rather than upgrading, enter the product key of Netscape Application Server. The product key is available in the Welcome letter you received with the product.
  4. When prompted for the target installation directory, enter the full path. Do not include spaces in the path name.
  5. The default directory is /usr/local/nas21.

  6. When prompted, enter the number of Java Servers (KJS) and C++ Servers (KCS) that you intend to use to process applications with this installation of Netscape Application Server.
  7. When prompted, enter port numbers for the Administrative Server (KAS), the Executive Server (KXS), the web server, the Java Servers, and the C++ Servers. All port numbers you specify are for listener ports, must be within the acceptable range (1025 to 65535), and must be unique (not used by any other applications on your system). In most cases, the default port numbers supplied by the installation program are adequate.
  8. If you are using Netscape Enterprise web server, and the web server you intend to use for this installation is on the same machine where you install Netscape Application Server, enter the path for the web server when prompted.
  9. If prompted to change your permissions to install web server files, and you are not the user who originally installed the web server, specify Yes to change the permissions of the files. (The files requiring changed permissions are in the gxlib, APPS, and registry directories.)
  10. When prompted whether the server will synchronize data across servers, specify Yes if you intend to synchronize session and state information across multiple servers for failover and fault tolerance.
  11. If you click No, go to Step 19.

    For more information about data synchronization, see Chapter 13, "Managing Distributed Data Synchronization," in the Administration Guide.

    To proceed with data synchronization, also referred to as cluster configuration, you must plan your clusters ahead of time. For information about planning clusters, see "Planning Your Installation" on page 40.

  12. When prompted for the cluster name, enter the name of the cluster that this Netscape Application Server will belong to.
  13. The cluster you specify may already exist, or this installation of Netscape Application Server may be the first server assigned to the cluster.

  14. Indicate if this instance of Netscape Application Server is a Sync Server or a Sync Local.
  15. Enter the number of Sync Servers that you plan to have in the cluster.
  16. Specify the IP address for each Sync Server in the cluster and its corresponding Executive Server (KXS) port number.
  17. Prioritize the Sync Servers you just specified.
  18. You are asked to specify the highest priority Sync Server in the cluster, that is, the server that is first in line to take over for the Sync Primary if it fails. Next, you are asked to specify the next highest priority Sync Server, and so on, until you have ranked all the Sync Servers you specified in Step 15.

    For each installation of a Netscape Application Server within the cluster you specified in Step 13, specify the same set of IP addresses and port numbers. The addresses and port number configurations must match across installations for the cluster to function properly.

  19. Specify the number of Sync Backup servers (0 or 1) that should be active while the cluster is running.
  20. Provide all the necessary database connectivity information.
  21. The installation program lists the database clients supported by Netscape Application Server. The clients are required for your NAS applications to process data. You must indicate if you want to configure this instance of Netscape Application Server to connect with each of the supported database clients. For each client that you specify Yes, you must provide the installation program with the client's home directory and library name.

    For more information about prioritizing and configuring databases, see "Planning Your Installation" on page 40.

  22. When prompted to rank installed databases in priority order, specify the top priority database first.
  23. Indicate whether or not you want to run Netscape Application Server automatically when you reboot the machine. You can only complete this step if you are logged on as root.
  24. When prompted for the server administrator password, enter the password that will be required to log on to the Administrative Server and to use the Administrator tool.
  25. Before accepting the install configuration, review the list of settings. If you want to change a configuration setting, type the name of that setting, press Enter, and type the new value when prompted.
 

© Copyright 1998 Netscape Communications Corporation