NET (Agent, Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

config.xml

SOLVED

config.xml

 hi,

Can any one just conform me is the below xml is a valid config or not for AppDynamic

 

What I am trying to do here is I want to seperate my site in two diffrent AppDynamics Application, i didn't utilize Configuration Agent to configure i had just wrote xml tags and keep that config.xml file to the configuration folder location, but still i can't see any loads or metrics.

<?xml version="1.0" encoding="UTF-8"?>
<appdynamics-agent
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <controller host="mycontroller.example.com" port="8080" ssl="true" enable_tls12="true">
        <application name="MyDotNetApplicaition" />
        <account name="xxxxxxx" password="xxxxxxxx" />
    </controller>
    <machine-agent />
    <app-agents>
        <IIS>
            <applications>
                <application path="/v5/Dashboard/Finance" site="Finance">
                    <tier name="Finance_Internal_ADPGL_Dashboard" />
                </application>
                <application path="/v5/Finance/Finance/GPUS/DataProcess" site="Finance">
                    <tier name="Finance_Internal_GPUS_DataProcess" />
                </application>
                <application path="/v5/Finance/Finance/GPUS/FileProcess" site="Finance">
                    <tier name="Finance_Internal_GPUS_FileProcess" />
                </application>
                <application path="/v5/Finance/Finance/GPUS/Workflow/Services" site="Finance">
                    <tier name="Finance_Internal_GPUS_WorkFlow" />
                </application>
            </applications>
        </IIS>
    </app-agents>
    <controller host="mycontroller.example.com" port="8080" ssl="true" enable_tls12="true">
        <application name="MyApplicaition" />
        <account name="xxxxxxx" password="xxxxxxxx" />
    </controller>
    <machine-agent />
    <app-agents>
        <IIS>
            <applications>
                <application path="/v5/Finance/Finance/MRI31/DataProcess" site="Finance">
                    <tier name="Finance_Internal_GPMRI31_DataProcess" />
                </application>
                <application path="/v5/Finance/Finance/MRI31/FileProcess" site="Finance">
                    <tier name="Finance_Internal_GPMRI31_FileProcess" />
                </application>
                <application path="/v5/Finance/Finance/MRI31/Workflow/Services" site="Finance">
                    <tier name="Finance_Internal_GPMRI31_Workflow" />
                </application>
            </applications>
        </IIS>
    </app-agents>
</appdynamics-agent>

 

121.JPG

 

 
 
 
Shah, Indrajit Kumar
config.xml
4 REPLIES 4
AppDynamics Team

Re: config.xml

HiIndrajit Kumar,

 

You are using the incorrect configuration. Please refer to the following document link for the correct configuration  Configure Multiple Business Application Support for .NET

 

To map the IIS applications to different AppDynamics Business applications, you would need to use the below configuration. In the below configuration, the default business application is "MyDotNetApplicaition", so the application elements which are not having the controller-application property set then they will report to "MyDotNetApplicaition" AppDynamics business application.

 

The AppDynamics Agent Configuration utility does not offer this configuration option, so you would need to manually edit the config.xml file. After modifying the config.xml file, please make sure that you restarted the AppDynamics Agent Coordinator service and the IIS.

 

 

<?xml version="1.0" encoding="UTF-8"?>
<appdynamics-agent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <controller host="mycontroller.example.com" port="8080" ssl="true" enable_tls12="true">
    <applications>
      <application name="MyDotNetApplicaition" default ="true"/>
      <application name="MyApplicaition"/>
    </applications>
    <account name="xxxxxxx" password="xxxxxxxx" />
  </controller>
  <machine-agent />
  <app-agents>
    <IIS>
      <applications>
        <application path="/v5/Dashboard/Finance" site="Finance">
          <tier name="Finance_Internal_ADPGL_Dashboard" />
        </application>
        <application path="/v5/Finance/Finance/GPUS/DataProcess" site="Finance">
          <tier name="Finance_Internal_GPUS_DataProcess" />
        </application>
        <application path="/v5/Finance/Finance/GPUS/FileProcess" site="Finance">
          <tier name="Finance_Internal_GPUS_FileProcess" />
        </application>
        <application path="/v5/Finance/Finance/GPUS/Workflow/Services" site="Finance">
          <tier name="Finance_Internal_GPUS_WorkFlow" />
        </application>
        <application path="/v5/Finance/Finance/MRI31/DataProcess" site="Finance" controller-application="MyApplicaition">
          <tier name="Finance_Internal_GPMRI31_DataProcess" />
        </application>
        <application path="/v5/Finance/Finance/MRI31/FileProcess" site="Finance" controller-application="MyApplicaition">
          <tier name="Finance_Internal_GPMRI31_FileProcess" />
        </application>
        <application path="/v5/Finance/Finance/MRI31/Workflow/Services" site="Finance" controller-application="MyApplicaition">
          <tier name="Finance_Internal_GPMRI31_Workflow" />
        </application>
      </applications>
    </IIS>
  </app-agents>
</appdynamics-agent>

 

 

Thanks,

Venu.

Highlighted

Re: config.xml

Okay.

Shah, Indrajit Kumar
Moderator

Re: config.xml

Hi Indrajit,

That is not possible and your previous config will not work. A single node can report to only one Controller Application.

Thanks,
Raunak


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

Re: config.xml

Thnaks.

 

 

 

 
 
Shah, Indrajit Kumar