DLM Installation and Upgrade
Also available as:
PDF

Upgrade DLM Engine

DLM supports 1.3.0 version with HDP 2.6.5 1050 release. If you are on an earlier release of HDP, you must upgrade to HDP 2.6.5 1050 release.

  1. Stop DLM Engine service using Ambari UI. Ambari > DLM Engine > Service Actions > Stop
  2. Remove the DLM Engine service from Ambari. Ambari > DLM Engine > Service Actions > Delete Service
  3. Login to DLM Engine host using SSH. Remove the beacon RPM on DLM Engine host using:
    yum remove <beacon_RPM_name>
    To get the name of beacon rpm, do: rpm –qa|grep beacon
  4. On the DLM Engine host, remove /usr/dlm/current and /etc/beacon/conf folder directories.
  5. Login to Ambari host using SSH.
  6. Uninstall the mpack for beacon in Ambari server: ambari-server uninstall-mpack --mpack-name beacon-engine.mpack
  7. Install the new beacon mpack:
    ambari-server install-mpack --mpack=/tmp/beacon-ambari-mpack-<version>.tar.gz --verbose
  8. Restart Ambari server.
    ambari-server restart
  9. Setup a local repository with new DLM engine binaries.
  10. Update the beacon repo URL in the Ambari UI.
    Go to Ambari > Admin > Stacks and Versions > Manage > HDP- <version>

    Under repositories, update the new repo URL for DLM for the OS of the cluster and click Save.

  11. Add the DLM Engine service in Ambari UI by going through steps for adding a service: Ambari > Actions > Add Service > DLM Engine