4.4.5 PDC Sends Out CMD_REMOTE_CO

COMM_BOP (4 bytes):

 00 00 00 00

COMM_COMMAND (4 bytes):

  
 18 2 00 00

Command: CMD_REMOTE_CO

COMM_TO (118 bytes):

  
 10 00 00 00 e6 87 d1 e5 aa 12 df 48 ab c1 d7 94 0a e0
 80 4c 5e 00 00 00 73 00 68 00 69 00 63 00 6f 00 2d 00
 74 00 65 00 6d 00 70 00 2d 00 32 00 2e 00 73 00 68 00
 69 00 63 00 6f 00 2d 00 6f 00 66 00 66 00 69 00 63 00
 65 00 2e 00 6e 00 74 00 74 00 65 00 73 00 74 00 2e 00
 6d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00
 2e 00 63 00 6f 00 6d 00 00 00

GUID: e5d187e6-12aa-48df-abc1d7940ae0804c

Name: shico-temp-2.shico-office.nttest.microsoft.com

COMM_FROM (50 bytes):

  
 10 00 00 00 1a b2 f4 54 fd 03 74 43 8e 3b 28 75 e7 40
 d9 58 1a 00 00 00 53 00 48 00 49 00 43 00 4f 00 2d 00
 54 00 45 00 4d 00 50 00 2d 00 31 00 00 00

GUID: 54f4b21a-03fd-4374-8e3b2875e740d958

Name: SHICO-TEMP-1

COMM_REPLICA (96 bytes):

  
 10 00 00 00 e6 87 d1 e5 aa 12 df 48 ab c1 d7 94 0a e0
 80 4c 48 00 00 00 44 00 4f 00 4d 00 41 00 49 00 4e 00
 20 00 53 00 59 00 53 00 54 00 45 00 4d 00 20 00 56 00
 4f 00 4c 00 55 00 4d 00 45 00 20 00 28 00 53 00 59 00
 53 00 56 00 4f 00 4c 00 20 00 53 00 48 00 41 00 52 00
 45 00 29 00 00 00

GUID: e5d187e6-12aa-48df-abc1d7940ae0804c

Name: DOMAIN SYSTEM VOLUME (SYSVOL SHARE)

COMM_CXTION (118 bytes):

  
 10 00 00 00 5f 34 89 2d ac b2 89 4e 8b dd 0e fa 16 6b
 92 e6 5e 00 00 00 73 00 68 00 69 00 63 00 6f 00 2d 00
 74 00 65 00 6d 00 70 00 2d 00 31 00 2e 00 73 00 68 00
 69 00 63 00 6f 00 2d 00 6f 00 66 00 66 00 69 00 63 00
 65 00 2e 00 6e 00 74 00 74 00 65 00 73 00 74 00 2e 00
 6d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00
 2e 00 63 00 6f 00 6d 00 00 00

GUID: 2d89345f-b2ac-4e89-8bdd0efa166b92e6

Name: shico-temp-1.shico-office.nttest.microsoft.com

COMM_JOIN_GUID (20 bytes):

  
 10 00 00 00 48 61 c2 70 db 7e c9 39 bb 75 48 7f af b2
 dc d5

GUID: 70c26148-7edb-39c9-bb75487fafb2dcd5

COMM_LAST_JOIN_TIME (8 bytes):

  
 4e 60 39 1b b5 89 c6 01

FILETIME: 0x01c689b5 1b39604e

COMM_REMOTE_CO (796 bytes):

  
 18 03 00 00 03 00 00 00 28 00 04 00 00 00 00 00 14 00
 00 00 00 01 00 00 01 00 00 00 10 00 00 00 00 00 00 00
 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 7c 59 ee 3d b8 89 c6 01 f8 8d bc 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 01 00 00 00 01 00 00 00 3c 8f 6e 16 2c 97 d4 47
 bf 34 e6 32 75 13 5b 2b 76 65 78 79 63 b8 da 41 b1 1a
 41 63 46 eb be b3 4e c8 ec 1a 7a 35 0f 4e 99 a4 f2 ea
 94 ff ab 08 e6 87 d1 e5 aa 12 df 48 ab c1 d7 94 0a e0
 80 4c e6 87 d1 e5 aa 12 df 48 ab c1 d7 94 0a e0 80 4c
 5f 34 89 2d ac b2 89 4e 8b dd 0e fa 16 6b 92 e6 9a 9b
 34 1b b5 89 c6 01 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 08 c5 e8 00 00 00 00 00 2e b6 2e dc af 89 c6 01 10 00
 50 00 6f 00 6c 00 69 00 63 00 69 00 65 00 73 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00

