Source code of Windows XP (NT5)
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.

33 lines
1.3 KiB

  1. @REM This file contains a brief overview of how to setup virtual roots
  2. @REM with the cluster using cluscli.
  3. @REM
  4. @REM The "IIS" resource is a virtual root:
  5. @REM The Resource Type is "IIS Virtual Root"
  6. @REM
  7. @REM Virtual root description
  8. @REM Parameters:
  9. @REM Alias = the root alias "/" indicates home directory
  10. @REM Directory = physical directory or UNC name
  11. @REM AccessMask = 1 = Read 2= Write 4 = Execute
  12. @REM eg, Read/Execute = 5
  13. @REM ServiceName = "W3SVC", "MSFTPSVC", "GOPHERSVC"
  14. @REM AccountName [optional] = account name to Access UNC name
  15. @REM Password [optional] = account name password NOT used
  16. @REM in current release
  17. @REM
  18. @REM
  19. @REM
  20. @REM
  21. @REM
  22. @REM
  23. @REM Add the IIS Virtual Root resource for the W3SVC
  24. @REM
  25. @REM NOTE: This resource MUST have an IP Address dependency in it's group. If
  26. @REM no IP Address exists the resource will not open
  27. @REM
  28. cluscli -create resource "W3Wolf" "Cluster Group" "IIS Virtual Root" -p :Directory "L:\sampsite" -p :RootName "/test" -p :AccessMask 5 -p :ServiceName "W3SVC"
  29. @REM Add dependencies
  30. cluscli -adddepend resource "W3Wolf" "Cluster IP Address"
  31. cluscli -adddepend resource "W3Wolf" "Cluster Name"
  32. cluscli -adddepend resource "W3Wolf" "Disk L"