Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (835 KB)
Advanced Installation OptionsThe following procedure describes how to install the Sun Java System Web Server 7.0 in silent mode. Installing in Silent ModeSilent installation is a non-interactive mode that enables you to run the installer on multiple hosts using an installer configuration file (state file). To install in silent mode, generate a state file as described in Creating a State File, and then start the installation program using the --silent option (./setup --silent state_file). After the silent mode is activated, installation takes place without additional user input. Creating a State FileThe installer configuration file (state file) is created when the savestate option is used with the setup command to start an interactive installation. Settings are captured during the interactive installation and saved in a state file. This file forms the template for silent installation, which can be used to install the product on one or more systems. The state file can be modified later if necessary, as described in Changing the State File.
|
|
Variable name |
Valid values (if applicable) |
Description |
|
ADMIN_HOST |
Fully qualified domain name of the computer on which the Administration Server is installed |
|
|
ADMIN_PORT |
0-65535 |
Non-SSL port for the Administration Server |
|
ADMIN_NAME |
Administrator user name for the initial server instance |
|
|
ADMIN_PASSWD |
Administrator user password for the initial server instance, stored as plain text |
The following fields are displayed when you configure Administration Node to an Administration Server.
Table 2–5 Configuration for Administration Node Instance|
Variable name |
Valid values (if applicable) |
Description |
|
ADMIN_HOST |
Fully qualified domain name of the computer on which the Administration instance is installed |
|
|
ADMIN_SSL_PORT |
0-65535 |
SSL port for the Administration Server |
|
ADMIN_NAME |
Administrator user name to log in to remote admin server |
|
|
ADMIN_PASSWD |
Administrator user password to log into remote admin server |
The following procedure applies to all supported platforms.
Review the installer configuration file (state file) and verify that it contains the settings you want to use for silent installation.
Copy the state file to each system on which you plan to install the Web Server software.
Copy the Web Server installation files to each system on which you plan to install the Web Server software.
Navigate to the directory where you copied the state file and the installation files.
Start silent installation at the command line using the following syntax:
./setup --silent state_file (UNIX)
setup --silent state_file (Windows)
where state_file is the installer configuration file. The installer program reads thestate_file, checks for adequate disk space, and then installs the product based on the data in state_file.
When the prompt is returned, silent installation is complete and the installation components have been installed.
To change the configuration settings after Java Enterprise System (Java ES) installation, edit the configuration.properties file in the path install_dir/webserver7/setup/configurator.properties
Ensure you only edit the values and variables. The structure of the properties file should not be changed. Do not edit WS_IS_JES and WS_JDK_HOME values.
|
Variable |
Valid values (if applicable) |
Description |
|
WS_IS_JES |
Set this flag to true (Java ES environment only). |
|
|
WS_JDK_HOME |
Selected Java SE Installation directory path. |
|
|
WS_INSTALL_ROOT |
(Required) Specify whether the default installation root should be created during installation. |
|
|
WS_INSTANCE_ROOT |
(Required) Specify whether the default instance root should be created during installation. |
|
|
WS_DOCROOT |
(Optional) Specify whether the default document root should be created during installation. |
|
|
WS_SERVER_NAME |
(Required) Fully qualified domain name of the computer on which the default Java ES instance is installed. |
|
|
WS_SERVER_USER |
Valid UNIX user ID |
(Required only on UNIX/Linux platforms) Valid UNIX user ID to use when running the default Java ES instance. If the Administration Server instance's runtime userID is root, the default is webservd. |
|
WS_HTTP_PORT |
0–65535 |
(Required) Valid default port to run the Java ES instance server under HTTP mode. |
|
WS_ADMIN_SSL_PORT |
0–65535 |
(Required) Specify the SSL port for the Administration Server or accept the default. |
|
WS_ADMIN_HOST |
(Required) Fully qualified domain name of the computer on which the Java ES Administration server is installed. |
|
|
WS_CONFIG_NAME |
(Required) Default configuration name used by the Java ES to create a configuration and associate it with a node to create an instance. |
|
|
WS_ADMIN_SERVER_USER |
(Required only on UNIX/Linux platforms) Valid UNIX/Linux user ID to use when running the default Java ES instance. |
|
|
WS_ADMIN_LOGIN_USER |
(Required) Specify the administrator user name used to log in to the Administration Server. |
|
|
WS_ADMIN_LOGIN_PASSWORD |
(Required) Specify the administrator user password used to log in to the Administration Server. |
|
|
WS_ADMIN_HTTP_PORT |
0–65535 |
(Optional) Non-SSL port of the Administration server. The default is 8800. |
|
WS_CREATE_SERVICE |
True or false |
True will create SMF instance for a server instance. |
|
WS_START_ON_BOOT |
True or false |
(Optional) Start on system boot option. |
|
WS_SKIP_INSTANCE_CREATION |
True or false |
(Optional) True will not create default instances. |
|
WS_64BIT_INSTALL |
True or false |
(Optional) Identifies 64-bit installation. True will configure the server in 64 bit mode 6. False will configure the server in 32 bit mode . |
|
WS_ADMIN_IS_SERVER_MODE |
True or false |
(Optional) True will configure server as Administration Server. False will configure server as Administration Node. |
|
WS_REGISTER_NODE |
True or false |
(Optional) Specifies whether the Administration Node instance should be registered with the Administration Server instance at the time of installation or later. Required only if WS_ADMIN_IS_SERVER_MODE is set to false. If set to true, you must provide the name of the remote admin server host for registration. |
|
WS_NODE_SSL_PORT |
0–65535 |
(Optional) SSL port of the Administration server. Required only if WS_ADMIN_IS_SERVER_MODE is set to false. |
|
WS_NODE_HOST |
(Optional) Fully qualified domain name of the computer on which the Administration instance is installed. |
When you configure in Configure Late Mode, you must execute configureServer script in the following location:
Solaris: install_dir/setup/configureServer
Linux/HP-UX: install_dir/setup/configureServer
Windows: jes_install_dir\webserver7\setup\
If you select Start on Boot during installation, the following scripts are created:
Solaris: /etc/init.d/webserver7–*
Linux:/etc/init.d/webserver7–*
AIX:/etc/rc.d/webserver7–*
HPUX/sbin/init.d/webserver7–*
An asterisk * in the script name refers to the unique hashcode generated during each installation, for example webserver7–99bbdd. The script contains the variable WS_INSTANCE_ROOT which is set to 1. To disable the Start on Boot option, –-set WS_START_ONBOOT to 0
Be careful to choose the correct script for your system. Each installation includes its own script with a different hashcode.