Skip to content

Commit 7d9dce8

Browse files
authored
Merge pull request #181921 from laurabren/migrate-managed-data-disks
edit pass
2 parents 26aad8c + 936e8da commit 7d9dce8

File tree

1 file changed

+33
-19
lines changed

1 file changed

+33
-19
lines changed

articles/service-fabric/service-fabric-managed-disk.md

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Deploy Service Fabric node-types Managed Data disks
3-
description: Learn how to create and deploy Service fabric node-types with attached Managed data disks
2+
title: Deploy Service Fabric node types with managed data disks
3+
description: Learn how to create and deploy Service Fabric node types with attached managed data disks.
44
author: craftyhouse
55

66
ms.topic: conceptual
@@ -9,29 +9,34 @@ ms.author: micraft
99

1010
---
1111

12-
# Deploy an Azure Service Fabric cluster node-type with Managed data disks(Preview)
12+
# Deploy an Azure Service Fabric cluster node type with managed data disks (preview)
1313

1414
>[!NOTE]
15-
> Support for Managed Data disks is only in Preview right now, and should not be used with Production workloads.
15+
> Support for managed data disks is only in preview right now and should not be used with production workloads.
1616
1717

18-
Service Fabric node types by default use the temporary disk on each VM in the underlying virtual machine scale set for data storage. However, since the temporary disk is not persistent, and the size of the temporary disk is bound to a given VM SKU, that can be too restrictive for some scenarios. With Azure Managed Disks customers have a persistent data disk they can specify the size and performance on that will be used for a node-type, separately from a VM SKU. The following document provides steps to use native support from Service fabric to configure and use Azure Managed Disks as the default data path. Service Fabric will automatically configure Azure Managed Disks on node type creation and handle situations where VMs or the virtual machine scale set is reimaged.
18+
Azure Service Fabric node types, by default, use the temporary disk on each virtual machine (VM) in the underlying virtual machine scale set for data storage. However, because the temporary disk is not persistent, and the size of the temporary disk is bound to a given VM SKU, this can be too restrictive for some scenarios.
1919

20-
* Required minimum disk size for the managed data disk is 50 GB.
21-
* In scenarios where more than one managed data disk is attached, customer needs to manage the data disks on their own.
20+
This article provides the steps for how to use native support from Service Fabric to configure and use managed data disks as the default data path. Service Fabric will automatically configure managed data disks at node type creation and handle situations where VMs or the virtual machine scale set is reimaged.
2221

23-
## Configuring virtual machine scale set to use managed data disks in Service fabric
24-
To use Azure Managed Disks on a node type, configure the underlying virtual machine scale set resource with the following:
22+
## Prerequisites
23+
24+
* The required minimum disk size for the managed data disk is 50 GB.
25+
* In scenarios where more than one managed data disk is attached, the customer needs to manage the data disks themselves.
26+
27+
## Configure the virtual machine scale set to use managed data disks in Service Fabric
28+
To use managed data disks on a node type, configure the underlying virtual machine scale set resource with the following:
2529

2630
* Add a managed disk in data disks section of the template for the virtual machine scale set.
27-
* Update the Service fabric extension with following settings:
28-
* For Windows - **useManagedDataDisk: true** and **dataPath: 'K:\\\\SvcFab'** . Note, the drive letter "K" is just a representation, it can be any drive Letter lexicographically greater than all the drive letter present in the virtual machine scale set SKU.
29-
* For Linux - **useManagedDataDisk:true** and **dataPath: '\mnt\sfdataroot'** .
31+
* Update the Service Fabric extension with following settings:
32+
* For Windows: **useManagedDataDisk: true** and **dataPath: 'K:\\\\SvcFab'**. Note that drive K is just a representation. You can use any drive letter lexicographically greater than all the drive letters present in the virtual machine scale set SKU.
33+
* For Linux: **useManagedDataDisk:true** and **dataPath: '\mnt\sfdataroot'**.
3034

3135
>[!NOTE]
32-
> Support for Managed Data disks for Linux Service Fabric clusters is currently not available.
36+
> Support for managed data disks for Linux Service Fabric clusters is currently not available.
37+
38+
Here's an Azure Resource Manager template for a Service Fabric extension:
3339

34-
Service Fabric Extension Azure Resource Manager template
3540
```json
3641
{
3742
"virtualMachineProfile": {
@@ -77,12 +82,21 @@ Service Fabric Extension Azure Resource Manager template
7782
}
7883
```
7984

80-
## Migrate to using Managed data disks for Service fabric node types
81-
* For all migration scenarios, a new node type needs to be added which uses managed data disks as specified above.
82-
* Once new node types are added, migrate the workloads to the new node types.
83-
* Once the resources have finished deploying, you can begin to disable the nodes in the node type that you want to remove from the original cluster.
85+
## Migrate to using managed data disks for Service Fabric node types
86+
87+
For all migration scenarios:
88+
89+
1. Add a new node type that's configured to use managed data disks as specified earlier.
90+
91+
1. Migrate any required workloads to the new node type.
92+
93+
1. Disable and remove the old node type from the cluster.
94+
95+
96+
97+
8498

8599
## Next steps
86-
* [Service Fabric Overview](service-fabric-reliable-services-introduction.md)
100+
* [Service Fabric overview](service-fabric-reliable-services-introduction.md)
87101
* [Node types and virtual machine scale sets](service-fabric-cluster-nodetypes.md)
88102
* [Service Fabric capacity planning](service-fabric-best-practices-capacity-scaling.md)

0 commit comments

Comments
 (0)