|
154 | 154 | "description": "Name for the storage account that contains support logs from the cluster" |
155 | 155 | } |
156 | 156 | }, |
| 157 | + "applicationDiagnosticsStorageAccountType": { |
| 158 | + "type": "string", |
| 159 | + "allowedValues": [ |
| 160 | + "Standard_LRS", |
| 161 | + "Standard_GRS" |
| 162 | + ], |
| 163 | + "defaultValue": "Standard_LRS", |
| 164 | + "metadata": { |
| 165 | + "description": "Replication option for the application diagnostics storage account" |
| 166 | + } |
| 167 | + }, |
| 168 | + "applicationDiagnosticsStorageAccountName": { |
| 169 | + "type": "string", |
| 170 | + "defaultValue": "[toLower(concat(uniqueString(resourceGroup().id), '3' ))]", |
| 171 | + "metadata": { |
| 172 | + "description": "Name for the storage account that contains application diagnostics data from the cluster" |
| 173 | + } |
| 174 | + }, |
157 | 175 | "nt0InstanceCount": { |
158 | 176 | "type": "int", |
159 | 177 | "defaultValue": 1, |
|
168 | 186 | }, |
169 | 187 | "vmNodeType0Size": { |
170 | 188 | "type": "string", |
171 | | - "defaultValue": "Standard_D1_v2" |
172 | | - }, |
173 | | - "SFReverseProxyPort": { |
174 | | - "type": "int", |
175 | | - "defaultValue": 19081, |
176 | | - "metadata": { |
177 | | - "description": "Endpoint for Service Fabric Reverse proxy" |
178 | | - } |
| 189 | + "defaultValue": "Standard_D2_v2" |
179 | 190 | } |
180 | 191 | }, |
181 | 192 | "variables": { |
|
218 | 229 | "clusterName": "[parameters('clusterName')]" |
219 | 230 | } |
220 | 231 | }, |
| 232 | + { |
| 233 | + "apiVersion": "[variables('storageApiVersion')]", |
| 234 | + "type": "Microsoft.Storage/storageAccounts", |
| 235 | + "name": "[parameters('applicationDiagnosticsStorageAccountName')]", |
| 236 | + "location": "[parameters('computeLocation')]", |
| 237 | + "dependsOn": [], |
| 238 | + "properties": {}, |
| 239 | + "kind": "Storage", |
| 240 | + "sku": { |
| 241 | + "name": "[parameters('applicationDiagnosticsStorageAccountType')]" |
| 242 | + }, |
| 243 | + "tags": { |
| 244 | + "resourceType": "Service Fabric", |
| 245 | + "clusterName": "[parameters('clusterName')]" |
| 246 | + } |
| 247 | + }, |
221 | 248 | { |
222 | 249 | "apiVersion": "[variables('vNetApiVersion')]", |
223 | 250 | "type": "Microsoft.Network/virtualNetworks", |
|
323 | 350 | }, |
324 | 351 | "protocol": "tcp" |
325 | 352 | } |
326 | | - }, |
327 | | - { |
328 | | - "name": "LBSFReverseProxyRule", |
329 | | - "properties": { |
330 | | - "backendAddressPool": { |
331 | | - "id": "[variables('lbPoolID0')]" |
332 | | - }, |
333 | | - "backendPort": "[parameters('SFReverseProxyPort')]", |
334 | | - "enableFloatingIP": "false", |
335 | | - "frontendIPConfiguration": { |
336 | | - "id": "[variables('lbIPConfig0')]" |
337 | | - }, |
338 | | - "frontendPort": "[parameters('SFReverseProxyPort')]", |
339 | | - "idleTimeoutInMinutes": "5", |
340 | | - "probe": { |
341 | | - "id": "[concat(variables('lbID0'),'/probes/SFReverseProxyProbe')]" |
342 | | - }, |
343 | | - "protocol": "tcp" |
344 | | - } |
345 | 353 | } |
346 | 354 | ], |
347 | 355 | "probes": [ |
|
362 | 370 | "port": "[parameters('nt0fabricHttpGatewayPort')]", |
363 | 371 | "protocol": "tcp" |
364 | 372 | } |
365 | | - }, |
366 | | - { |
367 | | - "name": "SFReverseProxyProbe", |
368 | | - "properties": { |
369 | | - "intervalInSeconds": 5, |
370 | | - "numberOfProbes": 2, |
371 | | - "port": "[parameters('SFReverseProxyPort')]", |
372 | | - "protocol": "tcp" |
373 | | - } |
374 | | - } |
| 373 | + } |
375 | 374 | ], |
376 | 375 | "inboundNatPools": [ |
377 | 376 | { |
|
426 | 425 | "[concat('Microsoft.Storage/storageAccounts/', variables('uniqueStringArray0')[3])]", |
427 | 426 | "[concat('Microsoft.Storage/storageAccounts/', variables('uniqueStringArray0')[4])]", |
428 | 427 | "[concat('Microsoft.Network/loadBalancers/', concat('LB','-', parameters('clusterName'),'-',parameters('vmNodeType0Name')))]", |
429 | | - "[concat('Microsoft.Storage/storageAccounts/', parameters('supportLogStorageAccountName'))]" |
| 428 | + "[concat('Microsoft.Storage/storageAccounts/', parameters('supportLogStorageAccountName'))]", |
| 429 | + "[concat('Microsoft.Storage/storageAccounts/', parameters('applicationDiagnosticsStorageAccountName'))]" |
430 | 430 | ], |
431 | 431 | "properties": { |
432 | 432 | "overprovision": "[parameters('overProvision')]", |
|
456 | 456 | }, |
457 | 457 | "typeHandlerVersion": "1.0" |
458 | 458 | } |
| 459 | + }, |
| 460 | + { |
| 461 | + "name": "[concat('VMDiagnosticsVmExt','_vmNodeType0Name')]", |
| 462 | + "properties": { |
| 463 | + "type": "IaaSDiagnostics", |
| 464 | + "autoUpgradeMinorVersion": true, |
| 465 | + "protectedSettings": { |
| 466 | + "storageAccountName": "[parameters('applicationDiagnosticsStorageAccountName')]", |
| 467 | + "storageAccountKey": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', parameters('applicationDiagnosticsStorageAccountName')),'2015-05-01-preview').key1]", |
| 468 | + "storageAccountEndPoint": "https://core.windows.net/" |
| 469 | + }, |
| 470 | + "publisher": "Microsoft.Azure.Diagnostics", |
| 471 | + "settings": { |
| 472 | + "WadCfg": { |
| 473 | + "DiagnosticMonitorConfiguration": { |
| 474 | + "overallQuotaInMB": "50000", |
| 475 | + "EtwProviders": { |
| 476 | + "EtwEventSourceProviderConfiguration": [ |
| 477 | + { |
| 478 | + "provider": "Microsoft-ServiceFabric-Actors", |
| 479 | + "scheduledTransferKeywordFilter": "1", |
| 480 | + "scheduledTransferPeriod": "PT5M", |
| 481 | + "DefaultEvents": { |
| 482 | + "eventDestination": "ServiceFabricReliableActorEventTable" |
| 483 | + } |
| 484 | + }, |
| 485 | + { |
| 486 | + "provider": "Microsoft-ServiceFabric-Services", |
| 487 | + "scheduledTransferPeriod": "PT5M", |
| 488 | + "DefaultEvents": { |
| 489 | + "eventDestination": "ServiceFabricReliableServiceEventTable" |
| 490 | + } |
| 491 | + } |
| 492 | + ], |
| 493 | + "EtwManifestProviderConfiguration": [ |
| 494 | + { |
| 495 | + "provider": "cbd93bc2-71e5-4566-b3a7-595d8eeca6e8", |
| 496 | + "scheduledTransferLogLevelFilter": "Information", |
| 497 | + "scheduledTransferKeywordFilter": "4611686018427387904", |
| 498 | + "scheduledTransferPeriod": "PT5M", |
| 499 | + "DefaultEvents": { |
| 500 | + "eventDestination": "ServiceFabricSystemEventTable" |
| 501 | + } |
| 502 | + } |
| 503 | + ] |
| 504 | + } |
| 505 | + } |
| 506 | + }, |
| 507 | + "StorageAccount": "[parameters('applicationDiagnosticsStorageAccountName')]" |
| 508 | + }, |
| 509 | + "typeHandlerVersion": "1.5" |
| 510 | + } |
459 | 511 | } |
460 | 512 | ] |
461 | 513 | }, |
|
535 | 587 | "[concat('Microsoft.Storage/storageAccounts/', parameters('supportLogStorageAccountName'))]" |
536 | 588 | ], |
537 | 589 | "properties": { |
| 590 | + "addonFeatures": [ |
| 591 | + "DnsService" |
| 592 | + ], |
538 | 593 | "clientCertificateCommonNames": [], |
539 | 594 | "clientCertificateThumbprints": [], |
540 | | - "clusterCodeVersion": "5.6.231.9494", |
| 595 | + "clusterCodeVersion": "5.7.207.9494", |
541 | 596 | "clusterState": "Default", |
542 | 597 | "diagnosticsStorageAccountConfig": { |
543 | 598 | "blobEndpoint": "[reference(concat('Microsoft.Storage/storageAccounts/', parameters('supportLogStorageAccountName')), variables('storageApiVersion')).primaryEndpoints.blob]", |
|
547 | 602 | "tableEndpoint": "[reference(concat('Microsoft.Storage/storageAccounts/', parameters('supportLogStorageAccountName')), variables('storageApiVersion')).primaryEndpoints.table]" |
548 | 603 | }, |
549 | 604 | "fabricSettings": [], |
550 | | - "addonFeatures": [ |
551 | | - "DnsService" |
552 | | - ], |
553 | 605 | "managementEndpoint": "[concat('http://',reference(concat(parameters('lbIPName'),'-','0')).dnsSettings.fqdn,':',parameters('nt0fabricHttpGatewayPort'))]", |
554 | 606 | "nodeTypes": [ |
555 | 607 | { |
|
0 commit comments