<?xml version="1.0" encoding="UTF-16"?>
<SCWKnowledgeBase Schemaversion="0.8" Functionalversion="0.8">
	<Roles>
    <Role Type="Server" Name="FSRM">
      <DependsOn>
        <Roles>
          <Role Name="File"/>
        </Roles>
      </DependsOn>
      <Selected Value="DEFAULT"/>
      <Services>
        <Service Name="SrmSvc"/>
        <Service Name="SrmReports"/>
        <Service Name="WinMgmt"/>
        <!-- WMI -->
        <Service Name="VSS"/>
        <!-- Needed for storage reports -->
        <Service Name="SwPrv"/>
        <!-- Needed for storage reports -->
        <Service Name="Schedule"/>
        <!-- Needed for scheduled storage reports -->
        <!-- Also RPCCs from Core-->
      </Services>
    </Role>

		<!-- Begin ADFS Roles-->
		<Role Type="Server" Name="ADFS_FS_AND_PROXY">
			<Selected Value="DEFAULT"/>
			<DependsOn>
				<Roles>
					<Role Name="Web"/>
				</Roles>
			</DependsOn>
			<IISRequirements>
				<Required_Web_Service_Extensions>
					<Required_Web_Service_Extension>
						<Name>ASP.NET v2.0.50727</Name>
					</Required_Web_Service_Extension>
				</Required_Web_Service_Extensions>
			</IISRequirements>
		</Role>

		<!-- the delta between the ADFS_WS role and the one above is only the IFSSVC, however we do not want to use <DependsOn> to avoid any confusion to the user as the ADFS_WS does not need the ADFS_FS_AND_PROXY role to be enabled in the UI on the same machine -->

		<Role Type="Server" Name="ADFS_WS">
			<Selected Value="DEFAULT"/>
			<DependsOn>
				<Roles>
					<Role Name="Web"/>
				</Roles>
			</DependsOn>
			<IISRequirements>
				<Required_Web_Service_Extensions>
					<Required_Web_Service_Extension>
						<Name>ASP.NET v2.0.50727</Name>
					</Required_Web_Service_Extension>
					<Required_Web_Service_Extension>
						<Name>IFSWS</Name>
					</Required_Web_Service_Extension>
				</Required_Web_Service_Extensions>
			</IISRequirements>
			<Services>
				<Service Name="IFSSVC"/>
			</Services>
		</Role>
		<!-- End ADFS Roles-->
		<Role Type="Server" Name="WEC">
			<Selected Value="DEFAULT"/>
			<Services>
				<Service Name="WECSVC"/>
				<Service Name="EventLog"/>
				<Service Name="WinMgmt"/>
			</Services>
		</Role>

		<Role Type="Independent" Name="SUA">
			<Selected Value="DEFAULT"/>
			<DependsOn>
				<Roles>
<!-- 
SUA is dependent on NtLmSsp (NT LM Security Support Provider).
  --> 
					<Role Name="Security"/>

				</Roles>
			</DependsOn>
			<Services>
				<Service Name="zzSUA"/>
			</Services>
		</Role>

		<Role Type="Server" Name="SNIS">
			<Selected Value="DEFAULT"/>
			<DependsOn>
				<Roles>
