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.

501 lines
40 KiB

  1. ## Command line defined variables.
  2. ## Command line defined parameters.
  3. ## verbose => 'all'
  4. use frsobjsup;
  5. package main;
  6. my ($__HashRef, $__k, $__v);
  7. my (%CMD_VARS, %CMD_PARS);
  8. &FRSSUP::ProcessCmdLine(\%CMD_VARS, \%CMD_PARS);
  9. my $Usage = "
  10. Specific Usage: perl $0 [cmd options] \> output
  11. Process the erac.mrs configuration script.
  12. Command line options must be prefixed with a dash.
  13. The required input options to this script are:
  14. -DBchID=nnnnn : to provide a value for the Bch ID parameter.
  15. -DHubID=nnnnn : to provide a value for the Hub ID parameter.
  16. ";
  17. FRSSUP::CheckForHelp(\%CMD_PARS, \$Usage);
  18. FRSSUP::ShowHelp("ERROR - Required parameter BchID not found.", \$Usage) if (!exists $CMD_VARS{"BchID"});
  19. push @bchID, $CMD_VARS{"BchID"};
  20. FRSSUP::ShowHelp("ERROR - Required parameter HubID not found.", \$Usage) if (!exists $CMD_VARS{"HubID"});
  21. push @hubID, $CMD_VARS{"HubID"};
  22. ## pre:'' match:'push @bchTimeZone, 0; ' post:' place holder for now.' lastparen:'push @bchTimeZone, 0; '
  23. push @bchTimeZone, 0;
  24. $domain = "na";
  25. ## pre:'' match:'FRS_SUB CREATE_WORK_RS(/HA=SET_ELEMENT ' post:'# Hub server' lastparen:'FRS_SUB CREATE_WORK_RS(/HA=SET_ELEMENT '
  26. ## (1) paren match:'('
  27. ## (2) paren match:'/HA=SET_ELEMENT ('
  28. ## (1) paren match:'*)'
  29. ## 1, Found: (/HA=SET_ELEMENT Rest:
  30. ## pre:'' match:' /B=VARCON ' post:'# Branch server' lastparen:' /B=VARCON '
  31. ## (1) paren match:'('
  32. ## (2) paren match:'/HA=SET_ELEMENT /B=VARCON('
  33. ## (1) paren match:'*)'
  34. ## 1, Found: (/HA=SET_ELEMENT /B=VARCON Rest:
  35. ## pre:'' match:' /SC1=SCHEDULE ' post:'# schedule' lastparen:' /SC1=SCHEDULE '
  36. ## (1) paren match:'('
  37. ## (2) paren match:'/HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE('
  38. ## (1) paren match:'*)'
  39. ## 1, Found: (/HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE Rest:
  40. ## pre:'' match:' /SETTINGSDN=SET_ELEMENT ) ' post:'# The parent Settings object' lastparen:' /SETTINGSDN=SET_ELEMENT ) '
  41. ## (1) paren match:'('
  42. ## (0) paren match:'/HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE /SETTINGSDN=SET_ELEMENT )'
  43. ## 0, Found: (/HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE /SETTINGSDN=SET_ELEMENT ) Rest:
  44. sub CREATE_WORK_RS {
  45. my %__args = (@_);
  46. my ($__HashRef, $__k, $__v);
  47. print "##\n";
  48. print "## Entering sub CREATE_WORK_RS\n";
  49. while ( ($__k, $__v) = each %__args ) { print "## \t$__k => '$__v'\n"; }
  50. ## pre:'' match:'HA=SET_ELEMENT ' post:'B=VARCON /SC1=SCHEDULE /SETTINGSDN=SET_ELEMENT' lastparen:'HA=SET_ELEMENT '
  51. ## pre:'HA=SET_ELEMENT /' match:'B=VARCON ' post:'SC1=SCHEDULE /SETTINGSDN=SET_ELEMENT' lastparen:'B=VARCON '
  52. ## pre:'HA=SET_ELEMENT /B=VARCON /' match:'SC1=SCHEDULE ' post:'SETTINGSDN=SET_ELEMENT' lastparen:'SC1=SCHEDULE '
  53. ## pre:'HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE /' match:'SETTINGSDN=SET_ELEMENT' post:'' lastparen:'SETTINGSDN=SET_ELEMENT'
  54. ## pre:'HA=SET_ELEMENT /B=VARCON /SC1=SCHEDULE /SETTINGSDN=SET_ELEMENT' match:'' post:'' lastparen:''
  55. ## pre:'' match:' ' post:'' lastparen:' '
  56. ## pre:'' match:' ' post:' Define an FRS replica set object under the settingsdn object.' lastparen:' '
  57. ## pre:'' match:' ' post:' The object name for the FRS Replica Set object is based on the {rep_set_name}' lastparen:' '
  58. ## pre:'' match:' ' post:' parameter from the branch server object.' lastparen:' '
  59. ## pre:'' match:' ' post:'' lastparen:' '
  60. ## pre:'' match:' # Restriction: All subroutine argument refs are surrounded by "%"' post:'.' lastparen:' # Restriction: All subroutine argument refs are surrounded by "%"'
  61. # Restriction: All subroutine argument refs are surrounded by "%"
  62. ## pre:'' match:' ' post:' References to parameters in other objects use the' lastparen:' '
  63. ## pre:'' match:' # notation "->{...}"' post:'.' lastparen:' # notation "->{...}"'
  64. # notation "->{...}"
  65. ## pre:'' match:' ' post:'' lastparen:' '
  66. ## ExpandArgStr: SET: FRS_REPLICASET (/UNDER=$__args{SETTINGSDN} /TYPE=DFS /ONAME=$__args{B}->{rep_set_name})
  67. ## (1) paren match:'('
  68. ## (0) paren match:'/UNDER=$__args{SETTINGSDN} /TYPE=DFS /ONAME=$__args{B}->{rep_set_name})'
  69. ## 0, Found: (/UNDER=$__args{SETTINGSDN} /TYPE=DFS /ONAME=$__args{B}->{rep_set_name}) Rest:
  70. ## 'UNDER=$__args{SETTINGSDN} /TYPE=DFS /ONAME=$__args{B}->{rep_set_name}'
  71. $__HashRef = FRS_REPLICASET->New(
  72. ## pre:'' match:'UNDER=$__args{SETTINGSDN} ' post:'TYPE=DFS /ONAME=$__args{B}->{rep_set_name}' lastparen:'UNDER=$__args{SETTINGSDN} '
  73. ## pre:'UNDER=$__args{SETTINGSDN} /' match:'TYPE=DFS ' post:'ONAME=$__args{B}->{rep_set_name}' lastparen:'TYPE=DFS '
  74. ## pre:'UNDER=$__args{SETTINGSDN} /TYPE=DFS /' match:'ONAME=$__args{B}->{rep_set_name}' post:'' lastparen:'ONAME=$__args{B}->{rep_set_name}'
  75. ## pre:'UNDER=$__args{SETTINGSDN} /TYPE=DFS /ONAME=$__args{B}->{rep_set_name}' match:'' post:'' lastparen:''
  76. ## UNDER=$__args{SETTINGSDN}:TYPE=DFS:ONAME=$__args{B}->{rep_set_name}
  77. UNDER=>$__args{SETTINGSDN}, TYPE=>DFS, ONAME=>$__args{B}->{rep_set_name}
  78. );
  79. &FRSSUP::AddToSet("SET", $__HashRef);
  80. ## pre:'' match:' ' post:'' lastparen:' '
  81. ## pre:'' match:' ' post:' Create the two FRS member objects underneath the SET object just created.' lastparen:' '
  82. ## pre:'' match:' ' post:' Parameters for the member object attributes come from the /SERVER argument' lastparen:' '
  83. ## pre:'' match:' ' post:' but they can also be replaced by paramters to the FRS_MEMBER command.' lastparen:' '
  84. ## pre:'' match:' ' post:' For example, the staging and root paths come from the /SERVER argument but the' lastparen:' '
  85. ## pre:'' match:' # root path could be changed by adding "/RP="newroot""' post:' to the param list below.' lastparen:' # root path could be changed by adding "/RP="newroot""'
  86. # root path could be changed by adding "/RP="newroot""
  87. ## pre:'' match:' ' post:'' lastparen:' '
  88. ## pre:'' match:' ' post:' Restriction: References to tags that name a set of objects are' lastparen:' '
  89. ## pre:'' match:' # surrounded by angle brackets. So "<SET>"' post:' below refers' lastparen:' # surrounded by angle brackets. So "<SET>"'
  90. ## ExpandSetRef: # surrounded by angle brackets. So "&FRSSUP::SelectSet(SET)"
  91. # surrounded by angle brackets. So "&FRSSUP::SelectSet(SET)"
  92. ## pre:'' match:' ' post:' the FRS_REPLICASET object just defined above.' lastparen:' '
  93. ## pre:'' match:' ' post:'' lastparen:' '
  94. ## ExpandArgStr: MHA: FRS_MEMBER (/UNDER=<SET> /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER} )
  95. ## ExpandSetRef: MHA: FRS_MEMBER (/UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER} )
  96. ## (1) paren match:'('
  97. ## (2) paren match:'/UNDER=&FRSSUP::SelectSet('
  98. ## (1) paren match:'SET)'
  99. ## (0) paren match:' /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER} )'
  100. ## 0, Found: (/UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER} ) Rest:
  101. ## 'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER}'
  102. $__HashRef = FRS_MEMBER->New(
  103. ## pre:'' match:'UNDER=&FRSSUP::SelectSet(SET) ' post:'SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER}' lastparen:'UNDER=&FRSSUP::SelectSet(SET) '
  104. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /' match:'SERVER=$__args{HA} ' post:'COMPUTER=$__args{HA}->{COMPUTER}' lastparen:'SERVER=$__args{HA} '
  105. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{HA} /' match:'COMPUTER=$__args{HA}->{COMPUTER}' post:'' lastparen:'COMPUTER=$__args{HA}->{COMPUTER}'
  106. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{HA} /COMPUTER=$__args{HA}->{COMPUTER}' match:'' post:'' lastparen:''
  107. ## UNDER=&FRSSUP::SelectSet(SET):SERVER=$__args{HA}:COMPUTER=$__args{HA}->{COMPUTER}
  108. UNDER=>&FRSSUP::SelectSet(SET)->[0], SERVER=>$__args{HA}, COMPUTER=>$__args{HA}->{COMPUTER}
  109. );
  110. &FRSSUP::AddToSet("MHA", $__HashRef);
  111. ## ExpandArgStr: MB: FRS_MEMBER (/UNDER=<SET> /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER} )
  112. ## ExpandSetRef: MB: FRS_MEMBER (/UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER} )
  113. ## (1) paren match:'('
  114. ## (2) paren match:'/UNDER=&FRSSUP::SelectSet('
  115. ## (1) paren match:'SET)'
  116. ## (0) paren match:' /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER} )'
  117. ## 0, Found: (/UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER} ) Rest:
  118. ## 'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER}'
  119. $__HashRef = FRS_MEMBER->New(
  120. ## pre:'' match:'UNDER=&FRSSUP::SelectSet(SET) ' post:'SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER}' lastparen:'UNDER=&FRSSUP::SelectSet(SET) '
  121. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /' match:'SERVER=$__args{B} ' post:'COMPUTER=$__args{B}->{COMPUTER}' lastparen:'SERVER=$__args{B} '
  122. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{B} /' match:'COMPUTER=$__args{B}->{COMPUTER}' post:'' lastparen:'COMPUTER=$__args{B}->{COMPUTER}'
  123. ## pre:'UNDER=&FRSSUP::SelectSet(SET) /SERVER=$__args{B} /COMPUTER=$__args{B}->{COMPUTER}' match:'' post:'' lastparen:''
  124. ## UNDER=&FRSSUP::SelectSet(SET):SERVER=$__args{B}:COMPUTER=$__args{B}->{COMPUTER}
  125. UNDER=>&FRSSUP::SelectSet(SET)->[0], SERVER=>$__args{B}, COMPUTER=>$__args{B}->{COMPUTER}
  126. );
  127. &FRSSUP::AddToSet("MB", $__HashRef);
  128. ## pre:'' match:' ' post:'' lastparen:' '
  129. ## pre:'' match:' ' post:' Create the connection objects between the members defined above.' lastparen:' '
  130. ## pre:'' match:' ' post:' Note use of angle brackets.' lastparen:' '
  131. ## pre:'' match:' ' post:' To use the timezone supplied on the branch's FRS_SERVER object' lastparen:' '
  132. ## pre:'' match:' ' post:' add the following parameter to each FRS_CONNECTION object below.' lastparen:' '
  133. ## pre:'' match:' ' post:' /TIME_ZONE=%B%->{time_zone}' lastparen:' '
  134. ## pre:'' match:' ' post:'' lastparen:' '
  135. ## ExpandArgStr: FRS_CONNECTION (/TO=<MB> /FROM=<MHA> /SCHED=$__args{SC1}
  136. ## ExpandSetRef: FRS_CONNECTION (/TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1}
  137. ## (1) paren match:'('
  138. ## (2) paren match:'/TO=&FRSSUP::SelectSet('
  139. ## (1) paren match:'MB)'
  140. ## (2) paren match:' /FROM=&FRSSUP::SelectSet('
  141. ## (1) paren match:'MHA)'
  142. ## (2) paren match:' /SCHED=$__args{SC1}('
  143. ## (1) paren match:'*)'
  144. ## 1, Found: (/TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} Rest:
  145. ## ExpandArgStr: /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME} )
  146. ## (1) paren match:'('
  147. ## (2) paren match:'/TO=&FRSSUP::SelectSet('
  148. ## (1) paren match:'MB)'
  149. ## (2) paren match:' /FROM=&FRSSUP::SelectSet('
  150. ## (1) paren match:'MHA)'
  151. ## (0) paren match:' /SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME} )'
  152. ## 0, Found: (/TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME} ) Rest:
  153. ## 'TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}'
  154. FRS_CONNECTION->New(
  155. ## pre:'' match:'TO=&FRSSUP::SelectSet(MB) ' post:'FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}' lastparen:'TO=&FRSSUP::SelectSet(MB) '
  156. ## pre:'TO=&FRSSUP::SelectSet(MB) /' match:'FROM=&FRSSUP::SelectSet(MHA) ' post:'SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}' lastparen:'FROM=&FRSSUP::SelectSet(MHA) '
  157. ## pre:'TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /' match:'SCHED=$__args{SC1} ' post:'ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}' lastparen:'SCHED=$__args{SC1} '
  158. ## pre:'TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} /' match:'ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}' post:'' lastparen:'ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}'
  159. ## pre:'TO=&FRSSUP::SelectSet(MB) /FROM=&FRSSUP::SelectSet(MHA) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}' match:'' post:'' lastparen:''
  160. ## TO=&FRSSUP::SelectSet(MB):FROM=&FRSSUP::SelectSet(MHA):SCHED=$__args{SC1}:ONAME="FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}
  161. TO=>&FRSSUP::SelectSet(MB)->[0], FROM=>&FRSSUP::SelectSet(MHA)->[0], SCHED=>$__args{SC1}, ONAME=>"FROM-".$__args{HA}->{ONAME}."-TO-".$__args{B}->{ONAME}
  162. );
  163. ## ExpandArgStr: FRS_CONNECTION (/TO=<MHA> /FROM=<MB> /SCHED=$__args{SC1}
  164. ## ExpandSetRef: FRS_CONNECTION (/TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1}
  165. ## (1) paren match:'('
  166. ## (2) paren match:'/TO=&FRSSUP::SelectSet('
  167. ## (1) paren match:'MHA)'
  168. ## (2) paren match:' /FROM=&FRSSUP::SelectSet('
  169. ## (1) paren match:'MB)'
  170. ## (2) paren match:' /SCHED=$__args{SC1}('
  171. ## (1) paren match:'*)'
  172. ## 1, Found: (/TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} Rest:
  173. ## ExpandArgStr: /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME} )
  174. ## (1) paren match:'('
  175. ## (2) paren match:'/TO=&FRSSUP::SelectSet('
  176. ## (1) paren match:'MHA)'
  177. ## (2) paren match:' /FROM=&FRSSUP::SelectSet('
  178. ## (1) paren match:'MB)'
  179. ## (0) paren match:' /SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME} )'
  180. ## 0, Found: (/TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME} ) Rest:
  181. ## 'TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}'
  182. FRS_CONNECTION->New(
  183. ## pre:'' match:'TO=&FRSSUP::SelectSet(MHA) ' post:'FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}' lastparen:'TO=&FRSSUP::SelectSet(MHA) '
  184. ## pre:'TO=&FRSSUP::SelectSet(MHA) /' match:'FROM=&FRSSUP::SelectSet(MB) ' post:'SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}' lastparen:'FROM=&FRSSUP::SelectSet(MB) '
  185. ## pre:'TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /' match:'SCHED=$__args{SC1} ' post:'ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}' lastparen:'SCHED=$__args{SC1} '
  186. ## pre:'TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} /' match:'ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}' post:'' lastparen:'ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}'
  187. ## pre:'TO=&FRSSUP::SelectSet(MHA) /FROM=&FRSSUP::SelectSet(MB) /SCHED=$__args{SC1} /ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}' match:'' post:'' lastparen:''
  188. ## TO=&FRSSUP::SelectSet(MHA):FROM=&FRSSUP::SelectSet(MB):SCHED=$__args{SC1}:ONAME="FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}
  189. TO=>&FRSSUP::SelectSet(MHA)->[0], FROM=>&FRSSUP::SelectSet(MB)->[0], SCHED=>$__args{SC1}, ONAME=>"FROM-".$__args{B}->{ONAME}."-TO-".$__args{HA}->{ONAME}
  190. );
  191. &FRSSUP::DeleteSet("SET");
  192. &FRSSUP::DeleteSet("MHA");
  193. &FRSSUP::DeleteSet("MB");
  194. } # FRS_END_SUB
  195. for ($ib=0; $ib<scalar(@bchID); $ib++) {
  196. ## pre:'' match:' # The branch name ($bchName) is a concatenation (use of "."' post:') of the rootpath' lastparen:' # The branch name ($bchName) is a concatenation (use of "."'
  197. # The branch name ($bchName) is a concatenation (use of "."
  198. ## pre:'' match:' ' post:' branch id parameter and a constant suffix.' lastparen:' '
  199. ## pre:'' match:' # The hub root path uses the branch name (no "."' post:' since inside dbl-quotes)' lastparen:' # The hub root path uses the branch name (no "."'
  200. # The hub root path uses the branch name (no "."
  201. ## pre:'' match:' ' post:' so it is unique for each replica set serviced by this hub.' lastparen:' '
  202. ## pre:'' match:' ' post:' In FRS, no two replica sets on the same server can have overlapping root paths.' lastparen:' '
  203. $bchName = $bchID[$ib] . "-I01";
  204. ## pre:'' match:' $bchNt4Acct = "$domain\\$bchName\$"; ' post:'# need to define outside of params due to trailing $' lastparen:' $bchNt4Acct = "$domain\\$bchName\$"; '
  205. $bchNt4Acct = "$domain\\$bchName\$";
  206. $hubName = "STL-FSNA-I" . $hubID[$ib];
  207. ## pre:'' match:' $hubRootPath = "C:\\BRANCHES\\$bchName"; ' post:'# need double slashes outside params' lastparen:' $hubRootPath = "C:\\BRANCHES\\$bchName"; '
  208. $hubRootPath = "C:\\BRANCHES\\$bchName";
  209. ## pre:'' match:' $hubNt4Acct = "$domain\\$hubName\$"; ' post:'# need to define outside of params due to trailing $' lastparen:' $hubNt4Acct = "$domain\\$hubName\$"; '
  210. $hubNt4Acct = "$domain\\$hubName\$";
  211. ## (1) paren match:'('
  212. ## (2) paren match:'/RP=$hubRootPath('
  213. ## (1) paren match:'*)'
  214. ## 1, Found: (/RP=$hubRootPath Rest:
  215. ## pre:'' match:' /SP="C:\FRS-STAGING" ' post:'# can use single slashes inside params' lastparen:' /SP="C:\FRS-STAGING" '
  216. ## (1) paren match:'('
  217. ## (2) paren match:'/RP=$hubRootPath /SP="C:\FRS-STAGING"('
  218. ## (1) paren match:'*)'
  219. ## 1, Found: (/RP=$hubRootPath /SP="C:\FRS-STAGING" Rest:
  220. ## (1) paren match:'('
  221. ## (2) paren match:'/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct('
  222. ## (1) paren match:'*)'
  223. ## 1, Found: (/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct Rest:
  224. ## (1) paren match:'('
  225. ## (2) paren match:'/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName('
  226. ## (1) paren match:'*)'
  227. ## 1, Found: (/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName Rest:
  228. ## (1) paren match:'('
  229. ## (0) paren match:'/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com" )'
  230. ## 0, Found: (/RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com" ) Rest:
  231. ## 'RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com"'
  232. $__HashRef = FRS_SERVER->New(
  233. ## pre:'' match:'RP=$hubRootPath ' post:'SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com"' lastparen:'RP=$hubRootPath '
  234. ## pre:'RP=$hubRootPath /' match:'SP="C:\FRS-STAGING" ' post:'COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com"' lastparen:'SP="C:\FRS-STAGING" '
  235. ## pre:'RP=$hubRootPath /SP="C:\FRS-STAGING" /' match:'COMPUTER=$hubNt4Acct ' post:'ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com"' lastparen:'COMPUTER=$hubNt4Acct '
  236. ## pre:'RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /' match:'ONAME=$hubName ' post:'DNS_NAME="$hubName.$domain.erac.com"' lastparen:'ONAME=$hubName '
  237. ## pre:'RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /' match:'DNS_NAME="$hubName.$domain.erac.com"' post:'' lastparen:'DNS_NAME="$hubName.$domain.erac.com"'
  238. ## pre:'RP=$hubRootPath /SP="C:\FRS-STAGING" /COMPUTER=$hubNt4Acct /ONAME=$hubName /DNS_NAME="$hubName.$domain.erac.com"' match:'' post:'' lastparen:''
  239. ## RP=$hubRootPath:SP="C:\FRS-STAGING":COMPUTER=$hubNt4Acct:ONAME=$hubName:DNS_NAME="$hubName.$domain.erac.com"
  240. RP=>$hubRootPath, SP=>"C:\\FRS-STAGING", COMPUTER=>$hubNt4Acct, ONAME=>$hubName, DNS_NAME=>"$hubName.$domain.erac.com"
  241. );
  242. &FRSSUP::AddToSet("HUB", $__HashRef);
  243. ## (1) paren match:'('
  244. ## (2) paren match:'/RP="D:\USERS"('
  245. ## (1) paren match:'*)'
  246. ## 1, Found: (/RP="D:\USERS" Rest:
  247. ## (1) paren match:'('
  248. ## (2) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING"('
  249. ## (1) paren match:'*)'
  250. ## 1, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" Rest:
  251. ## (1) paren match:'('
  252. ## (2) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct('
  253. ## (1) paren match:'*)'
  254. ## 1, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct Rest:
  255. ## (1) paren match:'('
  256. ## (2) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName('
  257. ## (1) paren match:'*)'
  258. ## 1, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName Rest:
  259. ## pre:'' match:' /time_zone=$bchTimeZone[$ib] ' post:'# carry the timezone thru the server data.' lastparen:' /time_zone=$bchTimeZone[$ib] '
  260. ## (1) paren match:'('
  261. ## (2) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib]('
  262. ## (1) paren match:'*)'
  263. ## 1, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] Rest:
  264. ## (1) paren match:'('
  265. ## (2) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com"('
  266. ## (1) paren match:'*)'
  267. ## 1, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" Rest:
  268. ## (1) paren match:'('
  269. ## (0) paren match:'/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName" )'
  270. ## 0, Found: (/RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName" ) Rest:
  271. ## 'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"'
  272. $__HashRef = FRS_SERVER->New(
  273. ## pre:'' match:'RP="D:\USERS" ' post:'SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' lastparen:'RP="D:\USERS" '
  274. ## pre:'RP="D:\USERS" /' match:'SP="C:\FRS-STAGING" ' post:'COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' lastparen:'SP="C:\FRS-STAGING" '
  275. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /' match:'COMPUTER=$bchNt4Acct ' post:'ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' lastparen:'COMPUTER=$bchNt4Acct '
  276. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /' match:'ONAME=$bchName ' post:'time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' lastparen:'ONAME=$bchName '
  277. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /' match:'time_zone=$bchTimeZone[$ib] ' post:'DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' lastparen:'time_zone=$bchTimeZone[$ib] '
  278. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /' match:'DNS_NAME="$bchName.$domain.erac.com" ' post:'rep_set_name="WD-$bchName"' lastparen:'DNS_NAME="$bchName.$domain.erac.com" '
  279. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /' match:'rep_set_name="WD-$bchName"' post:'' lastparen:'rep_set_name="WD-$bchName"'
  280. ## pre:'RP="D:\USERS" /SP="C:\FRS-STAGING" /COMPUTER=$bchNt4Acct /ONAME=$bchName /time_zone=$bchTimeZone[$ib] /DNS_NAME="$bchName.$domain.erac.com" /rep_set_name="WD-$bchName"' match:'' post:'' lastparen:''
  281. ## RP="D:\USERS":SP="C:\FRS-STAGING":COMPUTER=$bchNt4Acct:ONAME=$bchName:time_zone=$bchTimeZone[$ib]:DNS_NAME="$bchName.$domain.erac.com":rep_set_name="WD-$bchName"
  282. RP=>"D:\\USERS", SP=>"C:\\FRS-STAGING", COMPUTER=>$bchNt4Acct, ONAME=>$bchName, time_zone=>$bchTimeZone[$ib], DNS_NAME=>"$bchName.$domain.erac.com", rep_set_name=>"WD-$bchName"
  283. );
  284. &FRSSUP::AddToSet("BCH", $__HashRef);
  285. }
  286. ## pre:'' match:'PRIMARY_SCH: FRS_SCHEDULE (/REPL_INTERVAL=24 ' post:'# Once per day' lastparen:'PRIMARY_SCH: FRS_SCHEDULE (/REPL_INTERVAL=24 '
  287. ## (1) paren match:'('
  288. ## (2) paren match:'/REPL_INTERVAL=24 ('
  289. ## (1) paren match:'*)'
  290. ## 1, Found: (/REPL_INTERVAL=24 Rest:
  291. ## pre:'' match:' /REPL_DURATION="2:00" ' post:'# 2 hour window' lastparen:' /REPL_DURATION="2:00" '
  292. ## (1) paren match:'('
  293. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00"('
  294. ## (1) paren match:'*)'
  295. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" Rest:
  296. ## pre:'' match:' /TIME_ZONE="-6:00" ' post:'# Central time.' lastparen:' /TIME_ZONE="-6:00" '
  297. ## (1) paren match:'('
  298. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00"('
  299. ## (1) paren match:'*)'
  300. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" Rest:
  301. ## pre:'' match:' /REPL_OFFSET="18:00" ' post:'# starting offset' lastparen:' /REPL_OFFSET="18:00" '
  302. ## (1) paren match:'('
  303. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00"('
  304. ## (1) paren match:'*)'
  305. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" Rest:
  306. ## pre:'' match:' /STAGGER="0:15" ' post:'# successive members start at 15min deltas' lastparen:' /STAGGER="0:15" '
  307. ## (1) paren match:'('
  308. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15"('
  309. ## (1) paren match:'*)'
  310. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" Rest:
  311. ## pre:'' match:' /METHOD=1 ' post:'# repeating schedule' lastparen:' /METHOD=1 '
  312. ## (1) paren match:'('
  313. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1('
  314. ## (1) paren match:'*)'
  315. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 Rest:
  316. ## (1) paren match:'('
  317. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched'('
  318. ## (1) paren match:'*)'
  319. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' Rest:
  320. ## (1) paren match:'('
  321. ## (2) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"('
  322. ## (1) paren match:'*)'
  323. ## 1, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00" Rest:
  324. ## (1) paren match:'('
  325. ## (0) paren match:'/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00" )'
  326. ## 0, Found: (/REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00" ) Rest:
  327. ## 'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"'
  328. $__HashRef = FRS_SCHEDULE->New(
  329. ## pre:'' match:'REPL_INTERVAL=24 ' post:'REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'REPL_INTERVAL=24 '
  330. ## pre:'REPL_INTERVAL=24 /' match:'REPL_DURATION="2:00" ' post:'TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'REPL_DURATION="2:00" '
  331. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /' match:'TIME_ZONE="-6:00" ' post:'REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'TIME_ZONE="-6:00" '
  332. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /' match:'REPL_OFFSET="18:00" ' post:'STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'REPL_OFFSET="18:00" '
  333. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /' match:'STAGGER="0:15" ' post:'METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'STAGGER="0:15" '
  334. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /' match:'METHOD=1 ' post:'NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'METHOD=1 '
  335. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /' match:'NAME='Primary Sched' ' post:'DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' lastparen:'NAME='Primary Sched' '
  336. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /' match:'DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' post:'' lastparen:'DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"'
  337. ## pre:'REPL_INTERVAL=24 /REPL_DURATION="2:00" /TIME_ZONE="-6:00" /REPL_OFFSET="18:00" /STAGGER="0:15" /METHOD=1 /NAME='Primary Sched' /DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"' match:'' post:'' lastparen:''
  338. ## REPL_INTERVAL=24:REPL_DURATION="2:00":TIME_ZONE="-6:00":REPL_OFFSET="18:00":STAGGER="0:15":METHOD=1:NAME='Primary Sched':DISABLE="su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"
  339. REPL_INTERVAL=>24, REPL_DURATION=>"2:00", TIME_ZONE=>"-6:00", REPL_OFFSET=>"18:00", STAGGER=>"0:15", METHOD=>1, NAME=>'Primary Sched', DISABLE=>"su:05:00-su:18:00,mo:05:00-mo:18:00,tu:05:00-tu:18:00,we:05:00-we:18:00,th:05:00-th:18:00,fr:05:00-fr:18:00,sa:05:00-sa:18:00"
  340. );
  341. &FRSSUP::AddToSet("PRIMARY_SCH", $__HashRef);
  342. ## (1) paren match:'('
  343. ## (0) paren match:'/OVERRIDE="su:00-sa:23:45" /METHOD=2)'
  344. ## 0, Found: (/OVERRIDE="su:00-sa:23:45" /METHOD=2) Rest:
  345. ## 'OVERRIDE="su:00-sa:23:45" /METHOD=2'
  346. $__HashRef = FRS_SCHEDULE->New(
  347. ## pre:'' match:'OVERRIDE="su:00-sa:23:45" ' post:'METHOD=2' lastparen:'OVERRIDE="su:00-sa:23:45" '
  348. ## pre:'OVERRIDE="su:00-sa:23:45" /' match:'METHOD=2' post:'' lastparen:'METHOD=2'
  349. ## pre:'OVERRIDE="su:00-sa:23:45" /METHOD=2' match:'' post:'' lastparen:''
  350. ## OVERRIDE="su:00-sa:23:45":METHOD=2
  351. OVERRIDE=>"su:00-sa:23:45", METHOD=>2
  352. );
  353. &FRSSUP::AddToSet("ON_SCHED", $__HashRef);
  354. ## (1) paren match:'('
  355. ## (2) paren match:'('
  356. ## (1) paren match:'*)'
  357. ## 1, Found: ( Rest:
  358. ## (1) paren match:'('
  359. ## (2) paren match:' /DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com"('
  360. ## (1) paren match:'*)'
  361. ## 1, Found: ( /DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" Rest:
  362. ## (1) paren match:'('
  363. ## (0) paren match:' /DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" /ONAME="cn=dfs root")'
  364. ## 0, Found: ( /DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" /ONAME="cn=dfs root") Rest:
  365. ## 'DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" /ONAME="cn=dfs root"'
  366. $__HashRef = FRS_SETTINGS->New(
  367. ## pre:'' match:'DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" ' post:'ONAME="cn=dfs root"' lastparen:'DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" '
  368. ## pre:'DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" /' match:'ONAME="cn=dfs root"' post:'' lastparen:'ONAME="cn=dfs root"'
  369. ## pre:'DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com" /ONAME="cn=dfs root"' match:'' post:'' lastparen:''
  370. ## DN="cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com":ONAME="cn=dfs root"
  371. DN=>"cn=dfs volumes,cn=file replication service,cn=system,dc=na,dc=erac,dc=com", ONAME=>"cn=dfs root"
  372. );
  373. &FRSSUP::AddToSet("SETTINGS", $__HashRef);
  374. for ($ib=0; $ib<scalar(@bchID); $ib++) {
  375. ## pre:'' match:' ' post:'' lastparen:' '
  376. ## pre:'' match:' ' post:' Call the subroutine defined above to create a replica set for this branch.' lastparen:' '
  377. ## pre:'' match:' ' post:' The notation <HUB>[$ib] is like an array reference in that it selects' lastparen:' '
  378. ## pre:'' match:' # a single item from the "HUB"' post:' server set defined above. The index value' lastparen:' # a single item from the "HUB"'
  379. # a single item from the "HUB"
  380. ## pre:'' match:' ' post:' can be an expression. Also note that set tags declared outside a' lastparen:' '
  381. ## pre:'' match:' ' post:' subroutine are global.' lastparen:' '
  382. ## pre:'' match:' ' post:'' lastparen:' '
  383. ## ExpandSetRefIndex: CREATE_WORK_RS ( /HA=<HUB>->[$ib]
  384. ## ExpandSetRef: CREATE_WORK_RS ( /HA=&FRSSUP::SelectSet(HUB)->[$ib]
  385. ## (1) paren match:'('
  386. ## (2) paren match:' /HA=&FRSSUP::SelectSet('
  387. ## (1) paren match:'HUB)'
  388. ## (2) paren match:'->[$ib]('
  389. ## (1) paren match:'*)'
  390. ## 1, Found: ( /HA=&FRSSUP::SelectSet(HUB)->[$ib] Rest:
  391. ## ExpandSetRefIndex: /B=<BCH>->[$ib]
  392. ## ExpandSetRef: /B=&FRSSUP::SelectSet(BCH)->[$ib]
  393. ## (1) paren match:'('
  394. ## (2) paren match:' /HA=&FRSSUP::SelectSet('
  395. ## (1) paren match:'HUB)'
  396. ## (2) paren match:'->[$ib] /B=&FRSSUP::SelectSet('
  397. ## (1) paren match:'BCH)'
  398. ## (2) paren match:'->[$ib]('
  399. ## (1) paren match:'*)'
  400. ## 1, Found: ( /HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] Rest:
  401. ## pre:'' match:' /SC1=ON ' post:'# <ON_SCHED>' lastparen:' /SC1=ON '
  402. ## (1) paren match:'('
  403. ## (2) paren match:' /HA=&FRSSUP::SelectSet('
  404. ## (1) paren match:'HUB)'
  405. ## (2) paren match:'->[$ib] /B=&FRSSUP::SelectSet('
  406. ## (1) paren match:'BCH)'
  407. ## (2) paren match:'->[$ib] /SC1=ON('
  408. ## (1) paren match:'*)'
  409. ## 1, Found: ( /HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON Rest:
  410. ## ExpandSetRef: /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS))
  411. ## (1) paren match:'('
  412. ## (2) paren match:' /HA=&FRSSUP::SelectSet('
  413. ## (1) paren match:'HUB)'
  414. ## (2) paren match:'->[$ib] /B=&FRSSUP::SelectSet('
  415. ## (1) paren match:'BCH)'
  416. ## (2) paren match:'->[$ib] /SC1=ON /SETTINGSDN=&FRSSUP::SelectSet('
  417. ## (1) paren match:'SETTINGS)'
  418. ## (0) paren match:')'
  419. ## 0, Found: ( /HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)) Rest:
  420. ## 'HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)'
  421. &CREATE_WORK_RS (
  422. ## pre:'' match:'HA=&FRSSUP::SelectSet(HUB)->[$ib] ' post:'B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)' lastparen:'HA=&FRSSUP::SelectSet(HUB)->[$ib] '
  423. ## pre:'HA=&FRSSUP::SelectSet(HUB)->[$ib] /' match:'B=&FRSSUP::SelectSet(BCH)->[$ib] ' post:'SC1=ON /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)' lastparen:'B=&FRSSUP::SelectSet(BCH)->[$ib] '
  424. ## pre:'HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /' match:'SC1=ON ' post:'SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)' lastparen:'SC1=ON '
  425. ## pre:'HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON /' match:'SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)' post:'' lastparen:'SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)'
  426. ## pre:'HA=&FRSSUP::SelectSet(HUB)->[$ib] /B=&FRSSUP::SelectSet(BCH)->[$ib] /SC1=ON /SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)' match:'' post:'' lastparen:''
  427. ## HA=&FRSSUP::SelectSet(HUB)->[$ib]:B=&FRSSUP::SelectSet(BCH)->[$ib]:SC1=ON:SETTINGSDN=&FRSSUP::SelectSet(SETTINGS)
  428. HA=>&FRSSUP::SelectSet(HUB)->[$ib], B=>&FRSSUP::SelectSet(BCH)->[$ib], SC1=>ON, SETTINGSDN=>&FRSSUP::SelectSet(SETTINGS)->[0] );
  429. ## pre:'' match:' ' post:'' lastparen:' '
  430. ## pre:'' match:' ' post:' offset the schedule by the next stagger amount for the next branch.' lastparen:' '
  431. ## pre:'' match:' ' post:'' lastparen:' '
  432. ## ExpandSetRef: FRS_STAGGER (/SCHED=&FRSSUP::SelectSet(PRIMARY_SCH))
  433. ## (1) paren match:'('
  434. ## (2) paren match:'/SCHED=&FRSSUP::SelectSet('
  435. ## (1) paren match:'PRIMARY_SCH)'
  436. ## (0) paren match:')'
  437. ## 0, Found: (/SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)) Rest:
  438. ## 'SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)'
  439. FRS_SCHEDULE::FRS_STAGGER(
  440. ## pre:'' match:'SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)' post:'' lastparen:'SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)'
  441. ## pre:'SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)' match:'' post:'' lastparen:''
  442. ## SCHED=&FRSSUP::SelectSet(PRIMARY_SCH)
  443. SCHED=>&FRSSUP::SelectSet(PRIMARY_SCH)->[0] );
  444. }
  445. __END__