Skip to content

Commit 1630a1a

Browse files
Added support for SXP 10.0.0
1 parent a22c9db commit 1630a1a

52 files changed

Lines changed: 18006 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Sitecore 10.0.0/XM/README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Sitecore XM Environment
2+
3+
Visualize:
4+
[Infrastructure](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FSitecore%2Fsitecore-azure-quickstart-templates%2Fmaster%2FSitecore%209.0.0%2Fxm%2Fnested%2Finfrastructure.json),
5+
[Application deployment](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FSitecore%2Fsitecore-azure-quickstart-templates%2Fmaster%2FSitecore%209.0.0%2Fxm%2Fnested%2Fapplication.json)
6+
7+
8+
This template creates a Sitecore XM Environment with all resources necessary to run Sitecore.
9+
10+
Resources provisioned:
11+
12+
* Azure SQL databases : core, master, web, forms
13+
* Azure Redis Cache for session state
14+
* Sitecore roles: Content Delivery, Content Management
15+
* Hosting plans: one per role
16+
* Preconfigured Web Applications, based on the provided WebDeploy packages
17+
* Azure Search Service
18+
* (optional) Application Insights for diagnostics and monitoring
19+
20+
21+
## Parameters
22+
The **deploymentId** and **licenseXml** parameters are to be filled in by the PowerShell script.
23+
24+
| Parameter | Description
25+
|-------------------------|------------------------------------------------
26+
| sqlServerLogin | The name of the administrator account for the newly created Azure SQL server.
27+
| sqlServerPassword | The password for the administrator account for Azure SQL server.
28+
| sitecoreAdminPassword | The new password for the Sitecore **admin** account.
29+
| siMsDeployPackageUrl | The HTTP(s) URL to a Sitecore Identity Server Web Deploy package.
30+
| cmMsDeployPackageUrl | The HTTP(s) URL to a Sitecore XM Content Management Web Deploy package.
31+
| cdMsDeployPackageUrl | The HTTP(s) URL to a Sitecore XM Content Delivery Web Deploy package.
32+
| authCertificateBlob | A Base64-encoded blob of the authentication certificate in PKCS #12 format.
33+
| authCertificatePassword | A password to the authentication certificate.
34+
35+
> **Note:**
36+
> * The **searchServiceLocation** parameter can be added to the `azuredeploy.parameters.json`
37+
> to specify geographical region to deploy Azure Search Service. Default value is the resource
38+
> group location.
39+
> * The **applicationInsightsLocation** parameter can be added to the`azuredeploy.parameters.json`
40+
> to specify geographical region to deploy Application Insights. Default value is **East US**.
41+
> * The **useApplicationInsights** parameter can be added to the`azuredeploy.parameters.json`
42+
> to control whether Application Insights will be used for diagnostics and monitoring. Default value is **true**.
43+
44+
## Deploying with Solr Search
45+
46+
> Sitecore Solr PaaS deployment requires the following parameter to be specified in `azuredeploy.parameters.json`:
47+
48+
| Parameter | Description
49+
--------------------------------------------|------------------------------------------------
50+
| solrConnectionString | Connection string to existing Solr server.
51+
52+
> **solrConnectionString** parameter is used to identify whether Solr search provider is to be used for the deployment or not.
53+
> The default value is empty which means that Azure Search will be used.
54+
55+
## Deploying with App Service Environment v2
56+
> **Note**: Application Service Environment is not provisioned as part of this deployment template. Please reffer to official [documentation](https://docs.microsoft.com/en-us/azure/app-service/environment/intro) for information about ASE deployment and configuration.
57+
58+
| Parameter | Description
59+
--------------------------------------------|------------------------------------------------
60+
| aseName | Name of deployed App Service Environment
61+
| aseResourceGroupName | Resource group where App Service Environment is deployed. Provide this value if ASE is hosted in different resouce group
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"variables": {
5+
"webApiVersion": "2018-02-01",
6+
"cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]",
7+
"cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]"
8+
},
9+
"parameters": {
10+
"standard": {
11+
"type": "secureObject",
12+
"defaultValue": {
13+
"deploymentId": null,
14+
"location": null,
15+
"cmWebAppName": null,
16+
"cdWebAppName": null
17+
}
18+
},
19+
"extension": {
20+
"type": "secureObject",
21+
"defaultValue": {
22+
"msDeployPackageUrl": "$default"
23+
}
24+
},
25+
"deploymentId": {
26+
"type": "string",
27+
"defaultValue": "[coalesce(parameters('standard').deploymentId, resourceGroup().name)]"
28+
},
29+
"location": {
30+
"type": "string",
31+
"defaultValue": "[coalesce(parameters('standard').location, resourceGroup().location)]"
32+
},
33+
"cmWebAppName": {
34+
"type": "string",
35+
"defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]"
36+
},
37+
"cdWebAppName": {
38+
"type": "string",
39+
"defaultValue": "[coalesce(parameters('standard').cdWebAppName, concat(parameters('deploymentId'), '-cd'))]"
40+
},
41+
"msDeployPackageUrl": {
42+
"type": "securestring",
43+
"defaultValue": "[parameters('extension').msDeployPackageUrl]"
44+
}
45+
},
46+
"resources": [
47+
{
48+
"name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]",
49+
"type": "Microsoft.Web/sites/extensions",
50+
"location": "[parameters('location')]",
51+
"apiVersion": "[variables('webApiVersion')]",
52+
"properties": {
53+
"addOnPackages": [
54+
{
55+
"packageUri": "[parameters('msDeployPackageUrl')]",
56+
"setParameters": {
57+
"Application Path": "[variables('cmWebAppNameTidy')]"
58+
}
59+
}
60+
]
61+
}
62+
},
63+
{
64+
"name": "[concat(variables('cdWebAppNameTidy'), '/', 'MSDeploy')]",
65+
"type": "Microsoft.Web/sites/extensions",
66+
"location": "[parameters('location')]",
67+
"apiVersion": "[variables('webApiVersion')]",
68+
"properties": {
69+
"addOnPackages": [
70+
{
71+
"packageUri": "[parameters('msDeployPackageUrl')]",
72+
"setParameters": {
73+
"Application Path": "[variables('cdWebAppNameTidy')]"
74+
}
75+
}
76+
]
77+
}
78+
}
79+
]
80+
}
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"variables": {
5+
"webApiVersion": "2018-02-01",
6+
7+
"sqlServerFqdnTidy": "[trim(toLower(parameters('sqlServerFqdn')))]",
8+
9+
"coreSqlDatabaseNameTidy": "[trim(toLower(parameters('coreSqlDatabaseName')))]",
10+
"masterSqlDatabaseNameTidy": "[trim(toLower(parameters('masterSqlDatabaseName')))]",
11+
12+
"cmWebAppNameTidy": "[trim(toLower(parameters('cmWebAppName')))]",
13+
"cdWebAppNameTidy": "[trim(toLower(parameters('cdWebAppName')))]"
14+
},
15+
"parameters": {
16+
"standard": {
17+
"type": "secureObject",
18+
"defaultValue": {
19+
"infrastructure": { "sqlServerFqdn":null },
20+
"deploymentId": null,
21+
"location": null,
22+
"sqlServerLogin": null,
23+
"sqlServerPassword": null,
24+
"coreSqlDatabaseName": null,
25+
"masterSqlDatabaseName": null,
26+
"cmWebAppName": null,
27+
"cdWebAppName": null
28+
}
29+
},
30+
"extension": {
31+
"type": "secureObject",
32+
"defaultValue": {
33+
"cmMsDeployPackageUrl": null,
34+
"cdMsDeployPackageUrl": null
35+
}
36+
},
37+
"infrastructure": {
38+
"type": "secureObject",
39+
"defaultValue": "[parameters('standard').infrastructure]"
40+
},
41+
42+
"deploymentId": {
43+
"type": "string",
44+
"defaultValue": "[coalesce(parameters('standard').deploymentId, resourceGroup().name)]"
45+
},
46+
"location": {
47+
"type": "string",
48+
"minLength": 1,
49+
"defaultValue": "[coalesce(parameters('standard').location, resourceGroup().location)]"
50+
},
51+
52+
"sqlServerFqdn": {
53+
"type": "string",
54+
"minLength": 1,
55+
"defaultValue": "[parameters('infrastructure').sqlServerFqdn]"
56+
},
57+
"sqlServerLogin": {
58+
"type": "string",
59+
"minLength": 1,
60+
"defaultValue": "[parameters('standard').sqlServerLogin]"
61+
},
62+
"sqlServerPassword": {
63+
"type": "securestring",
64+
"minLength": 8,
65+
"defaultValue": "[parameters('standard').sqlServerPassword]"
66+
},
67+
68+
"coreSqlDatabaseName": {
69+
"type": "string",
70+
"minLength": 1,
71+
"defaultValue": "[coalesce(parameters('standard').coreSqlDatabaseName, concat(parameters('deploymentId'), '-core-db'))]"
72+
},
73+
"masterSqlDatabaseName": {
74+
"type": "string",
75+
"minLength": 1,
76+
"defaultValue": "[coalesce(parameters('standard').masterSqlDatabaseName, concat(parameters('deploymentId'), '-master-db'))]"
77+
},
78+
79+
"cmWebAppName": {
80+
"type": "string",
81+
"defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]"
82+
},
83+
"cdWebAppName": {
84+
"type": "string",
85+
"defaultValue": "[coalesce(parameters('standard').cdWebAppName, concat(parameters('deploymentId'), '-cd'))]"
86+
},
87+
88+
"cmMsDeployPackageUrl": {
89+
"type": "securestring",
90+
"defaultValue": "[parameters('extension').cmMsDeployPackageUrl]"
91+
},
92+
"cdMsDeployPackageUrl": {
93+
"type": "securestring",
94+
"defaultValue": "[parameters('extension').cdMsDeployPackageUrl]"
95+
}
96+
},
97+
"resources": [
98+
{
99+
"name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]",
100+
"type": "Microsoft.Web/sites/extensions",
101+
"location": "[parameters('location')]",
102+
"apiVersion": "[variables('webApiVersion')]",
103+
"properties": {
104+
"addOnPackages": [
105+
{
106+
"dbType": "SQL",
107+
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
108+
"packageUri": "[parameters('cmMsDeployPackageUrl')]",
109+
"setParameters": {
110+
"Application Path": "[variables('cmWebAppNameTidy')]",
111+
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
112+
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
113+
}
114+
}
115+
]
116+
}
117+
},
118+
{
119+
"name": "[concat(variables('cdWebAppNameTidy'), '/', 'MSDeploy')]",
120+
"type": "Microsoft.Web/sites/extensions",
121+
"location": "[parameters('location')]",
122+
"apiVersion": "[variables('webApiVersion')]",
123+
"properties": {
124+
"addOnPackages": [
125+
{
126+
"dbType": "SQL",
127+
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
128+
"packageUri": "[parameters('cdMsDeployPackageUrl')]",
129+
"setParameters": {
130+
"Application Path": "[variables('cdWebAppNameTidy')]"
131+
}
132+
}
133+
]
134+
}
135+
}
136+
]
137+
}

0 commit comments

Comments
 (0)