Views:

Here are the steps to use symbolic links with Deep Security Relay:

  1. Reinstall the agent and do not activate it yet.

    For more information how to uninstall the agent, you may refer to this help center article. Note: This may require a reboot to completely clean the previous installation.

  2. Stop the DSA services.

    Windows

    1. Press the 【WIN】+【R】 keys to open the Run dialog.
    2. Type "service.msc" and press 【Enter】 to open Services
    3. Stop three running service for DSA
      • Trend Micro Deep Security Agent
      • Trend Micro Deep Security Monitor
      • Trend Micro Deep Security Notifier

    null

    Linux

    • Using SysV init scripts: /etc/init.d/ds_agent stop
    • Using systemd commands: systemctl stop ds_agent
  3. Cut or Move the working directory of Relay to the destination path.

    Notes: Do not place it in the same directory where the Installation folder was placed.

    Windows

    Working directory: C:\ProgramData\Trend Micro

    Linux

    Working directory: /var/opt/ds_agent

  4. Create a symbolic link

    Windows

    Open the Command Prompt with "Administrator" level permission and type below command. In theexample, the destination directory is E Drive

    C:>\mklink /D "C:\ProgramData\Trend Micro" "E:\Trend Micro"
     

    null

     

    Linux

    Open the CLI and type below command, in the  example, the destination directory is /home

    ln -s /home/ds_agent/ /var/opt/ds_agent

     

  5. Check if the symbolic link has been created

    Windows

    null

    Linux

    null

  6. Start the agent Services.

    Windows

    1. Press the 【WIN】+【R】 keys to open the Run dialog.
    2. Type "service.msc" and press 【Enter】 to open Services
    3. Start the three service for DSA
      • Trend Micro Deep Security Agent
      • Trend Micro Deep Security Monitor
      • Trend Micro Deep Security Notifier

    Linux

    • Using SysV init scripts: /etc/init.d/ds_agent start
    • Using systemd commands: systemctl start ds_agent
  7. Activate the DSA either on the web console or using the dsa_control utility. For more information your can refer to this help center article.
  8. From the Web Console, Enable the relay feature for this agent. For the steps to enable the agent as relay, you can check this article . The Trend Micro Folder in the destination directory will be populated with the Relay Files.

After following the steps, the Deep Security Relay should be able to provide the security updates and software updates needed by the DSA.