i-Planet Administration Guide

Web Server

The web server is located on the i-Planet server.

Restarting the Web Server


Caution - Caution -

You must restart the web server manually after the i-Planet server fails. You must also restart the web server manually, if it fails.


You restart the web server with the following procedure:

To Restart the Web Server
  1. As root on the i-Planet server, type the following to restart the web server:


    /opt/SUNWjeev/bin/iplanet_serv start
    

Stopping and Restarting the Web Server

If you make any changes, whether through the Administration Console or by editing files, you must stop and restart the web server on the i-Planet server before the changes will take effect.

If you have to reboot the i-Planet server, the web server will start automatically.

To Stop and Restart the Web Server on the i-Planet Server
  1. As root on the i-Planet server, type the following to stop and restart the web server:


    /opt/SUNWjeev/bin/iplanet_serv stop/opt/SUNWjeev/bin/iplanet_serv start
    


    Note -

    End users must start their session over because all the session information is contained in the i-Planet server. No warning message is sent to the end users.


Tuning the Web Server

Overview

This section provides information on tuning the web server for more efficient operation within the operating environment.

As root, you can:

The shell script in this file should run before the shell script in file S42rp, which contains the script that starts the Java Web Server(TM).

TCP/IP Settings

The following TCP/IP settings have been identified as beneficial to servers running web servers.

ndd -set /dev/tcp tcp_close_wait_interval 45000
ndd -set /dev/tcp tcp_mss_max 6000
ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 16000
ndd -set /dev/ip ip_path_mtu_discovery 0
ndd -set /dev/tcp tcp_conn_req_max_q 1024
ndd -set /dev/tcp tcp_conn_req_max_q0 1024
ndd -set /dev/tcp tcp_conn_req_min 1
ndd -set /dev/tcp tcp_xmit_hiwat 65535
ndd -set /dev/tcp tcp_recv_hiwat 65535 
ndd -set /dev/tcp tcp_cwnd_max 65534
ndd -set /dev/tcp tcp_keepalive_interval 90000
ndd -set /dev/tcp tcp_ip_abort_interval 60000
ndd -set /dev/tcp tcp_ip_abort_cinterval 60000
ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
ndd -set /dev/tcp tcp_rexmit_interval_min 3000
ndd -set /dev/tcp tcp_rexmit_interval_max 10000
ndd -set /dev/tcp tcp_conn_grace_period 500 
ndd -set /dev/ip ip_ignore_redirect 1
ndd -set /dev/tcp tcp_slow_start_initial 2 

Using the Java Web Server Administration Tool

It should be unnecessary to administer the Java web Server through the Java Web Server Administration tool. But should it be necessary, use the following procedure to enable the password and log in to the Java Web Server.

The default setting for logging in to the Java Web Server Administration tool is set to admin as the login. The default password, admin, as the password is disabled when the Java web server is installed.

If you need to run the Java Web Server Administration tool, you must

To Enable the Password and Log In to the Java Web Server Administration Tool
  1. Enable the default password for the Java Web Server Administration tool:


    cp /opt/SUNWjeev/realms/data/defaultRealm/keyfile/\
    
    opt/SUNWjeev/realms/data/adminRealm/keyfile
    

  2. Stop and restart the web server on the i-Planet server

    For information on stopping and restarting the web server, see the procedure "To Stop and Restart the Web Server on the i-Planet Server" in this chapter.


    Caution - Caution -

    The default login is admin and the default password is admin. This is a security risk. Please log in to the Java Web Server Administration tool and change the password.


  3. In a browser, type the following URL to run the Java Web Server Administration tool:


    http://i-Planet_server:9090/
    

    Port 9090 is the administration port for the Java Web Server.