Sun Java[tm] System Identity Manager Quick Start Guide |
Chapter 2
Before You BeginThis chapter describes requirements for installing Identity Manager, including:
Required PrivilegesYou must have administrator privileges on the resource you are going to manage (Active Directory, LDAP, Red Hat Linux, or Solaris) for the product demonstration.
Memory RequirementsDetermine your memory requirements and set values in your Apache Tomcat application server's JVM by adding maximum and minimum heap size to the Java command line. For example:
java -Xmx512M -Xms512M
You can specify these values in Tomcat by setting the JAVA_OPTS environment variable as follows:
Software RequirementsBefore you install Identity Manager, you must install the following software:
- Install MySQL 5.0 — Download from http://dev.mysql.com/downloads/mysql/5.0.html
You must set up MySQL 5.0 as the Identity Manager repository.
See Setting Up MySQL for instructions.
- Install Tomcat 5.0 — Download from http://tomcat.apache.org/
See Installing Tomcat 5.0 Software for installation instructions.
Setting Up MySQL
Follow these steps to set up MySQL for use with Identity Manager.
- Install the MySQL software and start the MySQL process (if it does not start automatically).
- Create the database. To do this:
- Copy the create_waveset_tables.mysql script from the db_scripts directory on the installation CD (or from the idm\sample directory if you have already installed) to a temporary location.
- Modify the following three lines in the create_waveset_tables.mysql script to change the database user password. Replace the waveset in single quotes with the password:
GRANT ALL PRIVILEGES on waveset.* TO waveset IDENTIFIED BY 'waveset';
GRANT ALL PRIVILEGES on waveset.* TO waveset@'%' IDENTIFIED BY 'waveset';
GRANT ALL PRIVILEGES on waveset.* TO waveset@localhost IDENTIFIED BY 'waveset';
- Use one of the following commands to create the new tables:
Installing Tomcat 5.0 Software
Install the Tomcat software according to the instructions provided by the application server provider. You will find helpful information at the Jakarta Project site, located at
http://jakarta.apache.org/tomcat/.
Installing on Windows
If you are installing from the Tomcat installer:
- Specify the Tomcat installation location.
- Select to start Tomcat as a service, and then specify the port on which to run.
The default port is 8080.
- Add the Java mail.jar and activiation.jar files to the following directory:
./tomcat/common/lib
The mail and activation jar files can be found at these locations:
http://java.sun.com/products/javamail
Installing on UNIX
After downloading and unpacking the Tomcat 5.0 installation bundle, modify the Tomcat start-up script by adding these lines to the top of the setclasspath.sh file in the $TOMCAT_HOME/bin directory:
JAVA_HOME=Location of a JDK
BASEDIR=Location of your unpacked Tomcat
export JAVA_HOME BASEDIRAfter downloading and installing all of the prerequisite software, you can install and configure Identity Manager. Continue to the next chapter for instructions.
Prerequisite TasksBefore installing Identity Manager software, you must:
Decide Where to Store Index Repository Files
You must create the directory where you will store application files before launching the installation program. You can store application files in a staging folder, or you can install into your application server's Web application directory.
Using a Staging Directory
Because the applications are based on J2EE Web, you can store them in a staging folder. This staging folder is used to deploy the application into your specific application server. Typically, a Web Application Archive (.war) file is created for use in the deployment steps.
Using a Web Application Directory
You can choose to install directly into Tomcat's Web application directory. In this case, you will specify the Web application directory during installation. The installation program will place the Identity Manager files in folder named idm in that location by default.
Set Up a Java Virtual Machine and Java Compiler
The application requires a Java compiler and a Java Virtual Machine (JVM) to run the Java classes that perform actions within Identity Manager. Both of these can be found in a Java SDK. (The JRE packages do not include a Java compiler.)
Set Up an Index Database
To set up an index database, you can
- Use a third-party relational database to store the system index data.
- Modify the sample database scripts provided by Identity Manager to create tables and indexes.
Note
If you modify these scripts, you must make equivalent changes to any sample database upgrade scripts that you receive in the future.
- Use an alternate method to create equivalent tables and indexes, but it must meet these requirements:
- Tables (or views) must exist with the names specified in the sample DDL.
- Each named table (or view) must be owned by (or aliased to) the proxy user that is represented as “waveset” in the sample DDL.
- Each named table (or view) must contain all of the columns specified for that table in the sample DDL.
- Each named column must have a data type that is consistent with the data type specified for that column in the sample DDL.