Export (0) Print
Expand All

6.1.4.5.2 SCHEDULE Structure


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

Size

Bandwidth

NumberOfSchedules

Schedules

...

Data (variable)

...

Size (4 bytes): Size of the entire replication schedule structure.

Bandwidth (4 bytes): Not used; this field is ignored.

NumberOfSchedules (4 bytes): Number of elements in Schedules. This value is always 1.

 

Schedules (8 bytes): Array of SCHEDULE_HEADER structures. There is only one SCHEDULE_HEADER element in the array.

Data (variable): This is a sequence of bytes specifying the time slots when replication is permitted between the source and the destination DC. Each schedule header specifies an offset into the data field. The replication schedule data for that schedule is the next 168 bytes. Each byte represents an hour in the week (24 * 7 = 168). The lower 4 bits of each byte represent 15-minute intervals in the hour. The first bit, that is, the fourth least significant bit in the byte, corresponds to the first 15 minutes in the hour, the second bit corresponds to the next 15 minutes, and so on. If one of these bits is set, it indicates that replication is permitted in that 15-minute time interval within that hour.

The offset field of the SCHEDULE_HEADER structure points to the beginning of the Data field, and the Data field is exactly 168 bytes since there is only one schedule.

 
Show:
© 2014 Microsoft