Skip to content

Commit e2dcd03

Browse files
committed
adding azure cluser config upgrade article
1 parent 610e2fd commit e2dcd03

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Upgrade the configuration of an Azure Service Fabric cluster | Microsoft Docs
3+
description: Learn how to upgrade the configuration that runs a Service Fabric cluster in Azure using a Resource Manager template.
4+
services: service-fabric
5+
documentationcenter: .net
6+
author: dkkapur
7+
manager: timlt
8+
editor: ''
9+
10+
ms.assetid: 66296cc6-9524-4c6a-b0a6-57c253bdf67e
11+
ms.service: service-fabric
12+
ms.devlang: dotnet
13+
ms.topic: conceptual
14+
ms.tgt_pltfrm: na
15+
ms.workload: na
16+
ms.date: 11/09/2018
17+
ms.author: dekapur
18+
19+
---
20+
# Upgrade the configuration of a cluster in Azure
21+
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.
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+
## Customize cluster settings using Resource Manager templates
29+
The steps below show how to add a new setting *MaxDiskQuotaInMB* to the *Diagnostics* section using Azure Resource Explorer.
30+
31+
1. Go to https://resources.azure.com
32+
2. Navigate to your subscription by expanding **subscriptions** -> **\<Your Subscription>** -> **resourceGroups** -> **\<Your Resource Group>** -> **providers** -> **Microsoft.ServiceFabric** -> **clusters** -> **\<Your Cluster Name>**
33+
3. In the top right corner, select **Read/Write.**
34+
4. Select **Edit** and update the `fabricSettings` JSON element and add a new element:
35+
36+
```json
37+
{
38+
"name": "Diagnostics",
39+
"parameters": [
40+
{
41+
"name": "MaxDiskQuotaInMB",
42+
"value": "65536"
43+
}
44+
]
45+
}
46+
```
47+
48+
You can also customize cluster settings in one of the following ways with Azure Resource Manager:
49+
50+
- Use the [Azure portal](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-export-template) to export and update the Resource Manger template.
51+
- Use [PowerShell](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-export-template-powershell) to export and update the Resource Manager template.
52+
- 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.
53+
- 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.
54+
- Use the Azure CLI [az sf cluster setting](https://docs.microsoft.com/cli/azure/sf/cluster/setting) commands to modify the setting directly.
55+
56+
## Next steps
57+
* Learn how to customize some [Service Fabric cluster settings](service-fabric-cluster-fabric-settings.md).
58+
* Learn how to [scale your cluster in and out](service-fabric-cluster-scale-up-down.md).

articles/service-fabric/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@
589589
items:
590590
- name: Upgrade the Service Fabric version
591591
href: service-fabric-cluster-upgrade-version-azure.md
592+
- name: Upgrade cluster configuration
593+
href: service-fabric-cluster-config-upgrade-azure.md
592594
- name: Patch cluster nodes (Windows)
593595
href: service-fabric-patch-orchestration-application.md
594596
- name: Patch cluster nodes (Linux)

0 commit comments

Comments
 (0)