<!-- 
IdMU is dependent on Domain Controller and PortMapper functionality available in NFSServer role only
  --> 
					<Role Name="DomainController"/>
					<Role Name="NFSServer"/>


				</Roles>
			</DependsOn>
			<Services>
				<Service Name="SSNIS"/>
			</Services>
		</Role>
		<Role Type="Server" Name="UNMServer">
			<Selected Value="DEFAULT"/>
			<Services>
				<Service Name="mapsvc"/>
			</Services>
			<Ports>
				<Port Name="portmap"/>
				<Port Name="UNM"/>
			</Ports>
		</Role>
		<Role Type="Server" Name="NFSServer">
			<Selected Value="DEFAULT"/>
			<Services>
				<Service Name="nfssvc"/>
			</Services>
			<Ports>
				<Port Name="portmap"/>
				<Port Name="mount"/>
				<Port Name="NFS-Server"/>
				<Port Name="NLM"/>
				<Port Name="NSM"/>
			</Ports>
		</Role>
		<Role Type="Client" Name="NFSClient">
			<Selected Value="DEFAULT"/>
			<Services>
				<Service Name="Client for NFS"/>
			</Services>
			<Ports>
				<Port Name="NFS-Client"/>
			</Ports>
		</Role>
                <Role Type="Server" Name="DFSR">
                    <Selected Value="DEFAULT" /> 
                    <Services>
                        <Service Name="DFSR" /> 
                    </Services>
                    <Ports>
                        <Port Name="RPCEPM" /> 
			<Port Name="DFSR" />
                    </Ports>
                </Role>
	</Roles>
	<Tasks>
    <Task Type="RemoteAdmin" Name="FSRMRemoteAdmin">
      <DependsOn>
        <Roles>
          <Role Name="FSRM"/>
        </Roles>
      </DependsOn>
      <Selected Value="FALSE"/>
      <Services>
        <Service Name="RemoteRegistry"/>
      </Services>
      <Ports>
        <Port Name="RPCEPM"/>
        <Port Name="Dllhost"/>
        <Port Name="SMB"/>
        <Port Name="SystemRPC"/>
        <Port Name="FSRMReportsHost"/>
      </Ports>
    </Task>
		<Task Name="DFSAdministration">
			<Selected Value="FALSE"/>
			<Ports>
				<Port Name="RPCEPM"/>
				<Port Name="Dllhost"/>
				<Port Name="SMB"/>
				<Port Name="SystemRPC"/>
			</Ports>
			<Services>
				<Service Name="RemoteRegistry"/>
				<Service Name="lanmanserver"/>
			</Services>
		</Task>
		<Task Type="RemoteAdmin" Name="WinRM">
			<Selected Value="DEFAULT"/>
			<Services>
				<Service Name="WinRM"/>
				<Service Name="WinMgmt"/>
				<Service Name="HTTPFilter"/>
			</Services>
			<Ports>
				<Port Name="HTTP"/>
				<Port Name="HTTPS"/>
			</Ports>
		</Task>
		<Task Type="RemoteAdmin" Name="RemoteNFSAdmin">
			<DependsOn>
				<Roles Logic="OR">
					<Role Name="UNMServer"/>
					<Role Name="NFSServer"/>
					<Role Name="NFSClient"/>
				</Roles>
			</DependsOn>
			<Selected Value="TRUE"/>
			<Services>
				<Service Name="lanmanworkstation"/>
				<Service Name="lanmanserver"/>
				<Service Name="RemoteRegistry"/>
			</Services>
		</Task>
	</Tasks>
	<Services>
    <Service Name="SrmSvc">
      <Optional>TRUE</Optional>
      <Startup_Default>Automatic</Startup_Default>
    </Service>
    <Service Name="SrmReports">
      <Optional>TRUE</Optional>
      <Startup_Default>Manual</Startup_Default>
    </Service>

		<!-- Begin ADFS Services-->
		<Service Name="IFSSVC">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>
		<!-- End ADFS Services-->

		<Service Name="WECSVC">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>
		<Service Name="WinRM">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>

		<Service Name="zzSUA">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>

		<Service Name="SSNIS">
			<Optional>TRUE</Optional>
			<Startup_Default>Manual</Startup_Default>
		</Service>
		<Service Name="mapsvc">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>
		<Service Name="nfssvc">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>
		<Service Name="Client for NFS">
			<Optional>TRUE</Optional>
			<Startup_Default>Automatic</Startup_Default>
		</Service>
                <Service Name="DFSR">
                    <Optional>TRUE</Optional> 
                    <Startup_Default>Automatic</Startup_Default> 
                </Service>
	</Services>
  <Ports>
    <Port Name="FSRMReportsHost">
      <Value>
        <Default Type="Dynamic">
          <Value>srmhost.exe</Value>
          <Path>%windir%\system32</Path>
        </Default>
      </Value>
    </Port>
		<Port Name="portmap">
			<Value>
				<Default Type="Static">
					<Value>111</Value>
				</Default>
			</Value>
			<Protocols>
				<Protocol>
					<Name>TCP</Name>
				</Protocol>
				<Protocol>
					<Name>UDP</Name>
				</Protocol>
			</Protocols>
		</Port>
		<Port Name="UNM">
			<Value>
				<Default Type="Dynamic">
					<Value>mapsvc.exe</Value>
					<Path>%windir%\system32</Path>
				</Default>
			</Value>
		</Port>
		<Port Name="mount">
			<Value>
				<Default Type="Static">
					<Value>1048</Value>
				</Default>
				<Override Method="Registry">
					<Path>HKLM\SYSTEM\CurrentControlSet\Services\NfsSvr\Parameters\MountPort</Path>
				</Override>
			</Value>
			<Protocols>
				<Protocol>
					<Name>TCP</Name>
				</Protocol>
				<Protocol>
					<Name>UDP</Name>
				</Protocol>
			</Protocols>
		</Port>
		<Port Name="NFS-Server">
			<Value>
				<Default Type="Static">
					<Value>2049</Value>
				</Default>
				<Override Method="Registry">
					<Path>HKLM\SYSTEM\CurrentControlSet\Services\NfsSvr\Parameters\NfsPort</Path>
				</Override>
			</Value>
			<Protocols>
				<Protocol>
					<Name>TCP</Name>
				</Protocol>
				<Protocol>
					<Name>UDP</Name>
				</Protocol>
			</Protocols>
		</Port>
		<Port Name="NLM">
			<Value>
				<Default Type="Static">
					<Value>1047</Value>
				</Default>
				<Override Method="Registry">
					<Path>HKLM\SYSTEM\CurrentControlSet\Services\NfsSvr\NlmNsm\NlmPort</Path>
				</Override>
			</Value>
			<Protocols>
				<Protocol>
					<Name>TCP</Name>
				</Protocol>
				<Protocol>
					<Name>UDP</Name>
				</Protocol>
			</Protocols>
		</Port>
		<Port Name="NSM">
			<Value>
				<Default Type="Static">
					<Value>1039</Value>
				</Default>
				<Override Method="Registry">
					<Path>HKLM\SYSTEM\CurrentControlSet\Services\NfsSvr\NlmNsm\NsmPort</Path>
				</Override>
			</Value>
			<Protocols>
				<Protocol>
					<Name>TCP</Name>
				</Protocol>
				<Protocol>
					<Name>UDP</Name>
				</Protocol>
			</Protocols>
		</Port>
		<Port Name="NFS-Client">
			<Value>
				<Default Type="Dynamic">
					<Value>nfsclnt.exe</Value>
					<Path>%windir%\system32</Path>
				</Default>
			</Value>
		</Port>
		<Port Name="DFSR">
			<Value>
				<Default Type="Dynamic">
					<Value>dfsr.exe</Value>
					<Path>%windir%\system32</Path>
				</Default>
			</Value>
		</Port>
  </Ports>
</SCWKnowledgeBase>
