question

ShashiDubey-3691 avatar image
0 Votes"
ShashiDubey-3691 asked saldana-msft edited

State Message Flow from remote MP to Site Server

HI Everyone,

Hope everyone is doing great and being Safe !

I would like to request assistance in understanding the state messages flow from remote MP to SCCM Site server where all of them get fed into the database. Need someone help with the folder where the stage messages when sent from the client first VIA CCMMESSAGING component first reside and then it was sent to the site server and processed into the database.

I have read a beautiful article on this by "Steve Rachui" but was hoping to have some assistance if I want to track the.SMX file into the inbox of the site server where should I look for is it inside the inbox or outbox folder? and where is the location of it?

Also, where should i look for the .SMX file being come into the site server and then gets processed into the database.

If someone could help me with the proper inbox component involved from both remote MP and site server and the log responsible for it to troubleshoot the blockage it would be extremely appreciated.

Hope some's experience can help me out.

Regards,
Shashi Dubey


mem-cm-site-deployment
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ShashiDubey-3691 commented

See https://docs.microsoft.com/en-us/troubleshoot/mem/configmgr/track-software-update-compliance-assessment#step-3-the-message-is-received-on-the-management-point-and-then-mp_relay-processes-the-message-and-creates-an-smx-file. The article is specific to software updates, but the section linked to is for state messages.

There is no inbox as the state messages that client submit to the MP aren't in the form of a file but instead, the agent submits raw XML over HTTP to the MP relay point which in turn creates the SMX file and drops it into the OUTBOX to be transferred to the primary site server. You can check the mp_relay.log for this initial activity and mpdfm.log for the transfer to the site server. As noted, though, for components that use the MPE, the process is slightly different.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Jason,

That was again an extremely elaborative and detailed article :)

Now I guess I could track the flow of state messages for the deadlock that I have been noticing in the environment. And would post again in case I get stuck somewhere in a new thread for better clarity :).

Again expressing my sincere gratitude for your precious time and immense expertise in having this explained. Hope to have your assistance going ahead with other queries too in this fabulous community.

Stay Safe !!

Regards,
Shashi Dubey

0 Votes 0 ·
Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ShashiDubey-3691 commented

The post you mention from Steve (at https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/sccm-state-messaging-in-depth/ba-p/322589) shows exactly where state messages are dopped on the site server: auth\statesys.box\incoming.

Also note that some state messages no longer follow this flow but instead use a new component called the Message Processing Engine (MPE) on the MP that directly inserts the information contained in the state message into the DB. Examples of messages that use the MPE are those from CMPivot and BitLocker management.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Jason,

My sincere thanks to you for taking out your precious time!

Yeah, that is the same article that I mentioned written by Steve and that was beautifully explained about where the file would reside on the site server before they get processed into the database.

Just need your help in figuring out the folder where these state messages reside on the MP that is remote to my site server to track the deadlock? Is there any folder that I could track to on the remote MP to see if these .SMX are getting sent to the site server successfully or not?

Also in the folder stracture, we would commonly see two folders inbox and outbox so when these two are used and in what conditions?

Hope to have your expertise in clearing this doubt too :).

Regards,
Shashi Dubey

0 Votes 0 ·