Jaa


在单个站点环境中向标准 DP 和分支 DP 分发 ConfigMgr 2007 数据包的端到端流程

嗨,伙计们,我是 Yuvaraj Tamil Mani。我想利用一分钟的时间,与大家分享有关向标准分发点 (DP) 和分支分发点 (BDP) 分发数据包的流程方面的一些信息。

在向标准 DP 发送数据包时,Distribution Manager 组件连接到 DP 的 SMSPKGdriveletter$,复制数据包内容,然后更新数据库中的数据包状态。但是,当向分支分发点发送数据包时,流程有所不同,我尝试利用您下面看到的日志代码段对此进行详细解释。

注意 站点服务器日志启用了 SQL;MP 和客户端日志启用了 Verbose 和调试功能。

下面是我在示例中使用的详细信息:

  • 数据包 ID:CS10001E
  • 站点服务器/MP/DP:CS1SRV.NINJAS.COM
  • BDP 名称:CS1XP.NINJAS.COM
 向标准分发点发送数据包的流程:

下面是在向标准 DP 发送数据包时执行的操作。

1.当向标准分发点添加数据包时,通过 inboxes\distmgr.box 中的 packageID.PKN 通知 distmgr 组件。

2.distmgr 组件开始处理包含 STATMSG 2300 的数据包:

STATMSG: ID=2300SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CS1SRV SITE=CS1 PID=4604 TID=5720 GMTDATE=Fri Jan 13 22:36:47.610 2012 ISTR0="Test BDP 2" ISTR1="CS10001E" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="CS10001E" SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 5720 (0x1658)

No action specified for the package CS10001E. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 5720 (0x1658)

