Go through below steps in sequence to get more details on how machine agent registration and association works:
1) How machine agent association works, in brief, based on uniqueHostId (default or specifically passed)
2) Provide only hostname in recent machine agent version if usins <sim-enabled> set to true (default setting) if using older machine agent version, sim setting does not exist, and if you want to associate to the particular app server node, make sure default or value for -Dappdynamics.agent.uniqueHostId= arg value for both app server and machine agent node startup script is the same
3) Starting machine agent is like any java process, shell> java -jar <MachineAgent_install_dir>/machineagent.jar
I hope that information helps. Refer doc which is more detailed https://docs.appdynamics.com/display/PRO45/Install+the+Standalone+Machine+Agent
^ Post edited by @Ryan.Paredez on Wednesday, April 29th, 2020 to provide updated links to newer documentation.
... View more