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-cross-availability-zones.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The recommended topology for the primary node type requires the resources outlin
28
28
* A NSG referenced by the subnet in which you deploy your virtual machine scale sets.
29
29
30
30
>[!NOTE]
31
-
> The virtual machine scale set single placement group property must be set to true, since Service Fabric does not support a single virtual machine scale set which spans zones.
31
+
> The virtual machine scale set single placement group property must be set to true.
32
32
33
33
Diagram that shows the Azure Service Fabric Availability Zone architecture
34
34
![Diagram that shows the Azure Service Fabric Availability Zone architecture.][sf-architecture]
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-stateless-node-types.md
+22-16Lines changed: 22 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
title: Deploy Stateless-only node types in a Service Fabric cluster
3
-
description: Learn how to create and deploy stateless node types in Azure Service fabric cluster.
3
+
description: Learn how to create and deploy stateless node types in Azure Service Fabric cluster.
4
4
author: peterpogorski
5
5
6
6
ms.topic: conceptual
7
7
ms.date: 09/25/2020
8
8
ms.author: pepogors
9
9
---
10
-
# Deploy an Azure Service Fabric cluster with stateless-only node types (Preview)
10
+
# Deploy an Azure Service Fabric cluster with stateless-only node types
11
11
Service Fabric node types come with inherent assumption that at some point of time, stateful services might be placed on the nodes. Stateless node types relax this assumption for a node type, thus allowing node type to use other features such as faster scale out operations, support for Automatic OS Upgrades on Bronze durability and scaling out to more than 100 nodes in a single virtual machine scale set.
12
12
13
13
* Primary node types cannot be configured to be stateless
@@ -18,7 +18,7 @@ Service Fabric node types come with inherent assumption that at some point of ti
18
18
Sample templates are available: [Service Fabric Stateless Node types template](https://github.com/Azure-Samples/service-fabric-cluster-templates)
19
19
20
20
## Enabling stateless node types in Service Fabric cluster
21
-
To set one or more node types as stateless in a cluster resource, set the **isStateless** property to "true". When deploying a Service Fabric cluster with stateless node types, do remember to have atleast one primary node type in the cluster resource.
21
+
To set one or more node types as stateless in a cluster resource, set the **isStateless** property to **true**. When deploying a Service Fabric cluster with stateless node types, do remember to have atleast one primary node type in the cluster resource.
22
22
23
23
* The Service Fabric cluster resource apiVersion should be "2020-12-01-preview" or higher.
24
24
@@ -39,7 +39,7 @@ To set one or more node types as stateless in a cluster resource, set the **isSt
@@ -67,16 +67,15 @@ To set one or more node types as stateless in a cluster resource, set the **isSt
67
67
To enable stateless node types, you should configure the underlying virtual machine scale set resource in the following way:
68
68
69
69
* The value **singlePlacementGroup** property, which should be set to **false** if you require to scale to more than 100 VMs.
70
-
* The Scale set's **upgradePolicy****mode** should be set to **Rolling**.
70
+
* The Scale set's **upgradeMode** should be set to **Rolling**.
71
71
* Rolling Upgrade Mode requires Application Health Extension or Health probes configured. Configure health probe with default configuration for Stateless Node types as suggested below. Once applications are deployed to the node type, Health Probe/Health extension ports can be changed to monitor application health.
72
72
73
73
>[!NOTE]
74
-
> It is required that the platform fault domain count is updated to 5 when a stateless node type is backed by a virtual machine scale set which is spanning multiple zones. Please see this [template](https://github.com/Azure-Samples/service-fabric-cluster-templates/tree/master/15-VM-2-NodeTypes-Windows-Stateless-CrossAZ-Secure) for more details.
75
-
>
76
-
> **platformFaultDomainCount:5**
74
+
> While using AutoScaling with Stateless nodetypes, after scale down operation, node state is not automatically cleaned up. In order to cleanup the NodeState of Down Nodes during AutoScale, using [Service Fabric AutoScale Helper](https://github.com/Azure/service-fabric-autoscale-helper) is advised.
@@ -87,8 +86,9 @@ To enable stateless node types, you should configure the underlying virtual mach
87
86
"automaticOSUpgradePolicy": {
88
87
"enableAutomaticOSUpgrade": true
89
88
}
90
-
}
91
-
}
89
+
},
90
+
"platformFaultDomainCount": 5
91
+
},
92
92
"virtualMachineProfile": {
93
93
"extensionProfile": {
94
94
"extensions": [
@@ -132,6 +132,15 @@ To enable stateless node types, you should configure the underlying virtual mach
132
132
}
133
133
```
134
134
135
+
## Configuring Stateless node types with multiple Availability Zones
136
+
To configure Stateless nodetype spanning across multiple availability zones follow the documentation [here](https://docs.microsoft.com/azure/service-fabric/service-fabric-cross-availability-zones#preview-enable-multiple-availability-zones-in-single-virtual-machine-scale-set), along with the few changes as follows:
137
+
138
+
* Set **singlePlacementGroup** : **false** if multiple placement groups is required to be enabled.
139
+
* Set **upgradeMode** : **Rolling** and add Application Health Extension/Health Probes as mentioned above.
140
+
* Set **platformFaultDomainCount** : **5** for virtual machine scale set.
141
+
142
+
For reference, look at the [template](https://github.com/Azure-Samples/service-fabric-cluster-templates/tree/master/15-VM-2-NodeTypes-Windows-Stateless-CrossAZ-Secure) for configuring Stateless node types with multiple Availability Zones
143
+
135
144
## Networking requirements
136
145
### Public IP and Load Balancer Resource
137
146
To enable scaling to more than 100 VMs on a virtual machine scale set resource, the load balancer and IP resource referenced by that virtual machine scale set must both be using a *Standard* SKU. Creating a load balancer or IP resource without the SKU property will create a Basic SKU, which does not support scaling to more than 100 VMs. A Standard SKU load balancer will block all traffic from the outside by default; to allow outside traffic, an NSG must be deployed to the subnet.
@@ -179,7 +188,7 @@ To enable scaling to more than 100 VMs on a virtual machine scale set resource,
179
188
```
180
189
181
190
>[!NOTE]
182
-
> It is not possible to do an in-place change of SKU on the public IP and load balancer resources. If you are migrating from existing resources which have a Basic SKU, see the migration section of this article.
191
+
> It is not possible to do an in-place change of SKU on the public IP and load balancer resources.
183
192
184
193
### Virtual machine scale set NAT rules
185
194
The load balancer inbound NAT rules should match the NAT pools from the virtual machine scale set. Each virtual machine scale set must have a unique inbound NAT pool.
@@ -238,7 +247,7 @@ Standard Load Balancer and Standard Public IP introduce new abilities and differ
238
247
239
248
240
249
241
-
### Migrate to using Stateless node types from a cluster using a Basic SKU Load Balancer and a Basic SKU IP
250
+
## Migrate to using Stateless node types in a cluster
242
251
For all migration scenarios, a new stateless-only node type needs to be added. Existing node type cannot be migrated to be stateless-only.
243
252
244
253
To migrate a cluster, which was using a Load Balancer and IP with a basic SKU, you must first create an entirely new Load Balancer and IP resource using the standard SKU. It is not possible to update these resources in-place.
@@ -252,9 +261,6 @@ To begin, you will need to add the new resources to your existing Resource Manag
252
261
253
262
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.
254
263
255
-
>[!NOTE]
256
-
> While using AutoScaling with Stateless nodetypes with Bronze Durability, after scale down operation, node state is not automatically cleaned up. In order to cleanup the NodeState of Down Nodes during AutoScale, using [Service Fabric AutoScale Helper](https://github.com/Azure/service-fabric-autoscale-helper) is advised.
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ The following platform SKUs are currently supported (and more are added periodic
74
74
### Service Fabric requirements
75
75
76
76
If you are using Service Fabric, ensure the following conditions are met:
77
-
- Service Fabric [durability level](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster) is Silver or Gold, and not Bronze.
77
+
- Service Fabric [durability level](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster) is Silver or Gold, and not Bronze(except Stateless-only nodetypes, which do support Automatic OS Upgrades).
78
78
- The Service Fabric extension on the scale set model definition must have TypeHandlerVersion 1.1 or above.
79
79
- Durability level should be the same at the Service Fabric cluster and Service Fabric extension on the scale set model definition.
80
80
- An additional health probe or use of application health extension is not required.
@@ -158,7 +158,7 @@ The load-balancer probe can be referenced in the *networkProfile* of the scale s
158
158
```
159
159
160
160
> [!NOTE]
161
-
> When using Automatic OS Upgrades with Service Fabric, the new OS image is rolled out Update Domain by Update Domain to maintain high availability of the services running in Service Fabric. To utilize Automatic OS Upgrades in Service Fabric your cluster must be configured to use the Silver Durability Tier or higher. For more information on the durability characteristics of Service Fabric clusters, please see [this documentation](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster).
161
+
> When using Automatic OS Upgrades with Service Fabric, the new OS image is rolled out Update Domain by Update Domain to maintain high availability of the services running in Service Fabric. To utilize Automatic OS Upgrades in Service Fabric your cluster nodetype must be configured to use the Silver Durability Tier or higher. For Bronze Durability tier, Automatic OS Upgrade is only supported for Stateless nodetypes. For more information on the durability characteristics of Service Fabric clusters, please see [this documentation](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster).
162
162
163
163
### Keep credentials up to date
164
164
If your scale set uses any credentials to access external resources, such as a VM extension configured to use a SAS token for storage account, then ensure that the credentials are updated. If any credentials, including certificates and tokens, have expired, the upgrade will fail and the first batch of VMs will be left in a failed state.
0 commit comments