@REM This file contains a brief overview of how to setup virtual roots @REM with the cluster using cluscli. @REM @REM The "IIS" resource is a virtual root: @REM The Resource Type is "IIS Virtual Root" @REM @REM Virtual root description @REM Parameters: @REM Alias = the root alias "/" indicates home directory @REM Directory = physical directory or UNC name @REM AccessMask = 1 = Read 2= Write 4 = Execute @REM eg, Read/Execute = 5 @REM ServiceName = "W3SVC", "MSFTPSVC", "GOPHERSVC" @REM AccountName [optional] = account name to Access UNC name @REM Password [optional] = account name password NOT used @REM in current release @REM @REM @REM @REM @REM @REM @REM Add the IIS Virtual Root resource for the W3SVC @REM @REM NOTE: This resource MUST have an IP Address dependency in it's group. If @REM no IP Address exists the resource will not open @REM cluscli -create resource "W3Wolf" "Cluster Group" "IIS Virtual Root" -p :Directory "L:\sampsite" -p :RootName "/test" -p :AccessMask 5 -p :ServiceName "W3SVC" @REM Add dependencies cluscli -adddepend resource "W3Wolf" "Cluster IP Address" cluscli -adddepend resource "W3Wolf" "Cluster Name" cluscli -adddepend resource "W3Wolf" "Disk L"