6.4 Handling RPM Updates and Third Party Files

This service pack provides an efficient way to handle RPM updates and third-party files in a container. This can be achieved by placing the required RPM files, library (.so) files, and third-party .jar files in the mountfiles directory. The RPM files present in the mountfiles directory will be updated forcefully. The .so and .jar files are automatically soft linked to the /opt/novell/eDirectory/lib64/nds-modules/ and /opt/novell/eDirectory/lib/dirxml/classes/ directories respectively when the containers are deployed. However, each time you want to handle any supported files after the containers are deployed, place those files in the mountfiles directory and restart the container.

NOTE:Currently, this enhancement is applicable for Identity Manager and Remote Loader containers.

  1. On your Docker host, navigate to the shared directory. For example, /data.

  2. For Identity Manager Engine container, perform the following steps:

    1. Create the idm directory.

      mkdir idm

      NOTE:This applies only when you are deploying containers for the first time. In other words, if you are updating the Identity Manager Engine container and have already created the idm directory before, skip this step.

    2. Navigate to the idm directory.

    3. Create the mountfiles directory.

      mkdir mountfiles

  3. For Remote Loader container, perform the following steps:

    1. Create the rdxml directory.

      mkdir rdxml

      NOTE:This applies only when you are deploying containers for the first time. In other words, if you are updating the Remote Loader container and have already created the rdxml directory before, skip this step.

    2. Navigate to the rdxml directory.

    3. Create the mountfiles directory.

      mkdir mountfiles

  4. Copy the required files to the respective container-specific mountfiles directory.

    For example, if you want to patch a driver to the latest version, place the driver RPM file in the /data/idm/mountfiles directory.

    NOTE:The supported file formats are .so, .jar, and .rpm.

  5. Deploy the container. For example, see Deploying Identity Manager Engine Container.

  6. (Conditional) If you want to handle additional files after the container is deployed, perform the following steps:

    1. Place the files in the mountfiles directory. For example, /data/idm/mountfiles.

    2. Restart the container.

      docker restart <container name>