Skip to content

Commit e961b21

Browse files
authored
Merge pull request #48137 from JimacoMS2/sf-fabric-settings-update
Add Standalone cluster links and additional ARM links and remove Upgrade from Titles
2 parents 9868f67 + f7e9dd7 commit e961b21

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

articles/service-fabric/service-fabric-cluster-fabric-settings.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ms.date: 07/25/2018
1818
ms.author: aljo
1919

2020
---
21-
# Customize Service Fabric cluster settings and Fabric Upgrade policy
22-
This document tells you how to customize the various fabric settings and the fabric upgrade policy for your Service Fabric cluster. You can customize them through the [Azure portal](https://portal.azure.com) or using an Azure Resource Manager template.
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.
2323

2424
> [!NOTE]
2525
> 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.
@@ -32,14 +32,41 @@ This document tells you how to customize the various fabric settings and the fab
3232
- **NotAllowed** – These settings cannot be modified. Changing these settings requires that the cluster be destroyed and a new cluster created.
3333

3434
## Customize cluster settings using Resource Manager templates
35-
The steps below illustrate how to add a new setting *MaxDiskQuotaInMB* to the *Diagnostics* section.
35+
The steps below show how to add a new setting *MaxDiskQuotaInMB* to the *Diagnostics* section using Azure Resource Explorer.
3636

3737
1. Go to https://resources.azure.com
3838
2. Navigate to your subscription by expanding **subscriptions** -> **\<Your Subscription>** -> **resourceGroups** -> **\<Your Resource Group>** -> **providers** -> **Microsoft.ServiceFabric** -> **clusters** -> **\<Your Cluster Name>**
3939
3. In the top right corner, select **Read/Write.**
4040
4. Select **Edit** and update the `fabricSettings` JSON element and add a new element:
4141

42+
```json
43+
{
44+
"name": "Diagnostics",
45+
"parameters": [
46+
{
47+
"name": "MaxDiskQuotaInMB",
48+
"value": "65536"
49+
}
50+
]
51+
}
4252
```
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 the `fabricSettings` element:
68+
69+
```json
4370
{
4471
"name": "Diagnostics",
4572
"parameters": [
@@ -51,6 +78,9 @@ The steps below illustrate how to add a new setting *MaxDiskQuotaInMB* to the *D
5178
}
5279
```
5380

81+
After you've modified the settings in your ClusterConfig.json file, follow the directions in [Upgrade the cluster configuration](./service-fabric-cluster-upgrade-windows-server.md#upgrade-the-cluster-configuration) to apply the settings to your cluster.
82+
83+
5484
The following is a list of Fabric settings that you can customize, organized by section.
5585

5686
## ApplicationGateway/Http

0 commit comments

Comments
 (0)