@@ -13,10 +13,10 @@ templatekey: Azure Deployment
1313field: {99518902-33BC-46DB-9BE6-659AC446BF34}
1414name: Service Definition
1515key: service definition
16- content-length: 2040
16+ content-length: 2620
1717
1818<?xml version="1.0" encoding="utf-8"?>
19- <ServiceDefinition name="SitecoreCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-10 .2.2 ">
19+ <ServiceDefinition name="SitecoreCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-06 .2.4 ">
2020 <WebRole name="SitecoreWebRole" enableNativeCodeExecution="false" vmsize="Medium" >
2121 <ConfigurationSettings>
2222 <Setting name="StorageName"/>
@@ -25,7 +25,6 @@ content-length: 2040
2525 </ConfigurationSettings>
2626 <Imports>
2727 <Import moduleName="Diagnostics" />
28- <Import moduleName="Caching" />
2928 </Imports>
3029 <Endpoints>
3130 <InputEndpoint name="HttpIn" protocol="http" port="80" />
@@ -36,6 +35,7 @@ cleanOnRecycle should be false cause it causes some file locks during role recyc
3635-->
3736 <LocalStorage name="DiagnosticStore" sizeInMB="10240" cleanOnRoleRecycle="false" />
3837 <LocalStorage name="SitecoreWebSite" sizeInMB="102400" cleanOnRoleRecycle="false" />
38+ <LocalStorage name="Temp" sizeInMB="102400" cleanOnRoleRecycle="true" />
3939 </LocalResources>
4040 <Runtime executionContext="elevated">
4141 <EntryPoint>
@@ -63,22 +63,43 @@ cleanOnRecycle should be false cause it causes some file locks during role recyc
6363 </Task>
6464 </Startup>
6565 </WebRole>
66+ <WorkerRole name="SitecoreCacheWorkerRole" vmsize="Medium">
67+ <Imports>
68+ <Import moduleName="Diagnostics" />
69+ <Import moduleName="Caching" />
70+ </Imports>
71+ <Runtime executionContext="elevated">
72+ <EntryPoint>
73+ <NetFxEntryPoint assemblyName="Sitecore.Azure.CacheWorkerRole.dll" targetFrameworkVersion="4.5" />
74+ </EntryPoint>
75+ </Runtime>
76+ <LocalResources>
77+ <LocalStorage name="DiagnosticStore" sizeInMB="10240" cleanOnRoleRecycle="false" />
78+ </LocalResources>
79+ </WorkerRole>
6680</ServiceDefinition>
6781----field----
6882field: {9F850E0C-8FE8-4022-8562-39E565B1925D}
6983name: Service Configuration
7084key: service configuration
71- content-length: 928
85+ content-length: 1568
7286
7387<?xml version="1.0"?>
74- <ServiceConfiguration serviceName="SitecoreCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2013-10 .2.2 ">
88+ <ServiceConfiguration serviceName="SitecoreCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2014-06 .2.4 ">
7589 <Role name="SitecoreWebRole">
7690 <Instances count="2" />
7791 <ConfigurationSettings>
7892 <Setting name="StorageName" value="" />
7993 <Setting name="SqlServerName" value="" />
8094 <Setting name="Sitecore.Azure.ServiceRuntime.WarmupTimeout" value="3600000" />
81- <Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="" />
95+ <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="" />
96+ </ConfigurationSettings>
97+ </Role>
98+ <Role name="SitecoreCacheWorkerRole">
99+ <Instances count="2" />
100+ <ConfigurationSettings>
101+ <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="" />
102+ <Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="{"caches":[{"name":"default","policy":{"eviction":{"type":0},"expiration":{"defaultTTL":10,"isExpirable":true,"type":1},"serverNotification":{"isEnabled":false}},"secondaries":0}]}" />
82103 <Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="1" />
83104 <Setting name="Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage" value="" />
84105 <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="" />
@@ -100,6 +121,13 @@ content-length: 22
100121
101122App_Data/MvcAssemblies
102123----field----
124+ field: {6DF7215E-2966-4926-93BF-90292224F087}
125+ name: Cache Worker Role Folder
126+ key: cache worker role folder
127+ content-length: 39
128+
129+ App_Data/Sitecore.Azure.CacheWorkerRole
130+ ----field----
103131field: {5552573A-3B78-45CC-8AB3-3956DBE1B62A}
104132name: Exclude File Extensions
105133key: exclude file extensions
@@ -130,11 +158,12 @@ bin\ServiceDescription.dll
130158field: {06B47032-7F0A-46B5-A500-EDB642B68EBE}
131159name: Exclude Directories
132160key: exclude directories
133- content-length: 976
161+ content-length: 1017
134162
135163upload;
136164temp;
137- App_Config\AzureVendors;
165+ App_Config\AzureVendors;
166+ App_Data\Sitecore.Azure.CacheWorkerRole;
138167App_Data\AzureEnvironments;
139168App_Data\AzureOverrideFiles;
140169App_Data\MvcAssemblies;
@@ -166,7 +195,7 @@ sitecore\shell\Themes\Standard\WordProcessing
166195field: {FD10E34E-C2F1-4FA8-A09F-D7422C2B2A04}
167196name: Connection Strings Patch
168197key: connection strings patch
169- content-length: 811
198+ content-length: 897
170199
171200<?xml version="1.0" encoding="utf-8"?>
172201<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
@@ -188,7 +217,9 @@ content-length: 811
188217 </xsl:template>
189218-->
190219<xsl:template match="/connectionStrings">
191- <connectionStrings />
220+ <connectionStrings>
221+ <add name="reporting" connectionString="do not remove" />
222+ </connectionStrings>
192223</xsl:template>
193224
194225</xsl:stylesheet>
@@ -231,7 +262,7 @@ content-length: 393
231262field: {F22E4787-F052-445A-97A8-5FF52C8CF228}
232263name: Global WebConfig Patch
233264key: global webconfig patch
234- content-length: 9171
265+ content-length: 9080
235266
236267<?xml version="1.0" encoding="utf-8"?>
237268<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
@@ -290,13 +321,9 @@ content-length: 9171
290321 <!-- Viewstate storage End -->
291322 <!-- Distributed cache Begin -->
292323 <xsl:template match="configuration/system.web/sessionState">
293- <sessionState mode="Custom" customProvider="DistributedCacheSessionStateStoreProvider ">
324+ <sessionState mode="Custom" customProvider="AzureInRoleCacheSessionStateProvider" timeout="20 ">
294325 <providers>
295- <add name="DistributedCacheSessionStateStoreProvider"
296- type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache"
297- cacheName="default"
298- useBlobMode="true"
299- dataCacheClientName="default" />
326+ <add name="AzureInRoleCacheSessionStateProvider" type="Sitecore.Azure.SessionStateProviders.AzureInRoleCacheSessionStateProvider, Sitecore.Azure.SessionStateProviders" cacheName="default" dataCacheClientName="default" applicationName="SitecoreAzure" pollingInterval="5" />
300327 </providers>
301328 </sessionState>
302329 </xsl:template>
@@ -315,9 +342,8 @@ content-length: 9171
315342 </xsl:template>
316343 <xsl:param name="pDataCacheClients">
317344 <dataCacheClients>
318- <dataCacheClient name="default" isCompressionEnabled="false">
319- <autoDiscover isEnabled="true" identifier="" />
320- <localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />
345+ <dataCacheClient name="default">
346+ <autoDiscover isEnabled="true" identifier="SitecoreCacheWorkerRole" />
321347 </dataCacheClient>
322348 </dataCacheClients>
323349 <cacheDiagnostics>
@@ -452,7 +478,7 @@ Staging
452478----version----
453479language: en
454480version: 1
455- revision: f9914845-89ea-4842-9f58-0aef4cc805ff
481+ revision: c12267f4-d103-4f02-b157-076c051d4e8d
456482
457483----field----
458484field: {25BED78C-4957-4165-998A-CA1B52F67497}
@@ -474,14 +500,14 @@ name: __Revision
474500key: __revision
475501content-length: 36
476502
477- f9914845-89ea-4842-9f58-0aef4cc805ff
503+ c12267f4-d103-4f02-b157-076c051d4e8d
478504----field----
479505field: {D9CF14B1-FA16-4BA6-9288-E8A174D4D522}
480506name: __Updated
481507key: __updated
482508content-length: 34
483509
484- 20150107T163350:635562452307645712
510+ 20150112T125955:635566643951098953
485511----field----
486512field: {BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}
487513name: __Updated by
0 commit comments