Merge pull request #6 from JesusAlvarezTorres/master

SharePointFixes
This commit is contained in:
JesusAlvarezTorres 2015-12-02 15:25:48 -08:00
Родитель c3b2cd6dc0 58b410f74a
Коммит d833ce4e2c
3 изменённых файлов: 13 добавлений и 7 удалений

Двоичный файл не отображается.

Просмотреть файл

@ -328,6 +328,7 @@
"spRDPNATRuleID": "[concat(variables('sppubliclbID'),'/inboundNatRules/',variables('sprdpNAT'))]", "spRDPNATRuleID": "[concat(variables('sppubliclbID'),'/inboundNatRules/',variables('sprdpNAT'))]",
"spSourceDrive": "C:", "spSourceDrive": "C:",
"spSourceFolder": "SharePoint2013", "spSourceFolder": "SharePoint2013",
"SPProductKey": "N3MDM-DXR3H-JD7QH-QKKCR-BY2Y7",
"sharePointFarmAccountUserName": "sp_farm", "sharePointFarmAccountUserName": "sp_farm",
"spconfigDatabaseName": "SP_Config", "spconfigDatabaseName": "SP_Config",
"spadministrationContentDatabaseName": "SP_AdminContent", "spadministrationContentDatabaseName": "SP_AdminContent",
@ -335,6 +336,7 @@
"spSiteTemplateName": "STS#0", "spSiteTemplateName": "STS#0",
"sharepointFarmName": "spFarm", "sharepointFarmName": "spFarm",
"sppublicIPFQDN": "local.cloudapp.azure.com", "sppublicIPFQDN": "local.cloudapp.azure.com",
"spFQDN": "[concat(variables('spVmNamePrefix'),'0.',parameters('domainName'))]",
"spnicname": "SPMachine-Nic-", "spnicname": "SPMachine-Nic-",
"subnets": [ "subnets": [
@ -768,21 +770,22 @@
"location": { "value": "[parameters('location')]" }, "location": { "value": "[parameters('location')]" },
"domainName": { "value": "[parameters('domainName')]" }, "domainName": { "value": "[parameters('domainName')]" },
"adminUserName": { "value": "[parameters('adminUsername')]" }, "adminUserName": { "value": "[parameters('adminUsername')]" },
"sharePointSetupUserAccountUserName": { "value": "[parameters('sqlServerServiceAccountUserName')]" }, "sharePointSetupUserAccountUserName": { "value": "[parameters('adminUsername')]" },
"sharePointFarmAccountUserName": { "value": "[variables('sharePointFarmAccountUserName')]" }, "sharePointFarmAccountUserName": { "value": "[parameters('sqlServerServiceAccountUserName')]" },
"configDatabaseName": { "value": "[variables('spconfigDatabaseName')]" }, "configDatabaseName": { "value": "[variables('spconfigDatabaseName')]" },
"administrationContentDatabaseName": { "value": "[variables('spadministrationContentDatabaseName')]" }, "administrationContentDatabaseName": { "value": "[variables('spadministrationContentDatabaseName')]" },
"sqlVMName": { "value": "[concat(variables('sqlClusterVmNamePrefix'), '0')]" }, "sqlVMName": { "value": "[concat(variables('sqlClusterVmNamePrefix'), '0')]" },
"fqdn": { "value": "[variables('sppublicIPFQDN')]" }, "fqdn": { "value": "[variables('spFQDN')]" },
"contentDatabaseName": { "value": "[variables('spcontentDatabaseName')]" }, "contentDatabaseName": { "value": "[variables('spcontentDatabaseName')]" },
"spSiteTemplateName": { "value": "[variables('spSiteTemplateName')]" }, "spSiteTemplateName": { "value": "[variables('spSiteTemplateName')]" },
"adminPassword": { "value": "[parameters('adminPassword')]" }, "adminPassword": { "value": "[parameters('adminPassword')]" },
"sharePointSetupUserAccountPassword": { "value": "[parameters('sqlServerServiceAccountPassword')]" }, "sharePointSetupUserAccountPassword": { "value": "[parameters('adminPassword')]" },
"sharePointFarmAccountPassword": { "value": "[parameters('sharePointFarmAccountPassword')]" }, "sharePointFarmAccountPassword": { "value": "[parameters('sqlServerServiceAccountPassword')]" },
"sharePointFarmPassphrasePassword": { "value": "[parameters('sharePointFarmPassphrasePassword')]" }, "sharePointFarmPassphrasePassword": { "value": "[parameters('sharePointFarmPassphrasePassword')]" },
"sharepointFarmName": { "value": "[variables('sharepointFarmName')]" }, "sharepointFarmName": { "value": "[variables('sharepointFarmName')]" },
"sharepointInstallSourceDrive": { "value": "[variables('spSourceDrive')]" }, "sharepointInstallSourceDrive": { "value": "[variables('spSourceDrive')]" },
"sharepointInstallSourceFolder": { "value": "[variables('spSourceFolder')]" }, "sharepointInstallSourceFolder": { "value": "[variables('spSourceFolder')]" },
"ProductKey": { "value": "[variables('SPProductKey')]" },
"assetLocation": { "value": "[parameters('assetLocation')]" } "assetLocation": { "value": "[parameters('assetLocation')]" }
} }
} }

