N1 Grid Service Provisioning System User's Guide and Release Notes for the Sun Java System Web Server Plug-In 1.0

Installing the Sun Java System Web Server 6.1 2005Q1 SP4

When you use the provisioning system to install the Sun Java System Web Server 6.1 2005Q1 SP4, the provisioning system installs an Administration Server and the first Web Server instance. To install the Sun Java System Web Server 6.1 2005Q1 SP4 using the provisioning system, use the following steps:

  1. Create the JES_ADMIN_PASSWORD and WEB_ADMIN_PASSWORD session variables.

    See Creating Session Variables.

  2. Define the host as a Sun Java System Web Server 6.1 2005Q1 SP4 host.

    See How to Define a Host as a Sun Java System Web Server 6.1 2005Q1 SP4 Host.

  3. Install the Administration Server and the first Web Server instance.

    See How to Install an Administration Server and the First Web Server Instance.

Creating Session Variables

The installation of the Sun Java System Web Server 6.1 2005Q1 SP4 requires that you create passwords to use to install the Sun Java System Web Server and to access the Administration Server. The provisioning system stores secure data, such as passwords, as session variables. When you save a password as a session variable, the password is stored in a way that prevents other users from accessing the password information. However, the password information is available for use by the provisioning system when you are logged in to that session.

You must create a Common Server Settings password for the Sun Java Enterprise System installation program. Create a session variable called JES_ADMIN_PASSWORD. The Sun Java Enterprise System installation program uses the password to install the Sun Java System Web Server components. For more information about this password, see CMN_ADMIN_PASSWORD in Common Server Settings.

You must create a password that you want to use to access the Administration Server. Create a session variable called WEB_ADMIN_PASSWORD. The value that you give this session variable is the password that you want to use to access the Administration Server. When the provisioning system is installing the Administration Server, the provisioning system sets the access password for the Administration Server to the value of this variable.

ProcedureHow to Create Session Variables

Steps
  1. From any page in the N1 Grid Service Provisioning System, click Session Variables.

    You will find the Session Variables link in the top right corner of the page.

  2. In the Session Variable column, in the blank field, type JES_ADMIN_PASSWORD.

  3. In the Password column, click the checkbox.

  4. In the Value column, in the blank field, type the password you want to use to install the Sun Java System Web Server components.

  5. Click the Create link.

  6. In the N1 Grid SPS password field, type the password you use to access the N1 Grid Service Provisioning System.

  7. Click the Save button.

    The provisioning system creates the session variable and returns you to the session variable list.

  8. In the Session Variable column, in the blank field, type WEB_ADMIN_PASSWORD.

  9. In the Password column, click the checkbox.

  10. In the Value column, in the blank field, type the password you want to use to access the Administration Server.

  11. Click the Create link.

  12. In the N1 Grid SPS password field, type the password you use to access the N1 Grid Service Provisioning System.

  13. Click the Save button.

ProcedureHow to Define a Host as a Sun Java System Web Server 6.1 2005Q1 SP4 Host

Before you can deploy the Administration Server and a Web Server instance, you must define the target host to be of a com.sun.jes6_WS#opsystem-JESWebHost host type.

Steps
  1. In the left control panel, under the Hosts Setup section, click Hosts.

  2. Select the target host.

  3. On the Host Details page, click the Edit button.

  4. Choose the appropriate com.sun.jes6_WS#opsystem-JESWebHost host type from the host type menu.

    opsystem is one of the following values:

    • Sol8 – Select if the target host is running the Solaris 8 OS on a SPARC based system.

    • Sol9– Select if the target host is running the Solaris 9 OS on a SPARC based system.

    • Sol9x86– Select if the target host is running the Solaris 9 OS on an x86 based system.

    • Sol10– Select if the target host is running the Solaris 10 OS on a SPARC based system.

    • Sol10x86– Select if the target host is running the Solaris 10 OS on an x86 based system.

    • RedHat-AS21– Select if the target host is running the Red Hat Linux Advanced Server 2.1.

    For example, if the target host is a SPARC based system running the Solaris 8 OS, select com.sun.jes6_WS#Sol8-JESWebHost as the host type.

  5. Click the Save button.

ProcedureHow to Install an Administration Server and the First Web Server Instance

Before You Begin

Before you can deploy the Administration Server and a Web Server instance, you must have the Sun Java System Web Server 6.1 2005Q1 SP4 installation files saved on the target server. For more information, see Sun Java Enterprise System 2005Q1 Installation Guide.

Be sure to create the JES_ADMIN_PASSWORD and WEB_ADMIN_PASSWORD session variables. For more information, see How to Create Session Variables.

Be sure to change the host type of any target host to the appropriate host type. For more information, see How to Define a Host as a Sun Java System Web Server 6.1 2005Q1 SP4 Host.

Steps
  1. Click the Sun Java System WS 6 icon under the Common Tasks section of the left control panel.

  2. Click the Install Web Admin Server: install link.

  3. Click the Run button.

  4. In the Plan Parameters table, in the Variable Settings column for the WebAdminServer component, click Select From List.

    The Select a Variable Setting window opens.

  5. From the list of Variable Settings, change the following variables as described below.

    1. Set the installPath variable to the path on the target server where you want to install the state file that contains the name/value pairs needed to install the Administration Server.

    2. Set the JES_Media_Directory variable to the path to the Sun Java System Web Server 6.1 2005Q1 SP4 installation binary on the target server.

    3. (Optional) Set the hostDomain variable to the actual domain name of the target server.

    4. If you are installing the Administration Server on a Linux server, change the following variables:

      • Set the jesSystemGroup variable to root.

      • Set the webInstanceUser variable to nobody.

      • Set the webInstanceGroup variable to nobody.

    5. Click the Select button.

    For information about other Variable Settings, see WebAdminServer Component.

  6. Select the target hosts.

  7. Click the Run Plan (includes preflight) button.

    The InstallWebAdminServer plan completes the following tasks:

    • Installs the Administration Server and one Web Server instance.

    • If you set the webAutoStart variable to yes, starts the Administration Server and the Web Server instance.

    • If you set the webAutoStart variable to yes, verifies that the Administration Server and the Web Server instance are running.

    • Creates a virtual host for the Administration Server of the com.sun.jes6_WS#WebAdminServerHT host type.

    • Creates a virtual host for the Web Server instance of the com.sun.jes6_WS#WebServerInstanceHT host type.