we've 2 weblogic servers with this configuration:
By default Dynatrace user the -Dweblogic.Name to separate the process groups, in this case creates 2 process groups:
- WebLogic weblogic_domain srvowlcfpro01_online
- WebLogic weblogic_domain srvowlcfpro02_online
and because of this, the services running into each process are duplicated.
How can I group the two processes into one process group in order to have only one service?
Maybe with a Process group detection rules? Witch property can I use to group the two processes:
Regards, Josep Maria
Solved! Go to Solution.
You can use a Process Group Detection Rule, if there is a property that is the same for the processes that belong together. From the Screenshot it doesn't look like there is a fitting Java system property, but you could use anything under shown on the process under properties and tags with a rule based on a process property.
If there is no meta data that works, you can also set the environment variable DT_CLUSTER_ID to the same value for the processes. Dynatrace detects that variable automatically and groups als processes that have the same value in it.
See the yellow box in the documentation for more information about the env variables.
We had similar issue with Oracle OSB and we managed to over come this service split by setting a rule with Service Detection API that merged the services right away.
Check this thread for more details
@jcamps did you set some process group detection flags or rules?
From my experience the process group is named by the WebLogic domain and the weblogic.name is the node id within the process group.
You can also check the log from the OneAgent for the WebLogic process. It has information how Dynatrace identified the process group.