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

This product reached the end of support date on March 31, 2021.

Multiple instances of an IBM HTTP Server on the same machine

dbusquets
Organizer

Hi,

We are in a POC instrumenting an IBM HTTP Server and we succesfully installed the Web Server Primary Agent and the secondary. In Agents Overview dashboard we can see both processes successfully connected to the Dynatrace Server, but we don't see any type of transactions. The customer is making some traffic over the IHS.

We have the sensors: Web Server (active and start pp) and User Experience (active).

Any clue? Thanks!

Daniel

10 REPLIES 10

melory_zol2
Inactive

Hi Daniel,

can you post some screenshots from your configuration?

- The agents matched to a System Profile and correct Agent Group properly?

- Do you see any Event Count through Agents Overview?

- Make sure the Capture Events is checked on the Agent Group configuration.

Also, which version of IBM HTTP Server are you using?

dbusquets
Organizer

Hi Melory,

Sorry, we had the "User Experience" tab switched to "Do not capture server side..." 🙂

Now the problem is how to configure more than one instance of IHS on the same machine. In this doc:

https://community.dynatrace.com/community/pages/vi...

I understand that you have to configure only the "loadmodule" to each .conf file of each instance, and all share the same dtwsagent.ini.

The problem is that in dtwsagent.ini you can only specify an agent name... so.. how to configure more than one instance of IHS in the same machine with different agent names?

Its a IHS 8.5.5

dbusquets
Organizer

Ok, I have already see that "If your web server instances run different web sites and you want to have data for each web site in a separate System Profile:" in

https://community.dynatrace.com/community/pages/vi... link.

I thought is not really our problem, because we are OK with only one System Profile, but we are trying to do it.

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

You can configure multiple agents on the same machine and use different agent names by simply installing multiple copies of the agent. Then you'l have to startup multiple primary agents.

You might consider whether you really need different agent names for multiple instances of IHS. AppMon does not require the agent name to be unique and if both IHS instances are serving the same load, then having different agent names may not be necessary.

dbusquets
Organizer

Hi Joseph! Thank you for your answer.

IHS instances are serving different load, from different applications, so it's important to us to see agents independently.

Another question is if the Primary Agent will be able to listen (and agents to send) at the same port (8001 by default). We will see!

Thanks!

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Daniel, Obviously any listen ports used by a process needs to be unique across multiple instances of that process. So 8001 would need to be unique per instance. Good catch.

dbusquets
Organizer

Oh Ok Joseph! Thank you a lot!

dbusquets
Organizer

And there is one more thing that we've recently discovered...

The slave agent and the primary agent must use the same shared memory
file. In our case, by simply installing one agent per instance produces that the primary agent uses a shared memory file in a
different location as the secondary agent.

So you have to edit dtwsagent.ini and uncomment the "SharedMemoryFileName" parameter to ensure that all secondaries have
the shared memory location identical.