Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Unique Host ID Property

Appd machine agent name
s are run on same machine or host.

...

No Format
-Dappdynamics.agent.uniqueHostId=12345.sample.com

Configuring Multiple Standalone Machine Agents

The following instructions assume two applications and two standalone machine agents on a single machine, but they can be interpolated to cover more than two.

To configure two Standalone Machine Agents for two applications running on the same machine

  1. Download two copies of the Standalone Machine Agent, one for each application.
  2. Assign the standalone machine agents different names, for example: "MachineAgent1" and "MachineAgent2".
    If there are custom scripts running on the standalone machine agents, they must not use the same resources.
  3. Configure the first application/machine agent pair for the first application:
    1. Delete the app agent node from the Controller UI.
    2. Configure the applicationName and uniqueHostID properties for the app agent.
    3. Configure the applicationName and uniqueHostID properties for the machine agent using the same application name and unique host id values that you used for the app agent configuration.
  4. Configure the second application/machine agent pair for the second application:
    1. Delete the app agent node from the Controller UI.
    2. Configure the applicationName and uniqueHostID properties for the app agent. These values must be different from the values used for the first application.
    3. Configure the applicationName and uniqueHostID properties for the Standalone Machine Agent using the same applicationName and uniqueHostId values that you used for the app agent configuration.
  5. Restart all JVMs.

Sample Configuration

The following image shows a sample configuration of two physical machines with two applications each. In it: 

...