Overview
By default, JetPatch stores agent binaries and packages under /usr/share/intigua/.
In some environments, this default path may not be suitable - for example, when the root partition has limited disk space and agent packages need to be stored on a larger mounted volume.
This guide explains how to relocate the agent bin and package directories to a custom mount point, update the relevant configuration files, and verify the change. These steps apply to JetPatch versions up to 4.2.x.
Important: This procedure applies to JetPatch versions up to 4.2.x only. For version 5.0 and later, refer to the updated configuration guide. |
Steps
- Create the required folder structure at the desired custom location. Using /u01 as an example mount point:
cd u01 mkdir intigua cd intigua mkdir bin package |
- Copy the contents of the default bin and package directories to the newly created folders:
cd /usr/share/intigua/bin/ cp * /u01/intigua/bin/ cd /usr/share/intigua/package/ cp * /u01/intigua/package/ |
- Set the correct ownership on the new folders and their contents:
| chown -R tomcat:tomcat /u01/intigua/ |
- In the intigua.properties file, update the agent packages path
- from:
| agent.packages.path=/usr/share/intigua/package/ |
- to:
| agent.packages.path=/u01/intigua/package/ |
- In the intigua.config.xml file, update the core directory path
- from:
| <core-dir>/usr/share/intigua/</core-dir> |
- to:
| <core-dir>/u01/intigua/</core-dir> |
- Restart the Tomcat service to apply the changes:
| systemctl restart tomcat |
Verification
To confirm the configuration is working correctly, upload a .vai file through the JetPatch interface, then navigate to /u01/intigua/package/ and verify that the uploaded file appears in the directory.
Comments
0 comments
Please sign in to leave a comment.