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

Citrix VAD configuration

Andrej.Wolkow
Creator

Is the software compatible with large Citrix VAD environments, MCS provisioned Windows Servers, 1 Image (Frontend Servers)? For example 9000 concurrent users and 9000 Java processes? 
How do you use environment variables in the config files? agent.properties of the java agent, analytics-agent.properties of the analytics agent ?
Setting environment variables as APPDYNAMICS_AGENT_UNIQUE_HOST_ID via GPO is not possible since the hostname is changing for each machine. Machines can be dynamically removed and new ones added. If I add the COMPUTERNAME  systemvariable to the APPDYNAMICS_AGENT_UNIQUE_HOST_ID  the service won't be able to see it after reboot, because it is not visible to the process, due to windows changing the variable while the service is running. It can be a timing issue. Restarting the service is no usefull workaround.
I need the configs to use environment variables. No configuration is done per Server. All needs to be done globally.

Setting APPDYNAMICS_AGENT_NODE_NAME, APPDYNAMICS_AGENT_UNIQUE_HOST_ID, ad.agent.name needs to be dynamic
Setting APPDYNAMICS_AGENT_BASE_DIR, ad.dw.log.path for log paths needs to be dynamic
Setting those globally but with dynamic values

Using scripts to modify startups is no usefull way. Javawebstart is used for the application, so JAVA_TOOL_OPTIONS is set, since this is the only working way to start the java agent with JNLP.
Instrumenting Java Web Start Applications - AppDynamics Community
Note: javaws doens't know the -J-javaagent parameter (tested with Oracle Java and OpenWebstart)

Note: A service can only access UNC paths Services and Redirected Drives - Win32 apps | Microsoft Learn

2 REPLIES 2

Andrej.Wolkow
Creator

 For the machine agent I have found this MachineAgentService.vmoptions which can use those settings
-Dappdynamics.agent.uniqueHostId=${COMPUTERNAME}

The analytics Agent has also a analytics-agent.vmoptions but settings like ad.agent.name or ad.dw.log.path cannont be passed.

Ryan.Paredez
Community Manager

Hi @Andrej.Wolkow,

I see you created a Support ticket. Can you please share the learnings and outcomes once the ticket has been completed. 


Thanks,
Ryan, AppDynamics Community Manager



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.