Previous Contents Index DocHome Next |
iPlanet Application Server Installation Guide |
Chapter 2 Easy iPlanet Application Server Installations
This chapter includes the following topics:
About the Easy Installations
Read this chapter before using the ezsetup, Typical, or Express iPlanet Application Server installations. For any late breaking updates to these instructions, check the Release Notes at:http://docs.iplanet.com/docs/manuals/ias.html
For more information about configuring your application server after installation, refer to the iPlanet Application Server Administrator's Guide.
About the Easy Installations
The easiest iPlanet Application Server software installation options are as follows:
ezsetup; at most, a two step installation, which sets ports, usernames, and passwords to default values
The ezsetup installation, is an standalone application you launch from the desktop. It is the easiest of the installation options. The ezsetup installer runs a script which assigns default values to administrator user names and passwords. You only have to questions to answer in two dialog boxes before the installation performs.Express; requires slightly more user input than ezsetup
Typical; requires most user input but yields an installation that is essentially the same as that performed by ezsetup
The Express and Typical options afford more flexibility. As a result of this, you answer more questions during the installation process. It is recommended that you keep it simple by postponing configuration of the iPlanet Application Server until after installation is complete. You can then configure your iPlanet Application Server instances by using the Administration Tool.
About Database Access
To configure a new iPlanet Application Server instance for database access, it is recommended that you use one of the iPlanet Application Server database setup tools after installation. You can use these tools to configure your applications and components for third party JDBC access.
Configuring Database Drivers
Third party JDBC drivers need be identified to iPlanet either during application server installation, or by using registration tools after installation. Registration must occur on each application server instance that houses applications which use third party JDBC driver datasources.
During Installation
You can configure the third party JDBC drivers only through the Custom installation option. If you use the Express or Typical installation, see the next section for configuring the third party JDBC drivers after installation of the application server.
After Installation
Configure third party JDBC drivers after installation by executing a JDBC driver configuration tool. When configuring after installation, you must restart the application server to apply the driver changes.
For NT, execute the jdbcsetup.exe program. (Registration of iPlanet Type 2 JDBC drivers for the supported database platforms is automatic since iPlanet recognizes the presence of the supported native client libraries).
For Solaris, execute the db_setup.sh script. (Same command used to configure iPlanet Type 2 drivers).
What You're Installing
The software you're installing for iPlanet Application Server, actually consists of a group or stack of components, including:
iPlanet Directory Server, Enterprise Edition 4.1 (SP5) or later
See Chapter 1 "Getting Started," for an overview of the iPlanet Application Server features and components. For more specific information about any of the other server or components, check the iPlanet Web site at:iPlanet Console, which has its own Administration Server
iPlanet Application Server Administration Server and the tools that use it:
Using Easy Installation Options for Windows NT
The easy installation options consist of the standalone ezsetup application, plus the two Wizard installation options: Express and Typical.
Checklist for Windows NT
Prepare to install by making sure you provide the requirements in the following checklist:
Your system satisfies the following requirements:
Microsoft Windows NT version 4.0 with Service Pack 5 or 6
Login to the Windows NT system as a user who has administrative privilegesMinimum of 256 MB memory; 512 MB of memory recommended
Tip On a FAT file system, the installer may not calculate the needed space correctly and may run out of disk space without warning.
Have the product key nearby; it's in the Welcome letter
Ensure that a static IP address is assigned to the installation machine (contact your system administrator to get one)
Install and run either of the following Web servers:
iPlanet Web Server, Enterprise Edition 4.1 or later
Install and run either of the following Web browsers:Microsoft Internet Information Server 4.0 or later
Note You can download the iPlanet Web Server 4.1, Enterprise Edition from:
http://www.iplanet.com/downloads/download/
Using ezsetup on NT
The standalone ezsetup application performs an iPlanet Application Server installation that sets the default values in Table 2-1.
:
Table 2-1    The following usernames and passwords are set as defaults
Component
Username
Password
Directory Manager
iPlanet Administration Server
Ensure conditions in "Checklist for Windows NT" are met.
Launch the ezSetup application by double-clicking on the file ezSetup.exe, which you find in the ezSetup directory.
Select the Web server instance to associate with iPlanet Application Server.
Select the default pathway or click the ellipsis (...) to browse through your computers' files and select another directory.
Click OK and the server installs without any further prompts.
To Start the Wizard Installations
The iPlanet Application Server Installation Wizard's Express and Typical Installation options both require very little user input. The first six (6) screens of all the Wizard Installations are the same for all.
Ensure conditions in "Checklist for Windows NT" are met.
The Express and Typical installations are described following this. For information on Custom installation, see Chapter 4 "Advanced Installations for Windows NT."If you are installing from a CD-ROM, the installation wizard should start automatically. If it does not, browse the CD-ROM drive to locate and launch the file: setup.exe.
Click Next after the Welcome screen appears.
To continue, you must accept the license agreement by clicking Yes.
This installation, by default, installs the iPlanet Server group. If you select iPlanet Console, this software wizard installs the iPlanet Administration Console as a standalone application.
After clicking Next, the Type of Installation panel appears..
Using Express Installation
Since the first steps of the Installation wizard are the same for all of its options, execute the steps in, "To Start the Wizard Installations" on page 30, before you start the following procedure. Click Next after each step.
To Start the Express Installation
Select Express as the type of installation to perform.
On the Location of Installation panel, do either of the following:
Accept the default pathway as the location in which to install the server
On the Components to Install panel, the default choices indicate those installed during a full installation. In addition, you can click the Change button to further refine your choices. This displays the subcomponents associated with each component selection.Click the ellipsis (...) to browse through your computers' files and select another directory.
- Your selections at the component level of the Components to Install panel enables you to:
De-select the Directory Suite component and thereby not install it or its subcomponents; do this if you have an already installed directory service available.
De-select Administrations Services if you don't want the iPlanet Console
Install only the iPlanet Application Server by de-selecting everything else; or click Change and deselect the Web server for a "Webless" install. For more information, see "Installing the Web Connector Plug-in" on page 101.
.
Installing the Directory Suite
For an overview of the various functions of the Directory Server, see the iPlanet Directory Server Installation Guide.Within the iPlanet Application Server installation there are several panels having to do with installing and configuring the Directory Suite. The Express Installation Wizard panels set up the:
Administrator for the Configuration Directory Server
These panels and their function are described in the following procedures.Administrator for the Directory Server directory data; this "superuser" is identified by the Directory Manager Distinguished Name (DN)
To Set up the Configuration Directory Server Administrator
Assign the Administrator ID and Password for the Configuration Directory Server, on the Directory Server 4.1 panel, as follows:
Configuration Directory Administrator ID; admin is the default, keeping it makes it easier to remember later
Password; can be letters and numbers
- For more information about the Configuration Directory Server, see iPlanet Directory Server Deployment Guide, on the Web at:
http://docs.iplanet.com/docs/manuals/directory.html
To Set Up the Directory Manager Distinguished Name
The Directory Manager's Distinguished Name is the special directory entry to which access control does not apply. You can think of the Directory Manager as your directory's superuser.
Enter the Directory Manager DN or keep the default.
Enter the Directory Manager's password; it must be at least 8 characters long.
- In most cases, it is best to keep the default value, which is set to the common name of Directory Manager, as follows:
cn=Directory Manager
To Enter the Product Key
The Product Key is in the Welcome Letter you received with iPlanet Application Server. You must enter this number correctly for installation to continue.
Locate the Welcome letter that comes with your newly purchased iPlanet Application Server, enter this number into the Product Key field.
To Configure for Web Server Communication
The iPlanet Application Server installer configures the Web Server for communication by installing the Web connector plug-in.
Set the Web Server type by choosing one of the following options:
iPlanet Application Server supports iPlanet Web Server and Microsoft Internet Information Server. If more than one instance is running, use the Web Server Instance drop-down menu to locate an instance to associate with iPlanet Application Server.
Select None if you do not have a Web server installed. This causes iPlanet Application Server Installer to continue without installing the Web Connector plug-in. This is referred to as a "webless" installation. For more information, see "Installing the Web Connector Plug-in" on page 101.
Note This type of installation is necessary if your Web server is installed on a remote machine. After you are finished installing iPlanet Application Server, you must go to that machine and install the Web connector. See "Installing the Web Connector Plug-in" for the Solaris instructions or see page 101 for the Windows NT procedure details.
To Set up Administration Server Authentication
This sets up the user name and password for the iPlanet Console.
To set up the Administration Server access, you must enter an Administrator Username and Password.
To Install Internationalization Support
To enable support for standard Java internationalization, select Yes on the Internationalization panel.
Check the settings you chose using the installer on the Configuration Summary panel.
After the Installer finishes, reboot the machine so the new settings can take effect.If there are errors, click Back to page back through the panels and correct them.
Using the Typical Installation Option
Since the first steps of the Installation wizard are the same for all of its options, execute the steps in, "To Start the Wizard Installations" on page 30, before you start the following procedure. Click Next after each step.
Select Typical as the type of installation to perform.
On the Location of Installation panel, do either of the following:
Accept the default pathway as the location in which to install the server
Click the ellipsis (...) to browse through your computers' files and select another directory.
On the Components to Install panel, the default choices indicate those installed during a full installation. In addition, you can click the Change button to further refine your choices. This displays the subcomponents associated with each component selection.
- Your selections at the component level of the Components to Install panel enables you to:
De-select the Directory Suite component and thereby not install it or its subcomponents; do this if you have an already installed directory service available.
De-select Administrations Services if you don't want the iPlanet Console
Install only the iPlanet Application Server by de-selecting everything else; or click Change and deselect the Web server for a "Webless" install. For more information, see "Installing the Web Connector Plug-in" on page 101.
.
Installing the Directory Suite
For an overview of the various functions of the Directory Server, see the iPlanet Directory Server Installation Guide.By definition, the Directory Server stores configuration data and directory data. An administrator, who has the privileges to administer this data, exists for the Directory Server's configuration and data storage databases.
Within the iPlanet Application Server installation there are several panels which:
Install a Directory Server
Register the Directory Server's data tree by indicating what Directory Server stores:
Sets up following administrators:
Records general settings for the Directory server's
Sets Administrative Domain boundaries for the Directory Server
To Designate the Configuration Directory Server
The Configuration Directory Server contains the data tree used by iPlanet Application Server. The Directory Server stores these configuration settings in the data tree: o=NetscapeRoot under the suffix that you set up to identify your organization. Multiple server installations can store their configuration settings on this Configuration Directory Server.If you don't install Directory Server with iPlanet Application Server, you must designate an existing Directory Server as the configuration directory. The Directory Server you designate as the configuration directory must contain the data tree: o=NetscapeRoot.
On the Directory Server 4.1 panel, choose one of the following options:
The next panel sets up the Directory Server's data storage.Set a new Directory Server as the Configuration Directory by keeping the default setting.
Use an existing Directory Server by selecting "Use existing configuration Directory Server," then fill in the information used to identify that server.
To Set Up iPlanet Application Server Data Storage
The Directory Server gives you the option to distribute data amongst multiple Directory Server databases. It does this by using a plugin that chains together distributed data. For more information, see iPlanet Directory Server Deployment Guide, which is available on the Web.Choose one of the following options:
To store directory data in the newly installed Directory Server, select that option.
To use an already installed Directory Server for data storage, select that option and supply the following general settings of the existing Directory Server:
To set the Directory Server's General Settings
These settings consist of an identifier for the Directory Server's host machine, the port number of the LDAP communication port, and the data information tree suffix that is used to identify the root of the database tree for this iPlanet Application Server installation or the Directory Server.The suffix is the name of the entry at the top of the Directory Server data tree, below which iPlanet Application Server data is stored. For more information on standard directory suffixes, see the iPlanet Directory Server Administrator's Guide.
The Server Identifier is set to the local host (which is the computer you are installing the Directory Server on.)
The default Server Port number is389 (the standard LDAP port number); if that port is not in use, otherwise it's a randomly generated number.
The default is set to the domain name for the computer you're installing on.
To Finish Setting up the Directory Server's Administration Services
Since a Directory Server may store Configuration information for multiple domains, the Administration Domain is used to keep these separate. For more advanced configurations and information about using the Directory Server to store information about multiple domains, see see the iPlanet Directory Server Administrator's Guide.
The default setting for the Administration Domain is set to the installation computer's domain. If you need to change this value, you should use a name that corresponds to the organizations that control the servers in each domain.
Enter a Directory Administrator (Manager) user name and password.
Set the Administrator Port Number to the default port number by clicking Next.
The Directory Manager's Distinguished Name is the special directory entry to which access control does not apply. You can think of the Directory Manager as your directory's superuser. On the Directory Manager Settings panel, enter a Directory Manager DN or keep the default.
Enter the Directory Manager's password; it must be at least 8 characters long.
- The default value is set to the common name of Directory Manager, as: cn=Directory Manager
Enter the Product Key; it's in the iPlanet Application Server Welcome letter.
Indicate the Web Server type (which must be installed already) by choosing:
iPlanet Web Server
Click Next and enter the user name and password for the iPlanet Administration server.Microsoft Internet Information Server (IIS)
None; in this case a Webless install proceeds. After you are finished with this installation you must install the Web Connector Plug-in. See the procedure, "Installing the Web Connector Plug-in".
Choose to either install support for Internationalization or not and click Next.
- The Internationalization panel appears.
Scroll down the Current Settings list to check the settings you specified. If you need to change anything click Back, otherwise click Install.
- The Configuration Summary panel appears.
To finish, restart your computer so the new settings can take effect.
- An Installation Progress indicator bar appears.
Verifying Installation
You can use a preinstalled application to verify that iPlanet Application Server is running. This basic application uses servlets and JSPs without a database, so that it runs without any post-installation setup.
Open your browser and enter the following URL:
Press Enter.
- http://yourwebserver:portnumber/ias-samples/index.html
Click the Test Connectivity to iPlanet Application Server link to run a basic application.
Press the Shift key and click the browser's Reload button to ensure the application repeatedly returns a new HTML stream.
Using the Easy Installation Options for Solaris
Before you begin installing check to see that you satisfy the system requirements. Once these are satisfied, you can follow your choice of the following installation procedures:
"Using ezsetup on Solaris" on page 43
Checklist for Solaris
Before beginning installation, your system must meet the following requirements:
Have your product key nearby; it's in the Welcome letter
Ensure that a static IP address is assigned to the server machine (contact your system administrator to get one)
Sun SPARC running Solaris 2.6 or Solaris 8
Minimum Memory of 256 MB per CPU; 512 MB per CPU recommended
Establish a UNIX user and group for iPlanet Application Server. You use this account to install and manage iPlanet Application Server.
Install and run a iPlanet Web server 4.1 Enterprise Edition, or later.
Using ezsetup on Solaris
The ezsetup application requires almost no user input because it assigns default values for the iPlanet Application Server's component's usernames and passwords.This installation is not intended for working developers or production environments.
Table 2-2    Default values assigned for username and password
Component
username
password
Directory manager
iPlanet Application Server Administration Server
Make sure the Web server is installed and running.
Access ezsetup from the CD-ROM or command line.
Enter the username and group used to represent the iPlanet Application Server in the installation of the Web server.
Enter the iPlanet Application Server installation directory.
When prompted for the installation location, enter the full path where the Web server is installed.
- The iPlanet Application Server is installed with the configuration shown in Table 2-2.
Starting Solaris Installations
Before you begin installing iPlanet Application Server, see "Checklist for Solaris" on page 42.
During iPlanet Application Server installation on the Solaris platform, use the following keystroke commands:
Enter key; accepts that screen's default setting and goes to next screen.
CTL+B; goes back to the previous screen within an installation section, as defined by the title at the top of the screen. You cannot use CTL+B to go back to a screen in a different section.
CTL+C; exits the installation once exited, the installer starts over at the beginning.
To Begin Installation
The following procedure is common to all the Solaris installations.
Login as root.
The next screen allows you to choose the installation type. The Express Installation is described next. For a description of the typical installer, see "Using the Typical Installation" on page 49.Insert the iPlanet Application Server Install CD-ROM into the CD-ROM drive.
At the prompt, run the following command: /cdrom/cdrom0/solaris/setup
When the license agreement appears you must enter Y to continue.
- The Tips screen appears.
The installer installs, by default, the iPlanet Servers group unless you select the iPlanet Console instead.
Using the Express Installer
Before beginning this iPlanet Application Server installation:
Ensure that all requirement in "Checklist for Solaris" on page 42 are met.
Perform the procedure in "Starting Solaris Installations" on page 44.
Enter the number 1 to select the Express Installation type.
The default iPlanet Application Server installation directory location is: /usr/iplanet/ias6
On the Components to Install panel, the default choices indicate those that are installed during a full installation. You may choose to:
- If you enter a different location, do not include spaces in the path name.
.
Note You must have at least 400 MB available on this drive to install. All components are installed in this directory
Accept the default choices.
Type in the system user and group names.De-select the Directory Suite component if you have an already installed directory service available.
De-select Administrations Services if you don't want the iPlanet Console
De-select everything but the iPlanet Application Server
- This user and group should be set up prior to running the installation program.
Installing the Directory Server
For an overview of its various functions, see the iPlanet Directory Server Installation Guide.Within the iPlanet Application Server installation there are several panels having to do with installing and configuring the Directory Suite. The Express Installation Wizard panels set up the:
Administrator for the Configuration Directory Server
These panels and their function are described in the following procedures.Administrator for the Directory Server directory data; this "superuser" is identified by the Directory Manager Distinguished Name (DN)
To Set up the Configuration Directory Server Administrator
The Configuration Directory Server is the part of the Directory Server used to store configuration information. This ID and password is used to login to the iPlanet Console. To learn more about the Directory Server, see the Directory Server documentation on the iPlanet Web site.
Assign the Administrator ID and password for the Configuration Directory Server:
The default Configuration Directory Administrator ID is: admin
Enter a password: it can contain letters and numbers.
To Set Up the Directory Manager Distinguished Name
The Directory Manager's Distinguished Name is the special directory entry for the administrator of the Directory Server. Access control does not apply to the Directory Manager.
Keep the default value Directory Manager DN, which is set to the common name of Directory Manager (cn=Directory Manager). Or, if necessary, enter a different Directory Manager.
Enter a password for the Directory Manager that is at least 8 characters long.
- The Directory Server is now configured for installation.
Enter the Product Key; it's is in the Welcome letter you received with iPlanet Application Server.
- You must enter this number correctly for installation to continue.
Enter the full path to your running Web server instance.
- The iPlanet Application Server Web Connector Plug-in is installed and configured to the Web Server instance that is identified here.
To Create an Administration Server Username
Type in the user name and password.
Record these. After installation, you'll need these to register iPlanet Application Server with the iPlanet Application Server Administration Tool.
To Enable Standard Java Internationalization
To enable standard Java internationalization for iPlanet Application Server applications, type Y, otherwise accept the default.
Pressing Enter on the previous screen completes the Installation and generates a report of the port number assigned.
Scan the port numbers report and record or print them out.
Use the command at the end of the Port Number Report to start iPlanet Console.
- After installation, the numbers are used to administer this installation.
Using the Typical Installation
Before beginning this iPlanet Application Server installation:
Ensure that all requirement in "Checklist for Solaris" on page 42 are met.
Perform the procedure in "Starting Solaris Installations" on page 44.
Enter the number 2 to select the Typical Installation type.
The default iPlanet Application Server installation directory location is: /usr/iplanet/ias6. If you enter a different location, do not include spaces in the path name.
Note You must have at least 400 MB available on this drive to install iPlanet Application Server. All components are installed in this base directory.
On the iPlanet Server Products Components panel, the default choice of [All] indicates which components are installed during a full install of iPlanet Application Server. You may choose to:
Keep the default selection. If you choose [All], the parts of each component are listed in subsequent screens, so that you can refine your choices further.
After you move through all the components windows and make your choices, enter the name of the computer you are installing on - it should be the default.De-select the Directory Suite component if you have an already installed directory service available.
De-select Administrations Services if you don't want the iPlanet Console
De-select everything but the iPlanet Application Server
Type in the system user and group name you set up for use with the iPlanet Application Server prior to running the installation program.
To Set Up the Directory Server
The Configuration Directory Server is used to store configuration information. This ID and password is used to login to it using the iPlanet Console. For an overview of the Directory Server's functions, see the iPlanet Directory Server Installation Guide. It may be a dedicated server instance or a branch of a single Directory Server. The Directory Server also stores directory data. The following steps set up the Directory Server configuration for use with this new iPlanet Application Server instance.
To register iPlanet Application Server's configuration information with a Directory Server instance that you already installed, enter Yes.
To register iPlanet Application Server's data storage, for like user and group information, with a Directory Server instance that you already installed, enter Yes.
- The default choice is No, so that the Directory Server instance installed with this installer is registered for use by iPlanet Application Server.
Set the listener port for the Directory Server; by default it is set to the standard port number: 389. For more information, see "Port Numbers" on page 103, in Appendix A.
- The default choice is No, so that the Directory Server instance installed with this installer is registered for directory data storage use by iPlanet Application Server.
Enter a unique identifier for the Directory Server. By default, it's set to the name of the computer it's being installed on.
Assign the Administrator ID and password for the Configuration Directory Server, as follows:
Enter a Configuration Directory Administrator ID, the default is: [admin].
Enter a password: it can contain letters and numbers.
Enter the data information tree suffix for your organization. For instance, if an organization uses the distinguished name service (DNS) of iplanet.com, then a reasonable suffix for identifying that organizations' data is: o=iplanet.com.
Enter a distinguished name (DN) for Directory Server Administrator identification. The default value Directory Manager DN, which is set to the common name of Directory Manager (cn=Directory Manager).
Enter a password for the Directory Manager that is at least 8 characters long.
- The Directory Manager's Distinguished Name is the special directory entry for the administrator of the Directory Server. Access control does not apply to the Directory Manager.
Enter an administration domain to use for keeping software configuration information stored in the Configuration Directory Server distinct from other such information.
Set the port number of the iPlanet Console's Administration Server.By default it is set to a random unused port number between 1024 and 65535. For more information, see "Port Numbers" on page 103, in Appendix A.
- The Directory Server is now configured for installation.
Set the username who will have the privilege to write configuration information to the Directory Server by using the iPlanet Console. By default, this is set to: root
Enter the product key number in the Product Key field.
Enter the full path of the Web server instance that is already installed and running.
- The Product Key is in the welcome letter you received with iPlanet Application Server. You must enter this number correctly for installation to continue.
Type in the username and password to use for the iPlanet Application Server Administration and Deployment Tools.
- The iPlanet Application Server Web connector is installed and configured to the Web Server instance that is identified here.
To enable standard Java internationalization for iPlanet Application Server applications, type Y, otherwise accept the default, which is No.
- After installation, you'll need these to register iPlanet Application Server and to use the iPlanet Application Server Administration Tool.
Pressing Enter on the previous screen completes the Installation and generates a report of the port number assigned.
Scan the port numbers report and record them or print them out.
- After installation, the numbers are used in the iPlanet Application Server Administration Tool, to administer this installation.
Verifying Installation
The iPlanet Web site provides an application that verifies connectivity of your iPlanet Application Server installation. Since this basic application, which uses servlets and JSPs, does not rely on a database, it runs without any extra setup.
Open your browser and enter the following URL:
http://yourwebserver:portnumber/ias-samples/index.html
Click on Test Connectivity to iPlanet Application Server to run a basic application. Press the shift key and click on the browser's Reload button to ensure the application repeatedly returns a new HTML stream.
Using the Sample Applications
To better understand specific technology features provided by iPlanet Application Server, run the iPlanet Application Server Technology Samples.
To Use the Sample Applications
Start running iPlanet Application Server.
After you become familiar with the iPlanet Application Server sample applications, run the Sun Samples, which are applications based on those found at http://java.sun.com. The Java Pet Store example in particular demonstrates how a popular J2EE application is deployed to iPlanet Application Server.Open your browser, enter the following URL, and press Enter:
http://yourwebserver:portnumber/ias-samples/index.html
Select the iPlanet Application Server J2EE Application Samples link and select a specific sample application. Follow the application-specific setup instructions to establish the necessary database settings and to run the application.
You can review the source code of the sample applications and associated J2EE XML Deployment Descriptors by browsing in the following location:
You can also find compile scripts at this site for experimenting with the sample code.
Previous Contents Index DocHome Next
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated February 09, 2001