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.

21 lines
774 B

  1. @echo off
  2. REM 2 servers (fully connected) 2 way replication with hardwired config.
  3. REM cre_3s [sev n] [logsev n] [clean] [debug]
  4. REM command input args are passed in args.txt
  5. if "%1"=="" goto USAGE
  6. set FRSLOG=.\frslog.log
  7. @echo on
  8. start /min "SERV01" cresrv t: SERV01 %1 %2 %3 %4 %5 %6 %7 %8 %9
  9. start /min "SERV02" cresrv u: SERV02 %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. start /min "SERV03" cresrv s: SERV03 %1 %2 %3 %4 %5 %6 %7 %8 %9
  11. @goto QUIT
  12. :USAGE
  13. echo cre_3s [sev n] [logsev n] [clean] [debug]
  14. echo [where sev level is from 0 to 5 for console. 5 is most noisey]
  15. echo [where logsev level is from 0 to 5 for logfile. 5 is most noisey]
  16. echo [if clean is specified then the old DB and replica tree are deleted.]
  17. echo [debug means start up under ntsd]
  18. :QUIT