cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change default path of startup scripts created as part of OneAgent install

dirk_loosen
Participant

We have an issue with the oneagent install script when trying to adapt it for use in Puppet or Ansibel. We need the agent to be installed to a specific directory (/WebSphere instead of /opt). So in the install script there is a variable that we can change for this. This works fine but as part of the installation the script creates startup scripts which have its own set of variable. In these start up scripts the install path variable is defaulting to /opt rather than /WebSphere. How do we change the default install path of the startup scripts as part of the installation of the one agent?


1 REPLY 1

Tomasz_Gajger
Dynatrace Pro
Dynatrace Pro

Hi Dirk,

The supported way of installing to custom directory is by specifying INSTALL_PATH command-line parameter, see the following help page for details: https://www.dynatrace.com/support/help/deploy-dyna...

Manual modifications of OneAgent scripts are not supported and will not work.

Regards,
Tomasz