4. Installing Directory Server 9.1

For more detailed instructions on installing Directory Server 9.1, see the Directory Server Installation Guide.

4.1. Installing the JRE

Directory Server 9.1 requires either Oracle Java Runtime Environment (JRE) 1.8.0 or OpenJDK 1.8.0.
For example:
[root@server ~]# yum install java-1.8.0-openjdk
OpenJDK is also available for download from http://openjdk.java.net/install/.

Important

When the new JRE is installed for Directory Server 9.1, it is no longer possible to manage older instances of Directory Server using the Directory Server Console because the required JREs for the different Directory Server versions are different. You must migrate any older instance to Directory Server 9.1 if you need to manage that instance with the Directory Server Console.

4.2. Installing Packages

  1. Register your system using subscription-manager and attach the appropriate subscriptions to your system. For example:
    [root@server ~]# subscription-manager register --auto-attach
    [root@server1 ~]# subscription-manager list --available
    
    +-------------------------------------------+
        Available Subscriptions
    +-------------------------------------------+
    ....
    ProductName:            Red Hat Directory Server
    ProductId:              MKT-rhds
    PoolId:                 abcd1234
    Quantity:               10
    Expires:                2017-09-21
    [root@server1 ~]# subscription-manager attach --pool=abcd1234
  2. If necessary, enable the appropriate yum repo. For example, for a 64-bit system:
    [root@server ~]# subscription-manager repos --enable rhel-x86_64-server-6-rhdirserv-9
  3. Use the yum command to install all of the Red Hat server and console packages:
    [root@server ~]# yum install redhat-ds* redhat-idm-console
The PassSync.msi installer is available in the WinSync package in the Directory Server channel, through the Downloads tab. Download this file to the Windows machine, and then double-click the icon and go through the installer.
There are two PassSync packages available, one for 32-bit Windows servers and one for 64-bit. Make sure to select the appropriate packages for your Windows platform.

Note

PassSync is supported on Microsoft Windows Server 2008 R2 only.

4.3. Running setup-ds-admin.pl to Create a Server Instance

After installing the packages, run the setup-ds-admin.pl script to configure the new Directory Server and Admin Server instances. For example:
setup-ds-admin.pl
At least one Admin Server instance is required, but after that first Admin Server is created, then additional Directory Server instances can be created using setup-ds.pl. The Directory Server instances then point to the Configuration Directory Server and Admin Server.
See the Directory Server Installation Guide for more information about setup-ds-admin.pl script options and the Directory Server configuration interface.

4.4. Upgrading from Directory Server 8.2 to Directory Server 9.1

For details, see the corresponding section in the Red Hat Directory Server Installation Guide.

Note

Upgrade is only supported from 8.2 to 9.1. Other versions of Red Hat Directory Server should be migrated to 8.2 and then upgraded to 9.1.