Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
3.7 KiB

  1. The programs in this dir take a list of branch DCs and a list of Hub DCs and construct
  2. a hub and spoke topology in which the list of branch DCs are balanced across the Hub DCs.
  3. If redundancy parameters are specified for either the hub or branches then mkhubbchtop
  4. will create multiple connections between a branch and the hubs. The replication
  5. schedules will be constructed in a staggered manner so that each replication interval
  6. on the branch will go to successive Hub DCs. Extensive help is provided in both
  7. mkhubbchtop.cmd and mkdsx.cmd.
  8. File List:
  9. README.TXT This file
  10. topo.dat A sample topology input file
  11. mkhubbchtop.cmd Perl Program that reads the topology file and creates a connection data file.
  12. mkdsx.dat sample output from run of mkhubbchtop on topo.dat
  13. mkdsx.cmd Perl program that reads a connection data file and invokes mkdsxe
  14. mkdsxe.exe Program that creates/update/dumps/deletes DC connection objects. Built for Win2K.
  15. mkdsx.h Header for mkdsxe
  16. mkdsxe.cxx Source for mkdsxe
  17. sources build script for Win2K build environment
  18. perl.exe perl interpreter.
  19. Revison History:
  20. [davidor] 8/12/00 - added /debug and /auto_cleanup.
  21. [davidor] 9/4/00 - fixed schedules so they are staggered accross the hours of the repl interval.
  22. - added /avglinkbw nnn
  23. # This is an estimate of the average link bandwidth in KB/Sec units
  24. # available for replication. E.g. If the raw link speed is
  25. # 64k bits/sec and you estimate that only 50% of this is
  26. # available for use then avglinkbw = 0.5 * (64kb / 8 bits/byte).
  27. # From this and the number of hubs, number of branches and the
  28. # replication interval we calculate the maximum bandwidth-limited
  29. # data payload that can be shipped from the branch to the hub. If
  30. # this is exceeded replication will run over into the next scheduled hour.
  31. [davidor] 9/17/00 - added /schedmask and /schedoverride to mkhubbchtop.cmd and mkdsx.cmd
  32. Schedmask and schedoverride data are formatted as a pair of ascii hex digits
  33. for each byte in the 7x24 schedule array with byte 0 corresponding to day 1 hour 0.
  34. For each connection the 7x24 result schedule is formed using the schedule parameter
  35. and then the schedule mask is applied (each bit set in the schedule mask
  36. clears the corresponding bit in the result schedule). Finally the schedule override
  37. is applied with a logical OR of the override schedule to the result schedule.
  38. Schedmask and schedoverride can have embedded whitespace chars (including cr/lf)
  39. which are deleted or be a single string of 336 (7*24*2) hex digits. For example:
  40. FF0000000000 000000000000 000000000000 000000000000
  41. FF0000000000 FFFFFFFFFF00 000000000000 000000000000
  42. FF0000000000 FFFFFFFFFF00 000000000000 000000000000
  43. FF0000000000 FFFFFFFFFF00 000000000000 000000000000
  44. FF0000000000 FFFFFFFFFF00 000000000000 000000000000
  45. FF0000000000 000000000000 000000000000 000000000000
  46. FF0000000000 000000000000 000000000000 000000000000
  47. [davidor] 10/05/00 - A zero value for /hubredundancy means generate no connections inbound to the hub DCs.
  48. Likewise for /bchredundancy.