Просмотреть файл

@ -59,6 +59,9 @@
"sharepointInstallSourceFolder": { "sharepointInstallSourceFolder": {
"type": "string" "type": "string"
}, },
"ProductKey": {
"type": "string"
},
"assetLocation": { "assetLocation": {
"type": "string", "type": "string",
"metadata": { "metadata": {
@ -76,7 +79,6 @@
"name": "[concat(parameters('spVMName'),'/ConfigureSPServer')]", "name": "[concat(parameters('spVMName'),'/ConfigureSPServer')]",
"apiVersion": "2015-06-15", "apiVersion": "2015-06-15",
"dependsOn": [ "dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('spVMName'))]"
], ],
"location": "[parameters('location')]", "location": "[parameters('location')]",
"properties": { "properties": {
@ -109,7 +111,8 @@
"DatabaseServer": "[concat(parameters('sqlVMName'),'.',parameters('domainName'))]", "DatabaseServer": "[concat(parameters('sqlVMName'),'.',parameters('domainName'))]",
"Configuration": "[concat('{\"roles\":[{\"type\":\"application\",\"properties\":{\"fqdn\":\"',parameters('fqdn'),'\",\"port\":8080}},{\"type\":\"web\",\"properties\":{\"webApp\":{\"name\":\"',parameters('sharepointFarmName'),'\",\"applicationPool\":\"',parameters('sharepointFarmName'),' AppPool\",\"applicationPoolAccount\":\"', parameters('sharePointFarmAccountUserName'),'\",\"url\":\"http://',parameters('fqdn'),'\",\"port\":80,\"hostHeader\":\"',parameters('fqdn'),'\",\"databaseName\":\"',parameters('contentDatabaseName'),'\"},\"site\":{\"name\":\"',parameters('sharepointFarmName'),'\",\"template\":\"',parameters('spSiteTemplateName'),'\",\"url\":\"http://',parameters('fqdn'),'\",\"ownerAliasDomain\":\"',parameters('domainName'),'\",\"ownerAliasUserName\":\"',parameters('sharePointFarmAccountUserName'),'\",\"secondaryOwnerAliasDomain\":\"',parameters('domainName'),'\",\"secondaryOwnerAliasUserName\":\"',parameters('adminUserName'),'\"}}}],\"configureForHa\":\"False\",\"loadBalancedSetProbePort\":0}')]", "Configuration": "[concat('{\"roles\":[{\"type\":\"application\",\"properties\":{\"fqdn\":\"',parameters('fqdn'),'\",\"port\":8080}},{\"type\":\"web\",\"properties\":{\"webApp\":{\"name\":\"',parameters('sharepointFarmName'),'\",\"applicationPool\":\"',parameters('sharepointFarmName'),' AppPool\",\"applicationPoolAccount\":\"', parameters('sharePointFarmAccountUserName'),'\",\"url\":\"http://',parameters('fqdn'),'\",\"port\":80,\"hostHeader\":\"',parameters('fqdn'),'\",\"databaseName\":\"',parameters('contentDatabaseName'),'\"},\"site\":{\"name\":\"',parameters('sharepointFarmName'),'\",\"template\":\"',parameters('spSiteTemplateName'),'\",\"url\":\"http://',parameters('fqdn'),'\",\"ownerAliasDomain\":\"',parameters('domainName'),'\",\"ownerAliasUserName\":\"',parameters('sharePointFarmAccountUserName'),'\",\"secondaryOwnerAliasDomain\":\"',parameters('domainName'),'\",\"secondaryOwnerAliasUserName\":\"',parameters('adminUserName'),'\"}}}],\"configureForHa\":\"False\",\"loadBalancedSetProbePort\":0}')]",
"InstallSourceDrive": "[parameters('sharepointInstallSourceDrive')]", "InstallSourceDrive": "[parameters('sharepointInstallSourceDrive')]",
"InstallSourceFolderName": "[parameters('sharepointInstallSourceFolder')]" "InstallSourceFolderName": "[parameters('sharepointInstallSourceFolder')]",
"ProductKey": "[parameters('ProductKey')]"
} }
}, },
"protectedSettings": { "protectedSettings": {