Sun Java Enterprise System Installation Guide for Microsoft Windows |
Chapter 3
Installation Process and PrerequisitesThis chapter provides information that you will need before starting an installation of the Sun Java Enterprise System software.
This chapter contains the following sections:
Getting the Sun Java Enterprise System SoftwareYou can get the Sun Java Enterprise System software in any of the following ways:
You can get a media kit containing a DVD at http://wwws.sun.com/software/javaenterprisesystem/index.html or by contacting your Sun sales representative. Each DVD contains the installation files for a single operating system, the Sun Java Enterprise System installer program, and all executables.
You can download the Sun Java Enterprise System software in several formats from the Sun Download Center at http://www.sun.com/download. The following formats are available:
The Sun Java Enterprise System Installation ProcessThe Sun Java Enterprise System installer utilizes Windows Installer service for installation. The installer uses a wizard (a GUI interface), which guides you through a sequence of interactive panels and also supports a parameter-driven silent installation mode. In the silent installation mode, you generate a response file as per the installation requirements before starting the installation.
All components of the Sun Java Enterprise System can be installed in a single session, providing the following benefits:
Installer Modes
The Installer supports two kinds of installation:
- Interactive graphical mode. Provides an interactive graphical wizard that leads you through the tasks of installing the Sun Java Enterprise System software on a host.
- Silent mode. Provides the option to run the Sun Java Enterprise System installer in silent mode on multiple hosts, each time using a generated response file to specify an input to the installer. For silent mode installation, first run the installer through a wizard while you save your responses as a set of name-value pairs in a response file. For detailed information about the silent mode installation, refer to Chapter 8, "Installing the Software in Silent Mode."
Language Selection
The interactive installer runs in the language specified by the operating system locale setting. The following languages are available:
If your operating system language is not listed, the installer runs in English. The installer automatically installs English version of all Java ES components. In addition, you can install component packages in any of the above listed languages. If your operating system language is on the list, that language is automatically selected for component installation, but you can change the selection.
During an installation session, the language you choose applies to all the components you are installing. To install some components in one language and other components in another language, you must run the installer multiple times.
Dependency Check
Many components depend on the presence of other components to provide their core functions. The installer does an extensive cross checking of components to ensure that the components you select will function properly due to their interdependencies. For this reason, the installer might prompt you to select certain components as you make your component selections. Prompt messages from the installer are based on the type of configuration selected. Sun Java Enterprise System supports Configure Automatically During Installation and Configure Manually After Installation options.
In general, the Sun Java Enterprise System installer uses the following rules for handling dependencies among the components:
- When you select a component that requires a web container, but do not select either Application Server or Web Server, a message prompts you to select any of them as a web container.
- If you deselect a component that is required locally or remotely for another selected component in Configure Automatically During Installation mode, the installer displays various warnings. The warning messages direct you to choose the required component. Configure Manually After Installation mode allows the users to proceed by deselecting a remotely dependent product, but they should be able to provide information of the required product during configuration.
- If you select a subcomponent, the installer automatically selects the component to which it belongs. In addition, if the selected subcomponent depends on other components or subcomponents, they will be automatically selected.
- If you deselect a component, the installer automatically deselects all its subcomponents.
- The dependency checks are managed differently for the Configure Automatically During Installation mode. All dependencies are assumed to be local because remote dependencies are not allowed in a single system installation.
Configuration Options and Parameter Settings
Sun Java Enterprise System installer provides you with two options for configuring the products. Before choosing any of the options, it is advisable to plan for the installation tasks.
- Configure Automatically During Installation: This option is used for evaluating the components on a single system. During installation, this option allows you to configure components that permit installation-time configuration.
In this mode, the administrator settings dialog gets the values for the administrator user ID and Password. All other configuration parameters such as port numbers will be pre-determined defaults and will be presented to the user at the end of installation. These default values are used for configuring the components.
Administrator user ID and password should not contain any special characters, and the password should be equal to or more than eight characters.
- Configure Manually After Installation: During installation, this option allows you to enter only the minimum values that are necessary for placing the software components in their directories. Configuration is performed after installation.
When you select this option, the administrator settings dialog is not displayed. Only the files are copied during installation. You have to populate the properties file with the correct values through the GUI launched by batch files and invoke the configurator manually to complete the configuration. For populating the properties file, refer to Chapter 6, "Configuration Information of the Components."
If a product is dependent on other products, ensure that you configure the dependent products first.
Depending on which configuration option you select, the following parameter information might be required during installation:
The Sun Java Enterprise System Uninstallation ProcessThe Sun Java Enterprise System provides an uninstallation program for removing the components that were installed on your system using the installer.
The uninstall wizard can be accessed as follows:
After all Sun Java Enterprise System components are uninstalled, the uninstallation program is automatically deleted.
General Behavior
Like the Sun Java Enterprise System installation process, the uninstallation process can also be run through the wizard (GUI mode) or the silent mode.
- The uninstallation program only removes the components installed by the Sun Java Enterprise System installer. To remove components that were not installed by the Sun Java Enterprise System installer, follow the uninstallation instructions in the component documentation.
- The uninstallation program must be run separately on each host that contains the Sun Java Enterprise System components. For each host, you can select one or more components for removal.
- The uninstallation program does not remove the shared components of the Sun Java Enterprise System if only some of the components are uninstalled.
- The uninstallation program might remove the configuration and the user data files. The configuration and the user data files that are removed depends on each of the component.
- After uninstallation, you might have to remove some additional files and directories manually.
- The uninstallation program checks for component dependencies for the system on which the uninstall program is running and issues a warning when a dependency is discovered.
For more information on dependencies that affect the removal of some components of the software, refer to Interdependency Handling.
Interdependency Handling
The behavior of the uninstallation program depends on the installed components and their interrelationships.
For example, Portal Server depends on Access Manager. If you attempt to uninstall Access Manager, the uninstall program issues a warning because Portal Server cannot function without Access Manager. But it would not be the same case when you attempt to uninstall Portal Server. As Access Manager would still function without the Portal Server and therefore there is no warning issued.
The uninstall program does not recognize the following interdependencies:
Component Dependencies From Remote Hosts
Some component dependencies can be satisfied with components deployed on remote hosts only if the configuration selected is Configure Manually After Installation. The uninstallation program does not recognize these dependency relationships.
For example, if you uninstall Directory Server, the uninstallation program does not warn you that Access Manager depends on Directory Server, even if both the components are deployed on the same host. This is because another Directory Server instance on another host could support Access Manager.
Component Dependencies Resulting From Configuration
The uninstallation program does not recognize a component dependency that is the result of post-installation configuration.
For example, suppose you install both Portal Server and Calendar Server on the same host, and then configure Portal Server to use Calendar Server for the Portal Server calendar channel. After this configuration, Portal Server depends on Calendar Server. However, if you then uninstall Calendar Server, the uninstall program does not warn you that Portal Server depends on Calendar Server because the uninstall program does not know about the post-installation configuration.
Installation PrerequisitesThe following table lists the tasks that you should perform before beginning any type of installation. The left column lists the order in which you should perform the tasks, the middle column describes the action, and the right column contains the location of instructions and other useful information. Not all tasks are required for all installations.
Table 3-1 Pre-installation Checklist
Order
Task
Instructions and Helpful Information
1
Plan how to install the Sun Java Enterprise System components.
2
Verify that system requirements are met.
Sun Java Enterprise System Release Notes, http://docs.sun.com/doc/819-4261
3
Installation and configuration of Directory Server, Access Manager, Portal Server and Web Server require a valid domain name.
Verify that the DNS Suffix is set correctly on your machine. See Verifying the DNS Suffix.
4
For Administrative user, create the necessary system accounts.
For Directory Server, Directory Proxy Server, or Administration Server to run as a non-root user, you must create the accounts before configuring.
5
When installing components that depend on servers or services that are already installed, ensure that the existing servers and services are running and accessible.
For example, If you are installing a Portal Server Secure Remote Access subcomponent, the Secure Remote Access core must be running and accessible.
8
If installing Web Server, verify that UID 80 and GID 80 are not already allocated for Web Server use.
If 80 is already allocated to Web Server, errors occur and Web Server installation fails.
9
When reinstalling, verify that the Web Server installation directory does not exist. If it does, remove or rename the directory.
10
If Directory Proxy Server will use a preinstalled Configuration Directory Server, ensure that the Configuration Directory Server is running during the installation of Directory Proxy Server.
If you are installing Directory Proxy Server and the Configuration Directory Server at the same time, you can skip this pre-installation task.
Next StepsNow that you have an idea of what are the installation prerequisites, different installation modes and component interdependencies, you are ready to install the Sun Java Enterprise System. Proceed to one of the following installation chapters:
Chapter 5, "Installing Sun Java Enterprise System Using the Installation Wizard"
Chapter 8, "Installing the Software in Silent Mode"
If you are going to do a Configure Manually After Installation, gather your configuration information from Chapter 6, "Configuration Information of the Components".