Silent mode installation runs without any user input. This mode uses a configuration file for installation information. The following topics are discussed:
The installation configuration file is created when you use the savestate option with the setup command to start an interactive installation. During the interactive installation, your input is collected and stored in the configuration file you specified. This forms the template for silent installation, which you can use later to install the product on one or more machines. If needed, you can modify the installation configuration file.
The following topics are addressed:
You cannot use the silent installation procedure to install the load balancing plugin on Web Server 7.0.
To create an installation configuration file on Solaris or Linux:
Navigate to the location of the installation file.
Create the configuration file. For the graphical method, the syntax for creating the configuration file is: ./distribution-filename -savestate configuration-filename
For the command-line method, the syntax is: ./distribution-filename -console -savestate configuration-filename
If you do not include a path to the installation configuration file, the file is created in the directory where you are running the installation program. You must have write permissions for the directory where the installation configuration file is created, otherwise the installer will not be able to create the installation configuration file after the installation is complete.
To create the installation configuration file on the Windows platform, start the installation program from the command line. Change to the directory where the installation file resides.
For the graphical method the syntax is: distribution-filename -savestate configuration-filename
For the command-line method, the syntax is: distribution-filename -console -savestate configuration-filename.
If you do not include a path to the installation configuration file, the file is created in the directory where you are running the installation program.
You can modify the installation configuration file by editing the variables and values described in the following table.
Table 1–3 Installation Configuration File Variables
Variable Name |
Valid Values (if applicable) |
Content |
Comments |
---|---|---|---|
The string of characters following the distribution in the STATE_BEGIN and STATE_END sections. This value is automatically generated. |
No need to alter this value unless installing a different distribution file than the one that produced the configuration file. To find the build ID, enter distribution-filename -id at the command prompt. |
||
defaultInstallDirectory |
Default installation directory path | ||
currentInstallDirectory |
Selected installation directory path | ||
SELECTED_COMPONENTS |
List of product components selected for installation |
Modification is not recommended. |
|
USE_BUNDLED_JDK |
TRUE, FALSE |
Whether to install JDK bundled with the product |
If this value is set to FALSE, the J2SE path referenced by JDK_LOCATION is used. |
JDK_LOCATION |
JDK path |
Preinstalled JDK path, relevant only if USE_BUNDLED_J2SE is set to FALSE. |
|
WEBSERVER_INSTALL_DIR |
Selected web server instance directory path |
Relevant only if the load balancing plugin component is selected for installation. |
|
PLUGIN_TYPE |
Sun Java System Web Server, Microsoft IIS Web Server (Windows only), Apache HTTP Server | ||
INST_ASADMIN_USERNAME |
Administrator user name for initial domain | ||
INST_ASADMIN_PASSWORD |
Administrator password for initial Domain Administration Server |
This entry is obfuscated by default. See also description of ADMIN_PASSWORD_ENCRYPTED variable. |
|
INST_MASTER_PASSWORD |
SSL certificate database password for asadmin operations such as Domain Administration Server startup and Node Agent startup |
This entry is obfuscated by default. See also description of ADMIN_PASSWORD_ENCRYPTED variable. |
|
INST_ASADMIN_PORT |
0 - 65535 |
Administration server port number for initial Domain Administration Server | |
INST_ASWEB_PORT |
0 - 65535 |
Server port number for initial Domain Administration Server instance | |
INST_HTTPS_PORT |
0 - 65535 | ||
STORE_ADMIN_AUTH |
TRUE, FALSE | ||
ADMIN_PASSWORD_ENCRYPTED |
TRUE, FALSE |
Obfuscated admin password flag |
In the initial installation configuration file created by product installer, this flag is set to TRUE, since the admin password value is obfuscated for security reasons. To override the value for admin password, enter values of INST_ASADMIN_PASSWORD and INST_MASTER_PASSWORD in clear text and set this flag to FALSE to enable silent installation to process it correctly. |
INST_JMS_PORT |
0 - 65535 |
JMS port number for initial Domain Administration Server | |
INST_ORB_PORT |
0 - 65535 |
ORB port number for initial Domain Administration Server | |
INST_ORB_SSL_PORT |
0 - 65535 |
Secure ORB port number for initial Domain Administration Server | |
INST_ORB_MUTUALAUTH_PORT |
0 - 65535 |
Mutual authentication ORB port number for initial Domain Administration Server | |
INST_JMX_PORT |
0 - 65535 |
JMX port number for initial Domain Administration Server | |
INST_DAS_HOSTNAME |
Name of the Domain Administration Server to be used to administer the server | ||
CREATE_SAMPLES_DOMAIN |
TRUE, FALSE |
Whether to create additional samples server domain |
This value is disregarded because Application Server Enterprise Edition does not support this feature. |
CREATE_DESKTOP_SHORTCUT |
TRUE, FALSE |
Whether to create autodeploy folder desktop shortcut |
Valid for Windows platforms only and is disregarded otherwise. |
UPDATE_PATH |
TRUE, FALSE |
Whether to update PATH environment variable to include Application Server bin directory |
Valid only for Windows platforms and is disregarded otherwise. |
You cannot reuse the configuration file created for a particular distribution on other distributions, editions, or versions of the Application Server software.
To view the results of the silent installation, refer to the log files.
Review configuration file and verify that it contains what you want to use for your silent installation.
Copy your installation configuration file to each machine where you plan to install the Application Server software.
Copy the Application Server installation files to each machine where you plan to install the Application Server software.
Navigate to the directory where you copied the installation files and your installation configuration file.
Start silent installation at the command line using the following command format:
./distribution-filename -silent configuration-filename
The installation program reads the specified configuration-filename, checks for adequate disk space, then installs the product based on the data in configuration-filename .
When you return to the shell prompt, the silent installation is complete and the installation components are installed on your systems.
Review the installation log files. For a list of these log files and their locations, see Installation Log Files.
Start the server.
You can start the Application Server software by using the instructions in the Chapter 1, Getting Started, in Sun Java System Application Server Enterprise Edition 8.2 Administration Guide.
When the Admin Console is started, the initial page of the Application Server graphical interface is displayed.
You are now ready to configure your system for high availability. To begin this process, see the Sun Java System Application Server Enterprise Edition 8.2 High Availability Administration Guide for information.