Version Differences for Performance Tuning Agents

(AnthillPro Agent Properties)
(Initial Section Addition about Dynamic Environment Variables Added)
Line 45:
  </tr>    </tr> 
  </table>    </table> 
       
       
    + = Dynamic Environment Variables =  
       
    + Agent Environment Variables (not to be confused with AnthillPro Environment Properties) are set at the time of agent installation, and are stored on the central server. The agent-installation reads the environment variables of the machine the agent is being installed on and then sets the variables. Once set, AnthillPro does not check for changes in the machine's environment variables. However, you can configure the agent to dynamically set the environment variables every time the agent restarts. When dynamically setting the variables, the agent needs two files in the ''/bin'' directory: one named '''env.properties''' and one named either '''setenv.bat''' (for Windows) or '''setenv.sh''' (for UNIX-like systems). The setenv shell script is responsible for dynamically generating the environment variables in a format that AnthillPro can use, as well as writing out the env.properties file. The env.properties file includes all the variables in a pattern similar to '''DYNAMIC_ENV_VAR'''=''value''.  
       
    + When the agent is restarted, it will first look for the setenv script. If the script is found, it will be executed to update (or write out) the env.properties file. Then, the new variables in the env.properties file will be delivered to the AnthillPro server.