The AnthillPro server and agent allow you to override the default location for the storage of a number of things. If it is necessary to override the default locations, a system property must be passed. Before overriding the default location(s), keep the following in mind:
Different releases have different instructions as to which modifications need made. Find out more about that, below.
To override the default storage location for the AnthillPro server and/or agent, modify the startup script to pass a system property.
Go to the anthillpro server's \bin\ directory and open the ah3server.cmd or ah3server file (depending on which operating system you installed with) inside a smart text editor, such as vim or Notepad++. Then, locate the JAVA_OPTS line. Append properties to the end of this line, to add them to the startup script. They will need added in the following format:
-Dpropertyname="path"
A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option.
To override the default storage location for the AnthillPro server and/or agent, modify the installed.properties file to pass a system property, or follow the same method as above as an alternative.
Go to the anthillpro server's \conf\server directory and open the installed.properties file inside a smart text editor, such as vim or Notepad++. Then, navigate to the end of the file. Append each property you want to add here in the following format:
propertyname=path
You need to escape strings, though:
property.to.modify=C\:\\ParentDir\\ChildDir
A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option.
Go to the anthillpro server's \bin\ directory and open the ah3server.cmd or ah3server file (depending on which operating system you installed with) inside a smart text editor, such as vim or Notepad++. Then, locate the JAVA_OPTS line. Append properties to the end of this line, to add them to the startup script. They will need added in the following format:
-Dpropertyname="path"
A relative path can be given as the value and the relative path is calculated from the server's bin directory. A absolute path is also an option.
The following directories can be overridden to a new location:
Click here for important information regarding directory overrides and server upgrades!