Start adding package to server ["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\... SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 5720 (0x1658)

["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\ is NOT a Branch DP SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 5720 (0x1658)

3.Distmgr 与 DP 建立连接并检查 SMSPKGdriveletter$ 共享:

Established connection to ["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

Signature share exists on distribution point path MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSSIG$\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

The distribution point ["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\ doesn't point to an existing path. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

The best drive on the distribution point is C:\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

The best drive for installing package on the distribution point ["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\ is C:\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

Share SMSPKGC$ exists on distribution point ["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:47 AM 3272 (0x0CC8)

4.在 SMSPKGC$ 共享中创建包含数据包 ID 的子目录:

Attempting to create subdirectory CS10001E under the export. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:48 AM 3272 (0x0CC8)

The export is accessible. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:48 AM 3272 (0x0CC8)

Successsfully created the package directory CS10001E\ under the export. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:48 AM 3272 (0x0CC8)

Successfully created sub directory CS10001E off MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSPKGC$\CS10001E\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:48 AM 3272 (0x0CC8)

5.Distmgr 连接到它所创建的 packageID 文件夹,并检查驱动器是否具有足够的可用空间可供复制数据包内容:

Attempting to make an accessible connection to MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSPKGC$\CS10001E\ , get its NOS path, and get its number of free bytes. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

Established connection to MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSPKGC$\CS10001E\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

Getting the number of free bytes. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

The number of free K bytes 40105592 SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

Successfully made an accessible connection, got a NOS path, and, if requested, got the number of free bytes at this location. SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

6.Distmgr 设置 \\CS1SRV\SMSPKGC$\CS10001E文件夹的安全性,并将数据包内容从数据包源复制到该文件夹。它还将签名文件(TAR 文件)复制到 SMSSIG$ 共享,并设置该文件夹的安全性:

Successfully set access security on MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSPKGC$\CS10001E\ for package CS10001E SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

GetPackageSignature() called for package CS10001E with version 1. UnpackedSignature = 0 SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

Copying C:\package source\Test BDP 2\CcmTools.msi to C:\SMSPKGC$\CS10001E\CcmTools.msi, OK SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

RDC:Successfully copied package signature file C:\SMSPKGSIG\CS10001E.1.tar to \\CS1SRV\SMSSIG$\\CS10001E.1 .tar SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

RDC:Successfully set access security on \\CS1SRV\SMSSIG$\\CS10001E.1.tar for package CS10001E signature file SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

Successfully copied package CS10001E from C:\package source\Test BDP 2\ to MSWNET:["SMS_SITE=CS1"]\\CS1SRV\SMSPKGC$\CS10001E\ SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

7.Distmgr 运行以下查询,以更新 SQL 中 pkgstatus 表的状态,并引发 STATMSG 2330:

SQL>>>update PkgStatus set Status = 3, UpdateTime = "01/14/2012 04:06:50", Location = "MSWNET:[""SMS_SITE=CS1""]\\CS1SRV\SMSPKGC$\CS10001E\", ShareName = "", HTTPUrl = "https://CS1SRV/SMS_DP_SMSPKGC$/CS10001E/", SourceVersion = 1, State = 0, SigURL = "https://CS1SRV/SMS_DP_SMSSIG$/CS10001E.1.tar", SigLocation = "MSWNET:[""SMS_SITE=CS1""]\\CS1SRV\SMSSIG$\CS10001E.1.tar" where ID = "CS10001E" and Type = 2 and Personality = 0 and SiteCode = "CS1" and PkgServer = "[""Display=\\CS1SRV\""]MSWNET:[""SMS_SITE=CS1""]\\CS1SRV\" SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

 

STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CS1SRV SITE=CS1 PID=4604 TID=3272 GMTDATE=Fri Jan 13 22:36:50.954 2012 ISTR0="CS10001E" ISTR1="["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="CS10001E" AID1=404 AVAL1="["Display=\\CS1SRV\"]MSWNET:["SMS_SITE=CS1"]\\CS1SRV\" SMS_DISTRIBUTION_MANAGER 1/14/2012 4:06:50 AM 3272 (0x0CC8)

 

向分支分发点发送数据包的流程:

下面是向分支分发点发送数据包时执行的操作:

1.当向数据包添加 BDP 时,distmgr 组件检查 distributionpoints 表中的 DPID,以确定其是否是 BDP。

SQL>>>select DPID, NALPath from DistributionPoints where NALPath = '["Display=\\CS1XP\"]MSWNET:["SMS_SITE=CS1"]\\CS1XP\' and IsPeerDP = 1 1/14/2012 4:09:57 AM 6748 (0x1A5C)

DPID 11 - NAL Path ["Display=\\CS1XP\"]MSWNET:["SMS_SITE=CS1"]\\CS1XP\ is a Branch DP 1/14/2012 4:09:57 AM 6748 (0x1A5C)

2.Distmgr 组件将一个条目插入 pkgstatus 表中,BDP 状态为 0:

SQL>>>insert PkgStatus (ID, Type, SourceVersion, Personality, Location, SiteCode, PkgServer, ShareName, HTTPUrl, Status, State, SigLocation, SigURL, UpdateTime) values ("CS10001E", 2, 1, 0, "", "CS1", "[""Display=\\CS1XP\""]MSWNET:[""SMS_SITE=CS1""]\\CS1XP\", "", "", 0, 2, "", "", "01/14/2012 04:09:57") 1/14/2012 4:09:57 AM 6748 (0x1A5C)

3.Distmgr 更新包含发送至分支分发点的所有数据包列表的 peerdppkgmap 表:

SQL>>>insert PeerDPPkgMap (PkgID, DPID) values ('CS10001E', 11) 1/14/2012 4:09:58 AM 6748 (0x1A5C)

SQL>>>>> Done. 1/14/2012 4:09:58 AM 6748 (0x1A5C)

Successfully updated PeerDPPkgMap for DPID 11 and PkgID CS10001E. 1/14/2012 4:09:58 AM 6748 (0x1A5C)

4.Distmgr 通过 inboxes\policypv 文件夹中的文件通知向策略提供程序发送触发器:

Created policy provider trigger for ID CS10001E 1/14/2012 4:09:58 AM 6748 (0x1A5C)

5.策略提供程序为数据包创建策略和策略分配。策略提供程序还将资源映射到策略:

Successfully created policy {133e16b6-e7f4-4a6a-833d-ec64703c884a} and policy assignment {e79d710f-264a-4c1c-86c1-c6c5268a79ef} based on package CS10001E SMS_POLICY_PROVIDER 1/14/2012 4:10:03 AM 3204 (0x0C84)

Successfully updated policy and policy assignment based on package CS10001E SMS_POLICY_PROVIDER 1/14/2012 4:10:04 AM 3204 (0x0C84)

Beginning to update the resource to policy mapping... SMS_POLICY_PROVIDER 1/14/2012 4:10:04 AM 3204 (0x0C84)

Successfully updated the resource to policy mapping for 1 resources SMS_POLICY_PROVIDER 1/14/2012 4:10:09 AM 3204 (0x0C84)

6.当分支分发点检查策略的管理点时,接收策略任务并下载策略:

Total 1 PolicyAssignment(s) found. PolicyAgent_ReplyAssignments 1/15/2012 11:50:23 AM 1536 (0x0600)

Validating PolicyAssignment '{e79d710f-264a-4c1c-86c1-c6c5268a79ef}'. PolicyAgent_ReplyAssignments 1/15/2012 11:50:23 AM 1536 (0x0600)

Compiling policy '{133e16b6-e7f4-4a6a-833d-ec64703c884a }' version '1.00' from 'SMS:CS1' (2012-01-14 04:10:09.463) PolicyAgent_ReplyAssignments 1/15/2012 11:50:24 AM 1536 (0x0600)

Starting download of policy 'CCM_Policy_Policy4.PolicyID="{133e16b6-e7f4-4a6a-833d-ec64703c884a}",PolicySource="SMS:CS1",PolicyVersion="1.00"' from 'https://CS1SRV.NINJAS.COM/SMS_MP/.sms_pol?{133e16b6-e7f4-4a6a-833d-ec64703c884a}.1_00' PolicyAgent_ReplyAssignments 1/15/2012 11:50:24 AM 1536 (0x0600)

Download of policy 'CCM_Policy_Policy4.PolicyID="{133e16b6-e7f4-4a6a-833d-ec64703c884a}",PolicySource="SMS:CS1",PolicyVersion="1.00"' started (DTS job ID: '{5C352D39-D872-45B8-85B5-6401074D6ED1}') PolicyAgent_ReplyAssignments 1/15/2012 11:50:24 AM 1536 (0x0600)

Successfully initiated download of policy 'CCM_Policy_Policy4.PolicyID="{133e16b6-e7f4-4a6a-833d-ec64703c884a}",PolicySource="SMS:CS1",PolicyVersion="1.00"' PolicyAgent_ReplyAssignments 1/15/2012 11:50:24 AM 1536 (0x0600)

Starting download of policy 'CCM_Policy_Policy4.PolicyID="{133e16b6-e7f4-4a6a-833d-ec64703c884a}",PolicySource="SMS:CS1",PolicyVersion="1.00"' from 'https://CS1SRV.NINJAS.COM/SMS_MP/.sms_pol?{133e16b6-e7f4-4a6a-833d-ec64703c884a}.1_00' PolicyAgent_ReplyAssignments 1/15/2012 11:50:24 AM 1536 (0x0600)

Download of policy CCM_Policy_Policy4.PolicyID="{133e16b6-e7f4-4a6a-833d-ec64703c884a}",PolicySource="SMS:CS1",PolicyVersion="1.00" completed (DTS Job ID: {5C352D39-D872-45B8-85B5-6401074D6ED1}) PolicyAgent_PolicyDownload 1/15/2012 11:50:27 AM 2536 (0x09E8)

policyagent.log 中的策略分配 ID 和策略 ID 与 policypv.log 中的 ID 相匹配。

7.peerdpagent 即为数据包 CS10001E 创建下载和处理数据包内容的作业:

PDP_CreateJobData PeerDPAgent 1/15/2012 11:50:27 AM 3232 (0x0CA0)

Created Branch DP job {36676F89-F7EB-4055-9AF5-269FBAC38D58} for package CS10001E PeerDPAgent 1/15/2012 11:50:28 AM 3232 (0x0CA0)

NOTE Each package targeted to the BDP has a job in the following location on WMI:  CCM_PeerDP_Job class under root\ccm\peerdpagent

8.PeerDPagent 检查是否预留了数据包内容:

CPDPJob::CheckForPreStagedPkg PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Checking C:\SMSPKGC$\CS10001E for prestaged CS10001E package PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Package CS10001E has not been prestaged PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

9.Peerdpagent 检查 BDPTmpWrkFldr 目录,并在其中创建可供下载的临时文件夹:

Directory 'C:\BDPTmpWrkFldr\' already exists. PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Temp dowload Path: 'C:\BDPTmpWrkFldr\PDP119.tmp' PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Disconnected 0 users from directory C:\BDPTmpWrkFldr\PDP119.tmp. PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

10.Peerdpagent 调用内容传输管理器以开始下载:

Calling DownloadContent , the type is 0, priority 2 PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Raising event:

[SMS_CodePage(437), SMS_LocaleID(1033)]

instance of PDPDownloadStartedEvent

{

ClientID = "GUID:9B783DCB-5511-4C76-864D-01E57731172E";

DateTime = "20120115062028.451000+000";

MachineName = "CS1XP";

PackageID = "CS10001E";

ProcessID = 1920;

SiteCode = "CS1";

SourceVersion = 1;

ThreadID = 2536;

};

PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

11.内容传输管理器完成下载并通知 peerdpagent:

CTM job {D8718FED-D7A6-439F-8F3E-4B1389B590C8} successfully processed download completion. ContentTransferManager 1/15/2012 11:50:32 AM 1536 (0x0600)

CCTMJob::EvaluateState(JobID={D8718FED-D7A6-439F-8F3E-4B1389B590C8}, State=Success) ContentTransferManager 1/15/2012 11:50:32 AM 2604 (0x0A2C)

CCTMJob::EvaluateState(JobID={D8718FED-D7A6-439F-8F3E-4B1389B590C8}, State=Complete) ContentTransferManager 1/15/2012 11:50:32 AM 2604 (0x0A2C)

12.我们可以从 Peerdpagent.log 中的 CTM 找到该通知:

CPDPJob::ProcessProgress PeerDPAgent 1/15/2012 11:50:28 AM 2536 (0x09E8)

Download complete for CTM job {D8718FED-D7A6-439F-8F3E-4B1389B590C8}, downloaded KB 1058 PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

Package CS10001E in state 'DownloadComplete'. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

instance of PDPDownloadSuccessEvent

{

ClientID = "GUID:9B783DCB-5511-4C76-864D-01E57731172E";

DateTime = "20120115062032.654000+000";

MachineName = "CS1XP";

PackageID = "CS10001E";

ProcessID = 1920;

SiteCode = "CS1";

SourceVersion = 1;

ThreadID = 2536;

};

13.Peerdpagent 检查数据包的哈希,并与通过策略、来自 MP 的哈希进行验证:

Package CS10001E in state 'HashContentSuccess'. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

Hash verified for package CS10001E. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

14.它在 SMSPKGdriveletter$ 下创建一个包含数据包 ID 的文件夹,然后将来自临时目录的内容复制到 PackageID 文件夹并完成配置:

Directory 'C:\SMSPKGC$' already exists. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

Disconnected 0 users from directory C:\BDPTmpWrkFldr\PDP119.tmp. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

Package CS10001E in state 'HostingComplete'. PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

Package CS10001E provisioned at C:\SMSPKGC$\CS10001E PeerDPAgent 1/15/2012 11:50:32 AM 2536 (0x09E8)

instance of PDPProvisionSuccessEvent

{

ClientID = "GUID:9B783DCB-5511-4C76-864D-01E57731172E";

DateTime = "20120115062032.998000+000";

MachineName = "CS1XP";

PackageID = "CS10001E";

ProcessID = 1920;

Share = "C:\\SMSPKGC$\\CS10001E";

SiteCode = "CS1";

SourceVersion = 1;

ThreadID = 2604;

};

15.Peerdpagent 引发状态 3(已安装),然后您可以在 peerdpagent.log 中看到以下消息:

StatusFile message body for package 6271482 :

<PeerDPDownloadStatus><ClientID>GUID:9B783DCB-5511-4C76-864D-01E57731172E</ClientID><Msg PkgID="CS10001E" Location="MSWNET:[&quot;SMS_SITE=CS1&quot;]\\CS1XP\SMSPKGC$\CS10001E\" SiteCode="CS1" Type="2" SourceVersion="1" Personality="0" Status="3" State="3" UpdateTime="1326608432" PackageServer="[&quot;Display=\\CS1XP\&quot;]MSWNET:[&quot;SMS_SITE=CS1&quot;]\\CS1XP\" ShareName="SMSPKG" HttpUrl=""/></PeerDPDownloadStatus> PeerDPAgent 1/15/2012 11:50:32 AM 2604 (0x0A2C)

16.以上状态消息由 ccmexec 组件发送至 MP_Relayendpoint:

OutgoingMessage(Queue='mp_mp_relayendpoint', ID={5C3FFB3D-A554-4E4D-AE80-FA65960F2B7F}): Delivered successfully to host 'CS1SRV.NINJAS.COM'. CcmExec 1/15/2012 11:50:33 AM 1536 (0x0600)  

17.MP_relay.log 显示收到 ccmexec(第 16 点)发送的准确状态消息(第 15 点):

Message Body :

<PeerDPDownloadStatus><ClientID>GUID:9B783DCB-5511-4C76-864D-01E57731172E</ClientID><Msg PkgID="CS10001E" Location="MSWNET:[&quot;SMS_SITE=CS1&quot;]\\CS1XP\SMSPKGC$\CS10001E\" SiteCode="CS1" Type="2" SourceVersion="1" Personality="0" Status="3" State="3" UpdateTime="1326608432" PackageServer="[&quot;Display=\\CS1XP\&quot;]MSWNET:[&quot;SMS_SITE=CS1&quot;]\\CS1XP\" ShareName="SMSPKG" HttpUrl=""/></PeerDPDownloadStatus> MP_RelayEndpoint 1/15/2012 11:50:33 AM 1980 (0x07BC)

18.MP_relay 将一个 STA 文件置于 inboxes\distmgr.box\INCOMING 文件夹中,然后通知 distmgr 组件:

Inv-Relay Task: Processing message body MP_RelayEndpoint 1/15/2012 11:50:33 AM 1980 (0x07BC)

Relay: FileType= STA MP_RelayEndpoint 1/15/2012 11:50:33 AM 1980 (0x07BC)

Relay: Outbox dir: C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\incoming MP_RelayEndpoint 1/15/2012 11:50:33 AM 1980 (0x07BC)

19.distmgr 组件唤醒,然后将 pkgstatus 表更新为状态 3(已安装)并删除 STA 文件:

Processing incoming file C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\692QVRQ1.STA. SMS_DISTRIBUTION_MANAGER 1/15/2012 11:50:38 AM 4744 (0x1288)

SQL>>>update PkgStatus set Status = 3, UpdateTime = "01/15/2012 11:50:32", Location = "MSWNET:[""SMS_SITE=CS1""]\\CS1XP\SMSPKGC$\CS10001E\", ShareName = "SMSPKG", HTTPUrl = "", SourceVersion = 1, State = 3, SigURL = "", SigLocation = "" where ID = "CS10001E" and Type = 2 and Personality = 0 and SiteCode = "CS1" and PkgServer = "[""Display=\\CS1XP\""]MSWNET:[""SMS_SITE=CS1""]\\CS1XP\" SMS_DISTRIBUTION_MANAGER 1/15/2012 11:50:38 AM 4744 (0x1288)

Successfully update the package status SMS_DISTRIBUTION_MANAGER 1/15/2012 11:50:38 AM 4744 (0x1288)

Successfully delete package status file C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\692QVRQ1.STA SMS_DISTRIBUTION_MANAGER 1/15/2012 11:50:38 AM 4744 (0x1288)

20.ccmexec 将来自 peerdpagent 的以下 3 条状态消息上载到 MP_Statusreceiver。以下 3 个事件存在于 peerdpagent.log 中:

PDPDownloadStartedEvent

PDPDownloadSuccessEvent

PDPProvisionSuccessEvent

OutgoingMessage(Queue='mp_statusreceiver', ID={794CCBEB-50F8-4FBC-967F-1729CB816965}): Delivered successfully to host 'CS1SRV.NINJAS.COM'. CcmExec 1/15/2012 11:50:33 AM 2604 (0x0A2C)

21.MP_statusreceiver 收到状态并将 .SVF 文件放入 inboxes\statmgr.box\statmsgs 文件夹中:

Mp Status: processing event done. MP_StatusManager 1/15/2012 11:50:28 AM 1980 (0x07BC)

MP Status: SVF file written successfully to "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\YMUE4GZ2.SVF" MP_StatusManager 1/15/2012 11:50:28 AM 1980 (0x07BC)

MP Status: SVF file written successfully to "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\K5XATWID.SVF" MP_StatusManager 1/15/2012 11:50:32 AM 1980 (0x07BC)

MP Status: SVF file written successfully to "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\42FKA9TO.SVF" MP_StatusManager 1/15/2012 11:50:33 AM 1980 (0x07BC)

Mp StatusForwarder done, hr=0 MP_StatusManager 1/15/2012 11:50:33 AM 1980 (0x07BC)

22.Statmgr 组件读取 .SVF 文件,然后删除文件,并通过运行以下三个存储过程将状态插入数据库:

sp_InsStatusMessage

sp_InsStatusMessageInsStr

sp_InsStatusMessageAttribute

Read 1 status messages from file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\YMUE4GZ2.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:28 AM 2080 (0x0820)

Deleted file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\YMUE4GZ2.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:28 AM 2080 (0x0820)

Read 1 status messages from file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\K5XATWID.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:32 AM 2080 (0x0820)

Deleted file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\K5XATWID.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:32 AM 2080 (0x0820)

Read 1 status messages from file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\42FKA9TO.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:33 AM 2080 (0x0820)

Deleted file "C:\Program Files (x86)\Microsoft Configuration Manager\inboxes\statmgr.box\statmsgs\42FKA9TO.SVF". SMS_STATUS_MANAGER 1/15/2012 11:50:33 AM 2080 (0x0820)

Beginning a 938-byte SQL transaction to insert 3 status messages and their 7 insertion strings and 6 attribute ID/value pairs into the database. SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>exec sp_InsStatusMessage 3,242142,'SMS Client',1073753174,0,'01/15/2012 06:20:28.451','CS1','','CS1XP','Peer DP Agent',1920,2536,258,30,242143,'SMS Client',1073753175,0,'01/15/2012 06:20:32.654','CS1','','CS1XP','Peer DP Agent',1920,2536,258,30,242144,'SMS Client',1073753193,0,'01/15/2012 06:20:32.998','CS1','','CS1XP','Peer DP Agent',1920,2604,258,30 SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>>> Done. SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>exec sp_InsStatusMessageInsStr 7,242142,0,'CS10001E',242142,1,'1',242143,0,'CS10001E',242143,1,'1',242144,0,'CS10001E',242144,1,'1',242144,2,'C:\SMSPKGC$\CS10001E' SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>>> Done. SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>exec sp_InsStatusMessageAttribute 6,242142,408,'GUID:9B783DCB-5511-4C76-864D-01E57731172E','01/15/2012 06:20:28.451',242142,400,'CS10001E','01/15/2012 06:20:28.451',242143,408,'GUID:9B783DCB-5511-4C76-864D-01E57731172E','01/15/2012 06:20:32.654',242143,400,'CS10001E','01/15/2012 06:20:32.654',242144,408,'GUID:9B783DCB-5511-4C76-864D-01E57731172E','01/15/2012 06:20:32.998',242144,400,'CS10001E','01/15/2012 06:20:32.998' SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

SQL>>>>> Done. SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

Committed the transaction for asynchronous execution. We will poll every 250 milliseconds to determine the success or failure of the transaction. SMS_STATUS_MANAGER 1/15/2012 11:50:38 AM 2080 (0x0820)

23.当在分支分发点的数据包状态节点上选择“显示消息>全部”时,可以看到上面的 3 条状态消息。

Yuvaraj Tamil Mani

Facebook Twitter 上获得最新的 System Center 新闻:

 

App-V 团队博客:https://blogs.technet.com/appv/
AVIcode 团队博客:https://blogs.technet.com/b/avicode
ConfigMgr 支持团队博客:https://blogs.technet.com/configurationmgr/
DPM 团队博客:https://blogs.technet.com/dpm/
MED-V 团队博客:https://blogs.technet.com/medv/
OOB 支持团队博客:https://blogs.technet.com/oob/
Opalis 团队博客:https://blogs.technet.com/opalis
Orchestrator 支持团队博客:https://blogs.technet.com/b/orchestrator/
OpsMgr 支持团队博客:https://blogs.technet.com/operationsmgr/
SCMDM 支持团队博客:https://blogs.technet.com/mdm/
SCVMM 团队博客:https://blogs.technet.com/scvmm
Server App-V 团队博客:https://blogs.technet.com/b/serverappv
Service Manager 团队博客:https://blogs.technet.com/b/servicemanager
System Center Essentials 团队博客:https://blogs.technet.com/b/systemcenteressentials
WSUS 支持团队博客:https://blogs.technet.com/sus/

Forefront Server Protection 博客:https://blogs.technet.com/b/fss/
Forefront Identity Manager 博客:https://blogs.msdn.com/b/ms-identity-support/
Forefront TMG 博客:https://blogs.technet.com/b/isablog/
Forefront UAG 博客:https://blogs.technet.com/b/edgeaccessblog/