Version Differences for Moving Agent Installation Directory

(Initial save)
(Updated instructions)
Line 1:
- This article lists how to change the agent installation directory. Certain cases may arise where a new installation cannot be performed/doesn't want to be performed, so you can manually modify the installation settings of an agent to recognize the new directory that it resides. '''It is still recommended to reinstall the agent instead of manually performing an update, and this should article should only be considered a last resort to moving an agent.'''   + This article lists how to change the agent installation directory. Certain cases may arise where a new installation cannot be performed/doesn't want to be performed, so you can manually modify the installation settings of an agent to recognize the new directory that it resides. ''It is still recommended to reinstall the agent instead of manually performing an update, and this should article should only be considered a last resort to moving an agent.''  
       
  = Automatic Method (Easiest) =    = Automatic Method (Easiest) = 
Line 29:
  # Open up the '''..\conf\''' subdirectory.    # Open up the '''..\conf\''' subdirectory. 
  # Edit the '''installed.properties''' file and change the paths to the values you need, '''remembering to escape the string when inputting your path'''.    # Edit the '''installed.properties''' file and change the paths to the values you need, '''remembering to escape the string when inputting your path'''. 
       
    + === Windows Service ===  
       
    + In addition to all the steps in the previous section, you still need to modify the Windows Service so anthill reads in the correct values from the registry. The following steps need to be performed as well:  
       
    + # (IF IT EXISTS) Open up the ''%AGENT_HOME\bin\service'' directory and load the '''_agent.cmd''' file. Change the value for paths in here.  
    + # (IF IT EXISTS) Open up the ''%AGENT_HOME\bin\service'' directory and load the '''_ah3agent.cmd''' file. Change the value for paths in here.  
    + # Open up the ''%AGENT_HOME\bin\service'' directory and load the '''ah3agent.cmd''' file. Change the value for paths in here.  
    + # From an '''Administrative Command Prompt''', ''uninstall'' the current Windows Service for the agent, and ''re-install'' it. This is in the documentation under the [http://docs.urbancode.com/anthill3-help-3.8/html/Installation.html#install-windows-agent manual agent installation section]