Sun Identity Manager 8.1 Installation

Step 3: Configure the Identity Manager Database Connection


Note –

If you plan to use a database, you may need to copy one or more files to the idm/WEB-INF/lib directory. For example, you may need to place a JAR file containing a JDBC driver (for a DriverManager connection) or a JAR file containing a JNDI InitialContextFactory (for a DataSource connection). To determine the steps you may need to perform before you go on, see the Appendix C, Database Reference.


The ServerRepository.xml file is an encrypted file that defines how to connect to the repository. Use one of the following procedures to configure the repository XML file.

ProcedureTo Configure the Repository XML file in Windows or Xwindows (UNIX) Environments

  1. Enter one of the following commands to launch the setup interface.

    On Windows


    cd %WSHOME%\bin
    lh setup

    On UNIX


    cd $WSHOME/bin
    lh setup

    The installer displays a welcome page. Click Next to display the Locate the Repository panel.

  2. Select a database from the list provided. Depending on your selection, setup prompts for additional setup information.

    Depending on your selection, setup prompts for additional setup information.


    Note –

    See Appendix C, Database Reference, for selections and setup instructions.


  3. Click Next to display the Continue Identity Manager Demo Setup? panel. Follow all subsequent prompts as directed.

ProcedureTo Configure the Repository XML file in Non-Xwindows Environments

  1. Set your repository with the following series of commands:


    cd $WSHOME/bin
    chmod 755 *
  2. Run the setRepo command, using the appropriate location flags required to connect to the database.


    Note –

    For complete setRepo usage and options, see Appendix F, setRepo Reference.


  3. Start the application server.

  4. Load the initial database values. Follow these general steps:

    1. Log in to the Administrator Interface.

    2. From the menu bar, select Configure > Import Exchange File.

    3. Enter or browse for the init.xml file (located in the idm/sample directory), and then click Import.