You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-cluster-fabric-settings.md
+4-61Lines changed: 4 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,73 +14,19 @@ ms.devlang: dotnet
14
14
ms.topic: reference
15
15
ms.tgt_pltfrm: NA
16
16
ms.workload: NA
17
-
ms.date: 10/08/2018
17
+
ms.date: 11/13/2018
18
18
ms.author: aljo
19
19
20
20
---
21
21
# Customize Service Fabric cluster settings
22
-
This article describes how to customize the various fabric settings for your Service Fabric cluster. For clusters hosted in Azure, you can customize settings through the [Azure portal](https://portal.azure.com) or by using an Azure Resource Manager template. For standalone clusters, you customize settings by updating the ClusterConfig.json file and performing a configuration upgrade on your cluster.
22
+
This article describes the various fabric settings for your Service Fabric cluster that you can customize. For clusters hosted in Azure, you can customize settings through the [Azure portal](https://portal.azure.com) or by using an Azure Resource Manager template. For more information, see [Upgrade the configuration of an Azure cluster](service-fabric-cluster-config-upgrade-azure.md). For standalone clusters, you customize settings by updating the *ClusterConfig.json* file and performing a configuration upgrade on your cluster. For more information, see [Upgrade the configuration of a standalone cluster](service-fabric-cluster-config-upgrade-windows-server.md).
23
23
24
-
>[!NOTE]
25
-
> Not all settings are available in the portal. In case a setting listed below is not available via the portal customize it using an Azure Resource Manager template.
26
-
>
27
-
28
-
## Description of the different upgrade policies
24
+
There are three different upgrade policies:
29
25
30
26
-**Dynamic** – Changes to a dynamic configuration do not cause any process restarts of either Service Fabric processes or your service host processes.
31
27
-**Static** – Changes to a static configuration will cause the Service Fabric node to restart in order to consume the change. Services on the nodes will be restarted.
32
28
-**NotAllowed** – These settings cannot be modified. Changing these settings requires that the cluster be destroyed and a new cluster created.
33
29
34
-
## Customize cluster settings using Resource Manager templates
35
-
The steps below show how to add a new setting *MaxDiskQuotaInMB* to the *Diagnostics* section using Azure Resource Explorer.
36
-
37
-
1. Go to https://resources.azure.com
38
-
2. Navigate to your subscription by expanding **subscriptions** -> **\<Your Subscription>** -> **resourceGroups** -> **\<Your Resource Group>** -> **providers** -> **Microsoft.ServiceFabric** -> **clusters** -> **\<Your Cluster Name>**
39
-
3. In the top right corner, select **Read/Write.**
40
-
4. Select **Edit** and update the `fabricSettings` JSON element and add a new element:
41
-
42
-
```json
43
-
{
44
-
"name": "Diagnostics",
45
-
"parameters": [
46
-
{
47
-
"name": "MaxDiskQuotaInMB",
48
-
"value": "65536"
49
-
}
50
-
]
51
-
}
52
-
```
53
-
54
-
You can also customize cluster settings in one of the following ways with Azure Resource Manager:
55
-
56
-
- Use the [Azure portal](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-export-template) to export and update the Resource Manger template.
57
-
- Use [PowerShell](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-export-template-powershell) to export and update the Resource Manager template.
58
-
- Use the [Azure CLI](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-export-template-cli) to export and update the Resource Manager template.
59
-
- Use the Azure RM PowerShell [Set-AzureRmServiceFabricSetting](https://docs.microsoft.com/powershell/module/azurerm.servicefabric/Set-AzureRmServiceFabricSetting) and [Remove-AzureRmServiceFabricSetting](https://docs.microsoft.com/powershell/module/azurerm.servicefabric/Remove-AzureRmServiceFabricSetting) commands to modify the setting directly.
60
-
- Use the Azure CLI [az sf cluster setting](https://docs.microsoft.com/cli/azure/sf/cluster/setting) commands to modify the setting directly.
61
-
62
-
## Customize cluster settings for standalone clusters
63
-
Standalone clusters are configured through the ClusterConfig.json file. To learn more, see [Configuration settings for a standalone Windows cluster](./service-fabric-cluster-manifest.md).
64
-
65
-
You can add, update, or remove settings in the `fabricSettings` section under the [Cluster properties](./service-fabric-cluster-manifest.md#cluster-properties) section in ClusterConfig.json.
66
-
67
-
For example, the following JSON adds a new setting *MaxDiskQuotaInMB* to the *Diagnostics* section under `fabricSettings`:
68
-
69
-
```json
70
-
{
71
-
"name": "Diagnostics",
72
-
"parameters": [
73
-
{
74
-
"name": "MaxDiskQuotaInMB",
75
-
"value": "65536"
76
-
}
77
-
]
78
-
}
79
-
```
80
-
81
-
After you've modified the settings in your ClusterConfig.json file, follow the directions in [Upgrade the cluster configuration](service-fabric-cluster-config-upgrade-windows-server.md) to apply the settings to your cluster.
82
-
83
-
84
30
The following is a list of Fabric settings that you can customize, organized by section.
85
31
86
32
## ApplicationGateway/Http
@@ -864,7 +810,4 @@ The following is a list of Fabric settings that you can customize, organized by
864
810
|X509StoreName | string, default is "My"|Dynamic|X509StoreName for UpgradeService. |
865
811
866
812
## Next steps
867
-
Read these articles for more information on cluster management:
868
-
869
-
[Add, Roll over, remove certificates from your Azure cluster ](service-fabric-cluster-security-update-certs-azure.md)
870
-
813
+
For more information, see [Upgrade the configuration of an Azure cluster](service-fabric-cluster-config-upgrade-azure.md) and [Upgrade the configuration of a standalone cluster](service-fabric-cluster-config-upgrade-windows-server.md).
0 commit comments