Skip to content

Commit db31710

Browse files
committed
pulling in changes from stale public PR
1 parent 10895ec commit db31710

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

articles/service-fabric/service-fabric-scale-up-primary-node-type.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Scale up an Azure Service Fabric primary node type
33
description: Vertically scale your Service Fabric cluster by adding a new node type and removing the previous one.
44
ms.topic: how-to
5-
ms.author: chrpap
6-
author: chrpap
5+
ms.author: tomcassidy
6+
author: tomvcassidy
77
ms.service: service-fabric
88
ms.custom: devx-track-azurepowershell
99
services: service-fabric
@@ -234,6 +234,26 @@ OS SKU
234234
}
235235
```
236236

237+
### If you are changing OS SKU in a Linux Cluster
238+
239+
In Windows cluster, the value for property vmImage is ‘Windows’ while value of same property for Linux cluster is name of the OS image used. For e.g. - Ubuntu20_04(use the latest vm image name).
240+
241+
So, if you are changing the VM image (OS SKU) in a Linux cluster, then update the vmImage setting on the Service Fabric cluster resource as well.
242+
243+
```json
244+
#Update the property vmImage with the required OS name in your ARM template
245+
{
246+
"vmImage": "[parameter(newVmImageName]”
247+
}
248+
```
249+
Note: Example of newVmImageName: Ubuntu20_04
250+
251+
You can also update the cluster resource by using below PowerShell command:
252+
```powershell
253+
# Update cluster vmImage to target OS. This registers the SF runtime package type that is supplied for upgrades.
254+
Update-AzServiceFabricVmImage -ResourceGroupName $resourceGroup -ClusterName $clusterName -VmImage Ubuntu20_04
255+
```
256+
237257
Also, ensure you include any additional extensions that are required for your workload.
238258

239259
#### Add a new primary node type to the cluster

0 commit comments

Comments
 (0)