Alexey Bostandjan

Configuring HDLM/HGLM in VMware environment

Discussion created by Alexey Bostandjan on Mar 17, 2018

Tested for HCS 8.5.4 and VMware vSphere 6.5.0 U1


Step by step.


  1. Installing software on Remote Management Client  and preparing environment
    1. Install ActivePerl (Latest Version, for example: ActivePerl
    2. Install VMware vSphere CLI 6.5.0 (doesn't contain perl)
    3. Install Hitachi Dynamic Link Manager Software for VMware
    4. Copy file C:\Program Files (x86)\Hitachi\DynamicLinkManagerForVMware\plugin\ to ESXi host (ex. directory: /distributiv). You can use ssh, but it has to be enabled on host.8.png
    5. Set  path to vCLI permanently in command-prompt
      setx /M PATH "%PATH%;C:\Program Files (x86)\VMware\VMware vSphere CLI\bin"
    6. Close command-prompt
  2. Installing HDLM on ESXi host and creating user
    1. esxcli software acceptance set --level=PartnerSupported
    2. esxcli software vib install -d /distributiv/
    3. Create a local user account: GLMUser
    4. Set the role of the created user account to Administrator6.png7.png
  3. Configuring Remote Management Client (in command-prompt)
    1. ppm install XML::LibXML

    2. perl "c:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\apps\general\" add --server --username GLMUser --password P@ssw0rd

      ( - IP address the ESXi host)
    3. dlmrmcenv --username GLMUser --credstore c:\Users\Administrator\AppData\Roaming\VMware\credstore\vicredentials.xml
    4. dlnkmgr -s -u GLMUser -p P@ssw0rd view -sys -sfunc9.png
    5. perl "c:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\apps\general\" add --server --username GLMUser --password P@ssw0rd --thumbprint 3B:E1:52:0F:04:E6:B7:8F:08:F5:74:BE:01:B8:24:8B:6E:71:BC:95
      (adding thumbprint)
    6. dlnkmgr -s -u GLMUser -p P@ssw0rd view -sys -sfunc10.png
  4. Configuring HGLM server
    1. Need to specify rules for firewall on HGLM server and Remote Management client or just disable it
    2. Add ESXi host to HGLM1.png
      ( - IP address the ESXi host, - IP address the Remote Management Client)
    3. Verify it