5.4 Upgrading the Driver

The driver upgrade process involves updating the driver files, upgrading the installed driver packages, and updating the Sun-One plug-in.

This section provides general instructions for updating a driver. For information about updating the driver to a specific version, search for that driver patch in the NetIQ Patch Finder Download Page and follow the instructions from the Readme file accompanying the driver patch release.

5.4.1 Upgrading the Installed Packages

  1. Download the latest available packages.

    To configure Designer to automatically read the package updates when a new version of a package is available, click Windows > Preferences > NetIQ > Package Manager > Online Updates in Designer. For more information about managing packages, see the NetIQ Designer for Identity Manager Administration Guide.

  2. Upgrade the installed packages.

    1. Open the project containing the driver.

    2. Right-click the driver for which you want to upgrade an installed package, then click Driver > Properties.

    3. Click Packages.

      If there is a newer version of a package, there is check mark displayed in the Upgrades column.

    4. Click Select Operation for the package that indicates there is an upgrade available.

    5. From the drop-down list, click Upgrade.

    6. Select the version that you want to upgrade to, then click OK.

      NOTE:Designer lists all versions available for upgrade.

    7. Click Apply.

    8. (Conditional) Fill in the fields with appropriate information to upgrade the package, then click Next.

      Depending on which package you selected to upgrade, you must fill in the required information to upgrade the package.

    9. Read the summary of the packages that will be installed, then click Finish.

    10. Review the upgraded package, then click OK to close the Package Management page.

      For detailed information, see the Upgrading Installed Packages in the NetIQ Designer for Identity Manager Administration Guide.

5.4.2 Applying the Driver Patch

The driver patch updates the driver files. You can install the patch as a root or non-root user.

Prerequisites

Before installing the patch, complete the following steps:

  1. Take a back-up of the current driver configuration.

  2. (Conditional) If the driver is running with the Identity Manager engine, stop the Identity Vault and the driver instance.

  3. (Conditional) If the driver is running with a Remote Loader instance, stop the Remote Loader instance and the driver instance.

  4. In a browser, navigate to the NetIQ Patch Finder Download Page.

  5. Under Patches, click Search Patches.

  6. Specify Identity Manager nn LDAP Driver nn in the search box.

  7. Download and unzip the contents of the patch file to a temporary location on your server.

    For example, IDM45_LDAP_410.zip.

Applying the Patch as a Root User

In a root installation, the driver patch installs the driver files RPMs in the default locations on Linux. On Windows, you need to manually copy the files to the default locations.

  1. Ensure that you have completed the prerequisites for installing the patch. For more information, see Prerequisites.

  2. Update the driver files:

    • Linux: Log in to your server as root and run the following command in a command prompt:

      rpm -Uvh <Driver Patch File Temporary Location>/linux/novell-DXMLldap.rpm

      For example, rpm -Uvh <IDM45_LDAP_410.tar.gz>/linux/novell-DXMLldap.rpm

    • Windows: Navigate to the <Extracted Driver Patch File Temporary Location>\windows folder and copy the following files to <IdentityManager installation>\NDS\lib or <IdentityManager installation>\RemoteLoader\<architecture>\lib folder.

      • LDAPShim.jar

      • LDAPUtil.jar

  3. (Conditional) Copy the mapdb.jar file to <IdentityManager installation>\NDS\lib or <IdentityManager installation>\RemoteLoader\<architecture>\lib folder.

    This step is only required for driver version 4.0.2 if not performed in the previous driver patch updates.

  4. (Conditional) Replace the existing cache (JDBM) with the new cache (mapDB).

    This step is only required for driver version 4.0.2 if not performed in the previous driver updates.

    You need to resynchronize the changes made on the connected system while the driver is stopped for upgrade. This is because a new Cache (DBfiles) is being regenerated and previous cache (JDBM) will not be referenced after upgrade. Therefore, changes during this period must be resynchronized.

  5. (Conditional) If the driver is running locally, start the Identity Vault and the driver instance.

  6. (Conditional) If the driver is running with a Remote Loader instance, start the Remote Loader and the driver instance.

When JDBM is replaced with mapDB, a new set of DB files are created by mapDB and the existing cache is no longer referenced in the upgraded driver. Therefore, you must set Synchronize subsequent changes flag instead of Synchronize Everything in the upgraded driver. When this flag is set, the driver takes relatively lesser time to synchronize the objects when you have a large number of objects in the connected system.

NOTE:To install the driver on Solaris, call NetIQ Support.

Applying the Patch as a Non-Root User

  1. Verify that <non-root eDirectory location>/rpm directory exists and contains the _db.000 file.

    The _db.000 file is created during a non-root installation of the Identity Manager engine. Absence of this file in the directory might indicate that Identity Manager is not properly installed and it might be necessary to re-install it to place the file in the directory.

  2. To set the root directory to non-root eDirectory location, enter the following command in the command prompt:

    ROOTDIR=<non-root eDirectory location>

    This will set the environmental variables to the directory where eDirectory is installed as a non-root user.

  3. To install the driver files, enter the following command:

    rpm --dbpath $ROOTDIR/rpm -Uvh --relocate=/usr=$ROOTDIR/opt/novell/eDirectory --relocate=/etc=$ROOTDIR/etc --relocate=/opt/novell/eDirectory=$ROOTDIR/opt/novell/eDirectory --relocate=/opt/novell/dirxml=$ROOTDIR/opt/novell/dirxml --relocate=/var=$ROOTDIR/var --badreloc --nodeps --replacefiles <rpm-location>

    For example, to install the LDAP driver RPM, use this command:

    rpm --dbpath $ROOTDIR/rpm -Uvh --relocate=/usr=$ROOTDIR/opt/novell/eDirectory --relocate=/etc=$ROOTDIR/etc --relocate=/opt/novell/eDirectory=$ROOTDIR/opt/novell/eDirectory --relocate=/opt/novell/dirxml=$ROOTDIR/opt/novell/dirxml --relocate=/var=$ROOTDIR/var --badreloc --nodeps --replacefiles /home/user/novell-DXMLLDAP.rpm

5.4.3 Installing the SunOne Plug-In

NOTE:If your plug-in version matches the version shipped with the driver patch file version, skip this section.

  1. Locate the correct plug-in binary file in the extracted driver patch directory.

    The file is located in directories representing the supported platforms under the \sunpasswordplugin4002 directory. For example, if your Sun directory runs on Linux, look in the sunpasswordplugin4002\Linux directory. The name of the plug-in file is novl-idm-pswd.so on all platforms. On Windows, the file is named as novl-idm-pswd.dll.

  2. Copy the binary plug-in file to the correct place in your Sun Java System Directory installation.

    For example, the default installation location for Sun Java System Directory on Windows is C:\Program Files\Sun\MPS\lib directory. Copy the novl-idm-pswd.dll to the lib directory. On other platforms, the default installation location is often /var/Sun/mps. Locate the directory on your server and copy the plug-in file to the lib directory.

    NOTE:On Solaris SPARC computers, the Sun Java System Directory installation includes both 32-bit and 64-bit versions of the library. The default 32-bit version of the library is located in /var/Sun/mps/lib and the 64-bit version is located in /var/Sun/mps/lib/64. Both 32-bit and a 64-bit versions of the plug-in are included in the driver patch file. You should copy both versions to their respective locations in your Solaris installation directory. At runtime, the Sun Java System Directory appropriately determines which version to load.

  3. After making the changes, restart the Sun directory.