Versions Compared

Key

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

Symptoms

Some transactions are not showing WSM Payloads, even though WSM subscription was requested for them. 

Image RemovedImage Added

In /logs/wsmAgents/agent-flume_MonTier-WsmAgent-X.log  (where X is the number of the wsm DPOD WSM agent you use), you will see the following message(s):

...

Each transaction payload contains 4 parts: Front-End request, Back-End request, Back-End response and Front-End response, the size of the a single transaction payload equals to the size of all 4 parts combined.
The DataPower batches several transactions payloads together before sending them to DPOD .
The - The default is grouping 20 transactions together.

DPOD's WSM Agent sets a size limit for incoming requests, the default is 10MB10mb, meaning, so DPOD will drop any requests that are larger than 10MB10mb

Assuming you have a transaction with payload size of 1mb (300kb back-end and front-end requsets, and 200kb back-and and front-end responses), and the DataPower grouped 20 of them before sending them to DPOD, the total request size will be 20 x 1mb  = 20mb , DPOD will drop this request and will not show the payloads.

 

Changing

...

how many payloads the DataPower will batch together

You can effect the number of transactions the DataPower will send to DPOD in each batch and the batch size - the configuration is done in DPOD and not in the DataPower.

Note

You will need to stop DPOD UI agent from the CLI before changing the following values, and start it again afterwards.

edit /app/ui/MonTier-UI/conf/MonTierUI.conf,

the relevant configuration keys are:
wdp.wsm.push.max_elements  - how many transactions the DataPower will group together (the default is 20)
wdp.wsm.push.max_envelope_siize size -max batch size that the DataPower will send to DPOD (the default is 10485760)

Image Added

 

Changing the max batch size DPOD can handle

Note

You will need to stop DPOD WSM agent from the CLI before changing the following values, and start it again afterwards.

edit /app/flume/wsm_agents/conf/MonTier-WsmAgent-X/flume_wsm.conf  (where X is the number of the WSM Agent you want to effect)

The relevant configuration key is:
MonTier-WsmAgent-1.sources.wsmHttpSource1.requestSizeLimitInBytes   - max batch size that DPOD will process (the default is 10485760)

 Image Added