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

Merge process groups

jcamps
DynaMight Advisor
DynaMight Advisor

Hi all,

 

we've 2 weblogic servers with this configuration:

 

jcamps_0-1633074421191.png

 

jcamps_1-1633074430741.png

 

 

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:

 

jcamps_2-1633074598515.png

 

Regards, Josep Maria

 

5 REPLIES 5

pahofmann
DynaMight Leader
DynaMight Leader

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.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Yosi_Neuman
DynaMight Champion
DynaMight Champion

Hi @jcamps,

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 

HTH

Yos 

dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel

Hi @Yosi_Neuman ,

 

the problem is that the services doesn't have the same Process Group and for this reason aren't "mergeables", right?

 

Regards! Josep Maria

Yosi_Neuman
DynaMight Champion
DynaMight Champion

Hi @jcamps ,

Yep, from UI the services are not mergeable, but with the rest API you can merge them, at least we succeed to do that for split OSB services.

HTH

Yos 

dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel

Julius_Loman
DynaMight Guru
DynaMight Guru

@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.

TEMPEST a.s., Slovakia, Dynatrace Master Partner