Type _CHANGE_ORDER_RECORD_*

  
    +0x000 SequenceNumber   : 3 0 0 0 (3)
    +0x004 Flags            : 28 0 4 0 
 (0x40028 - CO_FLAG_VVJOIN_TO_ORIG | CO_FLAG_LOCALCO | 
 CO_FLAG_LOCATION_CMD)
    +0x008 IFlags           : 0 0 0 0 (0)
    +0x00c State            : 14 0 0 0 
 (0x14 - Request outbound propagation)
    +0x010 ContentCmd       : 0 1 0 0 
 (0x100 - REASON_FILE_CREATE)
    +0x014 LocationCmd      : 1 0 0 0 (1 - Folder)
    +0x018 FileAttributes   : 10 0 0 0 
 (0x10 - FILE_ATTRIBUTE_DIRECTORY)
    +0x01c FileVersionNumber : 0 0 0 0 (0)
    +0x020 PartnerAckSeqNumber : 3 0 0 0 0 0 0 0 (3)
    +0x028 FileSize         : 0 0 0 0 0 0 0 0 (0)
    +0x030 FileOffset       : 0 0 0 0 0 0 0 0 (0)
    +0x038 FrsVsn           : 7c 59 ee 3d b8 89 c6 1 
 (0x01c689b8 3dee597c)
    +0x040 FileUsn          : f8 8d bc 0 0 0 0 0 
 (0x00000000 00bc8df8)
    +0x048 JrnlUsn          : 0 0 0 0 0 0 0 0 
    +0x050 JrnlFirstUsn     : 0 0 0 0 0 0 0 0
    +0x058 OriginalReplicaNum : 1 0 0 0 (1)
    +0x05c NewReplicaNum    : 1 0 0 0 (1)
    +0x060 ChangeOrderGuid  : 3c 8f 6e 16 2c 97 d4 47 
                              bf 34 e6 32 75 13 5b 2b 
 (166e8f3c-972c-47d4-bf34e63275135b2b)
    +0x070 OriginatorGuid   : 76 65 78 79 63 b8 da 41 
                              b1 1a 41 63 46 eb be b3
 (79786576-b863-41da-b11a416346ebbeb3)
    +0x080 FileGuid         : 4e c8 ec 1a 7a 35 f 4e 
                              99 a4 f2 ea 94 ff ab 8
 (1aecc84e-357a-4e0f-99a4f2ea94ffab08)
    +0x090 OldParentGuid    : e6 87 d1 e5 aa 12 df 48 
                              ab c1 d7 94 a e0 80 4c
 (e5d187e6-12aa-48df-abc1d7940ae0804c)
    +0x0a0 NewParentGuid    : e6 87 d1 e5 aa 12 df 48 
                              ab c1 d7 94 a e0 80 4c
 (e5d187e6-12aa-48df-abc1d7940ae0804c)
    +0x0b0 CxtionGuid       : 5f 34 89 2d ac b2 89 4e 
                              8b dd e fa 16 6b 92 e6
 (2d89345f-b2ac-4e89-8bdd0efa166b92e6)
    +0x0c0 AckVersion       : 9a 9b 34 1b b5 89 c6 1 
                              (0x01c689b5 1b349b9a)
    +0x0c8 Spare2Ull        : 0 0 0 0 0 0 0 0
    +0x0d0 Spare1Guid       : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    +0x0e0 Spare2Guid       : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    +0x0f0 Spare1Wcs        : 0 0 0 0 
    +0x0f4 Spare2Wcs        : 0 0 0 0 
    +0x0f8 Extension        : 8 c5 e8 0 
    +0x0fc Spare2Bin        : 0 0 0 0 
    +0x100 EventTime        : 2e b6 2e dc af 89 c6 1
    +0x108 FileNameLength   : 10 0 (16 bytes)
    +0x10a FileName         : 50 0 6f 0 6c 0 69 0 
                              63 0 69 0 65 0 73 0 (Policies)

Notes:

  • SequenceNumber in the change order is initialized to 0. Once it is inserted into outbound log, it assumes the largest value among all change orders in outbound log plus one.

  • Spare1Wcs, Spare2Wcs, Extension, and Spare2Bin occupy 16 bytes on 32-bit architectures and occupy 32 bytes on 64-bit architectures. The CO is included in the staging file header and in the change order comm packet, causing 32-64 interoperation problems in both the staging file processing and comm transfers between 32- and 64-bit machines. The contents of these pointers are irrelevant in both comm packets and staging files since they point to allocated buffers. To preserve the size of the change order in the staging file on 64-bit machines, the unused field Spare2Guid is unioned with the two 8-byte pointers Spare1Wcs and Spare2Wcs, saving 16 bytes. On 32-bit architectures, these fields are left separate.

COMM_CO_EXTENSION_2 (72 bytes):

  
 48 00 00 00 01 00 02 00 18 00 00 00 30 00 00 00 00 00
 00 00 00 00 00 00 18 00 00 00 01 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 02 00
 00 00 00 00 00 00 00 00 00 00 5c 87 40 1b b5 89 c6 01

Type _CHANGE_ORDER_RECORD_EXTENSION_*

  
    +0x000 FieldSize        : 48 0 0 0 (0x48)
    +0x004 Major            : 1 0 (1)
    +0x006 OffsetCount      : 2 0 (2)
    +0x008 Offset           : 18 0 0 0 30 0 0 0 (0x00000018 and 0x00000030)
    +0x010 OffsetLast       : 0 0 0 0 0 0 0 0 (0)
    +0x018 DataChecksum     : _DATA_EXTENSION_CHECKSUM_
       +0x000 Prefix           : _DATA_EXTENSION_PREFIX_
          +0x000 Size             : 18 0 0 0 (0x18)
          +0x004 Type             : 1 0 0 0 (1)
       +0x008 Data             : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    +0x030 DataRetryTimeout : _DATA_EXTENSION_RETRY_TIMEOUT_
       +0x000 Prefix           : _DATA_EXTENSION_PREFIX_
          +0x000 Size             : 18 0 0 0 (0x18)
          +0x004 Type             : 2 0 0 0 (2)
       +0x008 Count            : 0 0 0 0 0 0 0 0 (0)
       +0x010 FirstTryTime     : 5c 87 40 1b b5 89 c6 1

COMM_EOP (4 bytes):

 ff ff ff ff

Step 5 is repeated until all of the change orders are sent from the PDC to the replica DC.