|
May 2007 [Part number: 820-0465-10]
Learning About Java ES Installation
Preparing to Install Java ES Software
Getting the Java ES Software
Running the Installer
Performing Postinstallation Configuration and Verification
What to Do After Installation
Running the Uninstaller
Troubleshooting Java ES Installation Problems
Learning About Java ES InstallationQ:How should I start?
A:
If you are new to Java ES installation, the following materials can help you become familiar with the installation process. In fact, you should not attempt to install Java ES software until you understand the process and have developed an installation plan.
Q:
Is there an installation tutorial or demo available?
A:
Yes, a free Java ES installer tutorial is available on UNIX platforms. In approximately 15 minutes, you walk through the pages of the installer, learn how the installer works, and gain some insight into what you need to consider before you begin your Java ES installation.
Q:
How can I find Java ES documentation?
A:
Java ES 5 Update 1 documentation is stored in the docs.sun.com repository as follows:
Q:
What components are included in this Java ES release?
A:
The Java ES software consists of a collection of Sun server-side products and their supporting components that work together to support distributed applications across a network. Product components are the Java ES components that can be selected for installation by the Java ES installer. The Sun Java Enterprise System Technical Overview contains brief descriptions of the product components.
Q:
Shared components support the product components and are selected automatically by the installer. Java ES components are combined into different suites that provide particular sets of services. Depending on your deployment, you might be interested in downloading a suite rather than the entire Java ES distribution (see information on suite downloads). Is there a quick installation for evaluating Java ES software?
A:
Yes, for the Java ES installer on the Microsoft Windows platform. This Quick Install creates a Java ES deployment on a single Windows host using default configuration values. The basic components (excluding Monitoring Console and Sun Cluster software) are automatically started and ready to go. For instructions on using Quick Install, refer to the Sun Java Enterprise System Installation Guide for Microsoft Windows.
On UNIX platforms (Solaris OS, Linux, HP-UX), two documents exist that provide instructions for creating a single-host evaluation deployment using the installer:
Preparing to Install Java ES SoftwareQ:How much planning do I need to do before I install Java ES?
A:
If you are installing for evaluation only, the best preparation is to install on a host that contains only the operating system. You select all components except Monitoring Console and Sun Cluster software, and accept most defaults offered by the installer.
Q:
However, for a production deployment across multiple hosts, the following planning activities are important for ensuring a successful installation:
Are there examples that I can use to plan my installation?
A:
Yes, there are several type of examples associated with Java ES.
Q:
What are the system requirements for installation?
A:
Before running the installer, verify that the hosts on which you will be installing are set up correctly. System requirements are listed in the following release notes:
Operating system patches might be missing from your host, in which case the installer will not be able to proceed. Refer to information on what to do about missing patches.
Q:
Solaris OS Patch Clusters Refer to the Sunsolve patch cluster page to see the recommended Java ES patch clusters. Information on patch clusters is provided in the Sun Java Enterprise System Installation Guide for UNIX. Because the patch cluster installs all patches required for any of the Java ES components, you might want to install the Java ES required OS patch cluster before installation. However, if you prefer to install only the patches required for the specific components you select, you can let the Java ES installer tell you exactly which patches are needed. A number of situations exist that might require preinstallation tasks for your particular combination of components. Be sure that relevant installation prerequisites are met before starting your installation. Does it matter if other Java ES components are already on my host?
A:
Yes, if the versions of those components are incompatible Java ES 5 Update 1.
Q:
An initial Java ES installation goes most smoothly if you are installing on a computer that has only the operating system installed, but this is not always possible. You can install Java ES on a host that already contains Java ES components. However, your installation might be interrupted if the installer finds incompatible versions of those components on the host. In this case, the installer cannot proceed until you either remove or upgrade to supported versions of the Java ES components.
How can I find out which Java ES components are installed on my host?
A:
One way to identify what Java ES components are on the host is to perform a test installation using the installer -no command. The installer indicates the incompatible and upgradable components that are on the host. For guidelines on surveying your hosts before doing an installation, refer to instructions for identifying incompatible components.
Q:
Another way to survey the software on a host is to examine the product registry. You can also view the installed packages using the following UNIX package display commands to see if any Java ES component packages are present:
How do I upgrade from another version of Java ES?
A:
Full instructions for upgrading Java ES software are in the Sun Java Enterprise System Upgrade Guide for UNIX.
Q:
Are there component interdependencies that I need to know about?
A:
The Java ES installer checks component dependencies for the components you select. If your selected components require additional components, the installer automatically selects the additional components. To understand how this works, refer to the information in the Component Dependencies section, where Table 3-1 shows the interdependency matrix. To satisfy interdependencies, installation sessions must be run in a particular order, with some components being installed, configured, and started before other components are installed. You might be able to model your deployment on suggested installation sequences.
Q:
After installation, you must follow the preferred startup sequence for Java ES components described in Table 7-1 to ensure that the components function correctly together. What do I need to know about Solaris 10 zones for Java ES?
A:
If you want to install Java ES into Solaris 10 zones, you must keep in mind some Solaris 10 zones guidelines and limitations for Java ES. These guidelines are extracted from a general description of how to use Java ES with Solaris 10 zones in the Sun Java Enterprise System Installation Planning Guide.
Q:
What do I have to do if my Java ES installation will include Sun Cluster software?
A:
Sun Cluster software is supported only on Solaris OS. Installing, configuring, and starting the components in the correct order is crucial for a successful Sun Cluster implementation. At least two installation sessions are performed on each node in the cluster. The following are the general tasks:
Q:
See Also Java ES installation guidelines in the Sun Cluster documentation: Instructions for Sun Cluster postinstallation configuration What is the significance of LDAP Schema 1 and LDAP Schema 2 for Java ES?
A:
Java ES solutions that use Directory Server can use either of two versions of a standard LDAP schema: Schema 1 or Schema 2. A full explanation of the schema issues for Java ES is contained in the user management section of the Sun Java Enterprise System Installation Planning Guide. More extensive schema instructions are contained in the Directory Server schema information and the Access Manager schema information.
The installation process configures the directory for the specified schema as follows:
Getting the Java ES SoftwareQ:How do I get the Java ES software?
A:
Java ES software is available three ways: as a download, on DVD, or preloaded on your Sun system. Additional information is contained in instructions for getting the software.
Q:
What download media is available?
A:
There are a number of Java ES distribution bundles that can be downloaded from the Web. These are available by platform (Solaris OS, Linux, HP-UX, Microsoft Windows). You can also choose suite downloads. ISO images are not available for download. The Download FAQ answers questions you might have, such as how long a download will take or how to resolve download problems.
Q:
To access the Java ES download files, do the following:
The following platform downloads are available:
Note For Solaris OS, the full Java ES distribution contains Sun Cluster 3.1 8/05 and Sun Cluster Geographic Edition 2006Q4 software. The individual Sun Java Availability Suite download contains Sun Cluster 3.2 and Sun Cluster Geographic Edition 3.2 software. The following suite downloads are available:
How do I put the software in a shared location?
A:
After you expand the distribution bundle, you can put the software in a shared location for others to access by following the instructions for creating an installation image on your network.
Q:
What is in the Java ES 5 Update 1 media distribution kit?
A:
The Java ES media distribution kit is the physical media you receive, based on what you requested at the time of purchase. The full Java ES 5 Update 1 media kit contains the following material:
Running the InstallerQ:How do I run the Java ES installer?
A:
To run the Java ES installer, you must be superuser on a host. You can install Java ES interactively using the graphical or text-based interface, or silently by means of a reusable script called a state file. The Java ES product documentation contains syntax and examples for using the installation commands.
Q:
At the end of a successful interactive installation session, you are given an option of registering your installation with Sun by using the Java ES Reporter utility. A description of how Java ES Reporter works is contained in the Sun Java Enterprise System Installation Guide for UNIX. Can the installer upgrade components that are already on my host?
A:
Yes and no, depending on the type of component you want to upgrade. For a brief description of the Java ES components, click here.
Q:
What is the difference between the Configure Now and Configure Later configuration types?
A:
The installer gives you the option of performing initial configuration for many of the Java ES components during installation.
Q:
The configuration type that you selected (Configure Now or Configure Later) applies to an entire installation session. How can I reproduce the same installation on another host?
A:
You can propagate one configuration across multiple hosts in your enterprise by using the silent mode of the Java ES installer.
Q:
Does the installer check dependencies on remote components?
A:
In general, the installer checks dependencies and versions on the local host only. However, one situation exists where the installer interacts with a remote host: if you select the Configure Now configuration type and are using a remote component (such as Directory Server or Access Manager) to satisfy a dependency. In this case, the installer tries to connect with the remote component during the installation session. If the remote component is not available, installation stops, and you receive an error message. To avoid this situation, install, configure, and start any remote components before starting an installation session.
Q:
In a Configure Later installation, the installer runs as though the remote component is available and does no checking. Installation succeeds, and you can proceed to postinstallation configuration. However, if the remote component is not available, you receive errors when you try to run any component that depends on that remote component. Tip To indicate to the installer that you will be using a remote component, select all the components that you will install locally and then deselect any dependency that will be fulfilled by a remote component. When you attempt to proceed, the installer prompts you to fulfill any requirements for the component that you deselected. At this point, you indicate to the installer that you are using a remote component to fulfill a dependency. How do I use a third-party web container?
A:
On Solaris OS, Access Manager and Portal Server can use the third-party web containers BEA WebLogic Server or IBM WebSphere Application Server. On Linux, both are supported for Configure Later, but only BEA WebLogic is supported for Configure Now. HP-UX does not support third-party web containers.
Q:
To indicate a third-party web container to the installer, select all of your components, then deselect Sun Java Application Server or Sun Java Web Server. When you click Next, the installer displays the Web Container Selection page telling you that a web container is needed. Select Use Third-Party Web Container. Tip Install, configure, and start any third-party web container in your deployment before installing Java ES. For installation, configuration, and startup instructions, refer to the BEA or IBM product documentation. How do I get patches that the installer indicates are missing?
A:
When the installer performs a system check, the installer might identify missing patches. In most cases, the installer cannot proceed until you install the patches. On Solaris OS, patch clusters offer all the needed Java ES patches. See information on patch clusters.
Q:
In some situations, you need to cancel the installation, but in others you can leave the installer running while you apply the patch. The Sun Java Enterprise System Installation Guide contains an example procedure for installing a patch. For a Kernel Patch Any patch which is kernel-related will not be able to be applied with the installer running. For such patches, such as patches on libc, do the following:
For required patches that are not kernel-related, do the following:
How do I know if my Java ES installation succeeded?
A:
After the installer indicates that installation is complete, you can view directories or the product registry, or perform some component exercises to verify that the software packages have been successfully copied to your host.
Performing Postinstallation Configuration and VerificationQ:What postinstallation configuration is required?
A:
When the Java ES installer finishes, most product components require additional configuration to work together. The extent of the configuration tasks varies depending on the configuration type you selected during installation (Configure Now or Configure Later), whether you installed Sun Cluster software or Monitoring Console, and how much extended configuration is needed to build your deployment.
Q:
The Java ES postinstallation configuration instructions apply to product components that require postinstallation configuration. (If components are not included in this listing, postinstallation configuration is not required.)
How do I know if the postinstallation configuration succeeded?
A:
After you complete postinstallation configuration, follow the postinstallation verification procedure to verify that your Java ES components have basic functionality. The installer does not start the Java ES components, so starting the components is part of verifying success of the installation and the initial configuration.
Q:
The verification procedure determines only whether the basic installed Java ES is working, not whether you installed the components correctly according to your deployment plan. If the resulting installation does not meet your needs, you can run the uninstaller to uninstall all of the product components, and then perform a new installation. How do I start and stop Java ES components?
A:
You activate Java ES by starting the components in a specific sequence, beginning with the basic services provided by Directory Server and your web container (Web Server or an application server). When you start the web container, the components that run in that web container, such as Portal Server and Access Manager, are automatically started. The preferred startup sequence is listed in guidelines for verifying Java ES after postinstallation configuration, Table 7-1. To stop Java ES, stop the components in the reverse order. To start the components, refer to the individual instructions for starting and stopping each component.
What To Do After InstallationQ:How do I install more components on a host after I've already done an installation?
A:
To install additional components, run the installer again. The installer surveys the host to find any installed Java ES components. If the installed component versions are correct, the installer uses the installed components to satisfy the dependencies and requirements for the additional components you are adding to the host. Any version-compatible components that are already installed are not available on the selection page of the installer. For example, you have installed Access Manager and its required components. In a later installation session you decide to install Portal Server. The installed instance of Access Manager is the correct Java ES version, and so is used to meet the Portal Server dependency on Access Manager. You are not asked to install Access Manager again.
Q:
Note When adding components to a host where a Java ES installation has already been done, you will need to specify the correct paths and passwords if the new component depends on a component that is already installed and configured. If you do not remember the paths or passwords, refer to the Installation Summary for the original installation before you add any components to the host. Default installation directories and ports are listed in the Sun Java Enterprise System Installation Reference for UNIX How do I start using the Java ES components after installation?
A:
After you have installed and verified the Java ES components, you can refer to the documentation for a particular Java ES 5 Update 1 component. If you are a new user, look for introductory or getting started material for the product component. This information is often in a document called technical overview.
Q:
If I did an evaluation installation, can I reconfigure the evaluation installation to create a production environment?
A:
No, reconfiguring your evaluation installation does not usually result in a viable production deployment. Instead, do the following:
Running the UninstallerQ:Where can I find the uninstaller?
A:
When you expand the Java ES distribution bundle, you will not find the uninstall script because it does not yet exist on your host. During installation, the Java ES installer places the uninstaller at the following location:
Q:
To perform uninstallation, see instructions for running the uninstaller. Tip To run the uninstaller without uninstalling any software, use the uninstaller -no command. The -no option is useful for familiarizing yourself with the uninstaller or for creating a state file for a subsequent silent uninstallation. What can be uninstalled with the Java ES uninstaller?
A:
The Java ES uninstaller removes only product components that were installed by the Java ES installer. You must use the version of the uninstaller that was placed on your host during initial Java ES installation.
Q:
You cannot use the uninstaller to remove shared components. When you install a new version of Java ES, the shared components are automatically upgraded to correct versions by the installer. If you need to manually uninstall shared components, refer to the Sun Java Enterprise System Upgrade Guide for UNIX. You cannot use the uninstaller to remove Sun Cluster software unless the Sun Cluster software has never been configured. To remove components that were not installed by the Java ES installer, follow instructions in the documentation for that component. Before uninstalling, you must be familiar with the following information in the product documentation: How do I know if my Java ES uninstallation succeeded?
A:
One way to determine if the uninstallation succeeded is to compare the packages listed in the installation log with the packages listed in the uninstallation log. You can also check the product registry to verify that Java ES components have been removed.
In some cases, the uninstaller does not remove all of the packages or directories. You might not discover this situation until you try to do a new Java ES installation. If this occurs, check the appropriate troubleshooting write ups for guidance on removing files or components that are left behind. Troubleshooting Java ES Installation ProblemsQ:What do I do if I have trouble during installation?
A:
When troubleshooting, try to identify the first problem you encountered. The first problem often leads to subsequent problems, so solving the first problem could resolve other problems. The general process for troubleshooting problems with Java ES installation includes the following activities:
Q:
What logs are available and how will they help me?
A:
Information on all installation events is captured in the installation logs. Always start any troubleshooting by scanning the log events to see what errors occurred. The logs usually give you an idea of what to do next. Two types of tracking files are available after Java ES installation:
Q:
Links to the installation logs and summary are on the last page of the installer. Log files are located here:
What are the known Java ES installation issues?
A:
Known issues (bugs) are problems in the Java ES software or documentation. Some of these issues might impact installation. You should be aware of all known installation issues before doing an installation. Known issues are discussed in the following Java ES release notes:
Q:
What is the product registry and why should I care about it?
A:
The product registry is a repository where all packages are registered when they are installed. The registry contains information such as installation location, product version, and component dependencies. All installed packages have entries in the product registry. The Solaris product registry provides a graphical interface.
Q:
Important Before installation, make a copy of your product registry so that you can restore it if installation fails. The product registry is located here:
In rare cases, the installer allows installation to proceed but only installs and registers some of the packages. You might not discover this fact until you try to start the components. In this case, run the uninstaller allowing it to update the registry. If the registry is still not correct after uninstalling the Java ES components, the registry might be corrupted. In this case, restore the original product registry and perform a new Java ES installation. What troubleshooting topics are addressed in the Java ES Installation Guide?
A:
See the following topics in the Sun Java Enterprise System Installation Guide for UNIX for solutions to some common problems:
Q:
If I made a mistake and want to erase everything and start over, what do I do?
A:
You can cancel an installation up to the point where the installer has begun copying the software to the host. If you have gone past the point where you can cancel the installation, you need to complete the installation, and then run the uninstaller. The high-level steps for this process are as follows:
Q:
What packages are installed for Java ES 5 Update 1?
A:
The Java ES packages are listed in the Sun Java Enterprise System Installation Reference for UNIX:
See Also
Q:
Default installation directories for Solaris OS, Linux, and HP-UX Where do I get troubleshooting information for individual components?
A:
The Java ES documentation contains various troubleshooting tools and tips for the product components. In addition, the Java ES Troubleshooting task page contains links to more specific troubleshooting solutions for the Java ES product components.
For more information about installing Java ES, see the Install page on the Sun Java Enterprise System information hub on BigAdmin.
Part Number 820-0465-10. Copyright 2007 Sun Microsystems. All rights reserved. Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
| |||||||||||||