6.4 Installing Identity Manager on RHEL 6.x or 7.x Servers

To install Identity Manager on a server running Red Hat Enterprise Linux 6.x or 7.x operating systems, ensure that the server meets a specific set of prerequisites.

6.4.1 Prerequisites

NetIQ recommends that you review the following prerequisites:

  • If you have a loopback address alias to the hostname of the system in an /etc/hosts entry, it must be changed to the hostname or IP address. That is, if you have an entry similar to the one below in your /etc/hosts file, it needs to be changed to the correct entry given in second example below.

    The following example has problems when any utility tries to resolve to the ndsd server:

    127.0.0.1 test-system localhost.localdomain localhost

    The following is a correct example entry in /etc/hosts:

    127.0.0.1 localhost.localdomain localhost
    10.77.11.10 test-system

    If any third-party tool or utility resolves through localhost, it needs to be changed to resolve through a hostname or IP address and not through the localhost address.

  • Install the appropriate libraries on the server. For more information, see Ensuring that the Server has Dependent Libraries.

6.4.2 Running a Prerequisite Check

You can generate a report of the missing prerequisites for each Identity Manager component. Run the ./II-rhel-Prerequisite.sh script, located in the <Identity Manager build extracted location>\install\utilities directory of the installation kit.

6.4.3 Ensuring that the Server has Dependent Libraries

On a 64-bit platform, the required libraries for RHEL vary according to your chosen method of installation. Install the dependent libraries or rpms in the listed order.

NOTE:To add a ksh file, you can enter the following command:

yum -y install ksh
  • Guided installation (GUI):

    • libXau-*.i686.rpm

    • libxcb-*.i686.rpm

    • libX11-*.i686.rpm

    • libXext-*.i686.rpm

    • libXi-*.i686.rpm

    • libXtst-*.i686.rpm

    • glibc-*.i686.rpm

    • libstdc++-*.i686.rpm

    • libgcc-*.i686.rpm

    • compat-libstdc++-33-*.x86_64.rpm

    • compat-libstdc++-33-*.i686.rpm

    • libXrender-*.i686.rpm

  • Command line installation (console or silent):

    • glibc-*.i686.rpm

    • libstdc++-*.i686.rpm

    • libgcc-*.i686.rpm

    • compat-libstdc++-33-*.x86_64.rpm

    • compat-libstdc++-33-*.i686.rpm

    • libXtst-*.i686.rpm

    • libXrender-*.i686.rpm

NOTE:NetIQ recommends you to obtain the dependent packages from your operating system subscription service to ensure continued support from your operating system vendor. If you do not have a subscription service, you can find the recent packages from a website such as http://rpmfind.net/linux.

6.4.4 Creating a Repository for the Installation Media

If your RHEL 6.x or 7.x server needs a repository for the installation media, you can manually create one.

NOTE:

  • Your RHEL server must also have the appropriate libraries installed. For more information, see Ensuring that the Server has Dependent Libraries.

  • Ensure that the unzip rpm is installed before installing Identity Manager. This applies to all Linux platforms.

To set up a repository for the installation:

  1. Create a mount point in your local server.

    Example: /mnt/rhel (mkdir –p /mnt/rhel)

  2. If you use an installation media, you can mount using the following command:

    # mount -o loop /dev/sr0 /mnt/rhel

    OR

    Mount the RHEL 7 installation ISO to a directory like /mnt/rhel, using the following command:

    # mount -o loop RHEL7.x.iso /mnt/rhel

    Download RHEL 6.x or 7.x iso and mount the same.

    For example: mount -o loop <path_to_downloaded rhel*.iso> /mnt/rhel

  3. Copy the media.repo file from the root of the mounted directory to /etc/yum.repos.d/ and set the required permissions.

    For example:

    # cp /mnt/rhel/media.repo /etc/yum.repos.d/rhel7dvd.repo
    # chmod 644 /etc/yum.repos.d/rhel7dvd.repo
          
  4. Edit the new repo file by changing the gpgcheck=0 setting to 1 and add the following:

    enabled=1
    baseurl=file:///mnt/rhel/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    In the end, the new repo file would look like the following (though the mediaid would be different depending on the RHEL version):

    [InstallMedia]
    name=DVD for Red Hat Enterprise Linux 7.1 Server
    mediaid=1359576196.686790
    metadata_expire=-1
    gpgcheck=1
    cost=500
    enabled=1
    baseurl=file:///mnt/rhel
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  5. To install the 32-bit packages, change “exactarch=1” to “exactarch=0” in the /etc/yum.conf file.

  6. To install the required packages for Identity Manager on RHEL 6.x, create an install.sh file and add the following contents to the file:

    #!/bin/bash
    yum clean all
    yum repolist
    yum makecache
    
    PKGS="ksh gettext.x86_64 libXrender.i686 libXau.i686 libxcb.i686 libX11.i686 libXext.i686 libXi.i686 libXtst.i686 glibc.x86_64 libstdc++.i686 libstdc++.x86_64 libgcc.x86_64 compat-libstdc++-33.x86_64"
    
    for PKG in $PKGS;
    do
    yum -y install "$PKG"
    done

    NOTE:The script cannot locate libstdc++.i686 library in the 64-bit repository unless you have modified the 64-bit repository to 32-bit repository (Refer to step 6).

  7. To install the required packages for Identity Manager on RHEL7.x, create an install.sh file and add the following contents to the file:

    #!/bin/bash
    yum clean all
    yum repolist
    yum makecache
    
    PKGS="ksh gettext.x86_64 libXrender.i686 libXau.i686 libxcb.i686 libX11.i686 libXext.i686 libXi.i686 libXtst.i686 glibc.x86_64 libstdc++.i686 libstdc++.x86_64 libgcc.x86_64"
    
    for PKG in $PKGS;
    do
    yum -y install "$PKG"
    done

    NOTE:As the installation media does not contain compat-libstdc++-33-*.i686.rpm and compat-libstdc++-33-*.x86_64.rpm. It needs to be downloaded from the Red Hat portal.

    Example: To install the compat-libstdc++-33-*.x86_64.rpm, run the following command:

    yum -y install compat-libstdc++-33-*.x86_64.rpm
  8. Run the install.sh file created in Step 8 or Step 7 depending on the RHEL version.

  9. To confirm if the prerequisites are met, run the script mentioned Running a Prerequisite Check.

  10. Install Identity Manager 4.6.