Here are the steps to use symbolic links with Deep Security Relay:
- 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.
- Stop the DSA services.
Windows
- Press the 【WIN】+【R】 keys to open the Run dialog.
- Type "service.msc" and press 【Enter】 to open Services
- Stop three running 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 stop
- Using systemd commands: systemctl stop ds_agent
- 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
- 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"
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
- Check if the symbolic link has been created
Windows
Linux
- Start the agent Services.
Windows
- Press the 【WIN】+【R】 keys to open the Run dialog.
- Type "service.msc" and press 【Enter】 to open Services
- 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
- 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.
- 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.