Skip to content

Commit 63bcafd

Browse files
committed
Review pass
1 parent d6cb9ab commit 63bcafd

5 files changed

+81
-63
lines changed

articles/service-fabric/scripts/service-fabric-powershell-change-rdp-port-range.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,21 @@
22
title: Azure PowerShell Script Sample - Change the RDP port range | Microsoft Docs
33
description: Azure PowerShell Script Sample - Changes the RDP port range of a deployed cluster.
44
services: service-fabric
5-
documentationcenter:
6-
author: athinanthny
7-
manager: chackdan
8-
editor:
95
tags: azure-service-management
10-
11-
ms.assetid:
126
ms.service: service-fabric
137
ms.workload: multiple
148
ms.topic: sample
159
ms.date: 03/19/2018
16-
ms.author: atsenthi
17-
ms.custom: mvc
10+
ms.custom: sfrev
1811
---
1912

2013
# Update the RDP port range values
2114

22-
This sample script changes the RDP port range values on the cluster node VMs after the cluster has been deployed. Azure PowerShell is used so that the underlying VMs do not cycle. The script gets the `Microsoft.Network/loadBalancers` resource in cluster's resource group and updates the `inboundNatPools.frontendPortRangeStart` and `inboundNatPools.frontendPortRangeEnd` values. Customize the parameters as needed.
15+
This sample script changes the RDP port range values on the cluster node VMs after the cluster has been deployed. Azure PowerShell is used so that the underlying VMs do not cycle. The script gets the `Microsoft.Network/loadBalancers` resource in the cluster's resource group and updates the `inboundNatPools.frontendPortRangeStart` and `inboundNatPools.frontendPortRangeEnd` values. Customize the parameters as needed.
2316

2417
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]
2518

26-
If needed, install the Azure PowerShell using the instruction found in the [Azure PowerShell guide](/powershell/azure/overview).
19+
If needed, install the Azure PowerShell using the instruction found in the [Azure PowerShell guide](/powershell/azure/overview).
2720

2821
## Sample script
2922

articles/service-fabric/service-fabric-api-management-overview.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
title: Azure Service Fabric with API Management overview
33
description: This article is an introduction to using Azure API Management as a gateway to your Service Fabric applications.
4-
54
author: vturecek
6-
75
ms.topic: conceptual
86
ms.date: 06/22/2017
97
ms.author: vturecek
@@ -13,7 +11,7 @@ ms.author: vturecek
1311

1412
Cloud applications typically need a front-end gateway to provide a single point of ingress for users, devices, or other applications. In Service Fabric, a gateway can be any stateless service such as an [ASP.NET Core application](service-fabric-reliable-services-communication-aspnetcore.md), or another service designed for traffic ingress, such as [Event Hubs](https://docs.microsoft.com/azure/event-hubs/), [IoT Hub](https://docs.microsoft.com/azure/iot-hub/), or [Azure API Management](https://docs.microsoft.com/azure/api-management/).
1513

16-
This article is an introduction to using Azure API Management as a gateway to your Service Fabric applications. API Management integrates directly with Service Fabric, allowing you to publish APIs with a rich set of routing rules to your back-end Service Fabric services.
14+
This article is an introduction to using Azure API Management as a gateway to your Service Fabric applications. API Management integrates directly with Service Fabric, allowing you to publish APIs with a rich set of routing rules to your back-end Service Fabric services.
1715

1816
## Availability
1917

@@ -44,7 +42,8 @@ Azure API Management can be used with any combination of stateless services, sta
4442

4543
In the simplest case, traffic is forwarded to a stateless service instance. To achieve this, an API Management operation contains an inbound processing policy with a Service Fabric back-end that maps to a specific stateless service instance in the Service Fabric back-end. Requests sent to that service are sent to a random instance of the service.
4644

47-
#### Example
45+
**Example**
46+
4847
In the following scenario, a Service Fabric application contains a stateless service named `fabric:/app/fooservice`, that exposes an internal HTTP API. The service instance name is well known and can be hard-coded directly in the API Management inbound processing policy.
4948

5049
![Service Fabric with Azure API Management topology overview][sf-apim-static-stateless]
@@ -53,7 +52,7 @@ In the following scenario, a Service Fabric application contains a stateless ser
5352

5453
Similar to the stateless service scenario, traffic can be forwarded to a stateful service instance. In this case, an API Management operation contains an inbound processing policy with a Service Fabric back-end that maps a request to a specific partition of a specific *stateful* service instance. The partition to map each request to is computed via a lambda method using some input from the incoming HTTP request, such as a value in the URL path. The policy may be configured to send requests to the primary replica only, or to a random replica for read operations.
5554

56-
#### Example
55+
**Example**
5756

5857
In the following scenario, a Service Fabric application contains a partitioned stateful service named `fabric:/app/userservice` that exposes an internal HTTP API. The service instance name is well known and can be hard-coded directly in the API Management inbound processing policy.
5958

@@ -63,33 +62,33 @@ The service is partitioned using the Int64 partition scheme with two partitions
6362

6463
## Send traffic to multiple stateless services
6564

66-
In more advanced scenarios, you can define an API Management operation that maps requests to more than one service instance. In this case, each operation contains a policy that maps requests to a specific service instance based on values from the incoming HTTP request, such as the URL path or query string, and in the case of stateful services, a partition within the service instance.
65+
In more advanced scenarios, you can define an API Management operation that maps requests to more than one service instance. In this case, each operation contains a policy that maps requests to a specific service instance based on values from the incoming HTTP request, such as the URL path or query string, and in the case of stateful services, a partition within the service instance.
6766

6867
To achieve this, an API Management operation contains an inbound processing policy with a Service Fabric back-end that maps to a stateless service instance in the Service Fabric back-end based on values retrieved from the incoming HTTP request. Requests to a service are sent to a random instance of the service.
6968

70-
#### Example
69+
**Example**
7170

7271
In this example, a new stateless service instance is created for each user of an application with a dynamically generated name using the following formula:
73-
72+
7473
- `fabric:/app/users/<username>`
7574

7675
Each service has a unique name, but the names are not known up-front because the services are created in response to user or admin input and thus cannot be hard-coded into APIM policies or routing rules. Instead, the name of the service to which to send a request is generated in the back-end policy definition from the `name` value provided in the URL request path. For example:
7776

7877
- A request to `/api/users/foo` is routed to service instance `fabric:/app/users/foo`
7978
- A request to `/api/users/bar` is routed to service instance `fabric:/app/users/bar`
8079

81-
![Service Fabric with Azure API Management topology overview][sf-apim-dynamic-stateless]
80+
![Service Fabric with Azure API Management topology overview][sf-apim-dynamic-stateless.md]
8281

8382
## Send traffic to multiple stateful services
8483

8584
Similar to the stateless service example, an API Management operation can map requests to more than one **stateful** service instance, in which case you also may need to perform partition resolution for each stateful service instance.
8685

8786
To achieve this, an API Management operation contains an inbound processing policy with a Service Fabric back-end that maps to a stateful service instance in the Service Fabric back-end based on values retrieved from the incoming HTTP request. In addition to mapping a request to specific service instance, the request can also be mapped to a specific partition within the service instance, and optionally to either the primary replica or a random secondary replica within the partition.
8887

89-
#### Example
88+
**Example**
9089

9190
In this example, a new stateful service instance is created for each user of the application with a dynamically generated name using the following formula:
92-
91+
9392
- `fabric:/app/users/<username>`
9493

9594
Each service has a unique name, but the names are not known up-front because the services are created in response to user or admin input and thus cannot be hard-coded into APIM policies or routing rules. Instead, the name of the service to which to send a request is generated in the back-end policy definition from the `name` value provided the URL request path. For example:
@@ -113,4 +112,4 @@ Follow the [tutorial](service-fabric-tutorial-deploy-api-management.md) to set u
113112
[sf-apim-static-stateless]: ./media/service-fabric-api-management-overview/sf-apim-static-stateless.png
114113
[sf-apim-static-stateful]: ./media/service-fabric-api-management-overview/sf-apim-static-stateful.png
115114
[sf-apim-dynamic-stateless]: ./media/service-fabric-api-management-overview/sf-apim-dynamic-stateless.png
116-
[sf-apim-dynamic-stateful]: ./media/service-fabric-api-management-overview/sf-apim-dynamic-stateful.png
115+
[sf-apim-dynamic-stateful]: ./media/service-fabric-api-management-overview/sf-apim-dynamic-stateful.png

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

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
---
22
title: Node types and virtual machine scale sets
3-
description: Learn how Azure Service Fabric node types relate to virtual machine scale sets, and how to remotely connect to a scale set instance or cluster node.
4-
3+
description: Learn how Azure Service Fabric node types relate to virtual machine scale sets and how to remotely connect to a scale set instance or cluster node.
54
ms.topic: conceptual
65
ms.date: 03/23/2018
76
ms.author: pepogors
7+
ms.custom: sfrev
88
---
99
# Azure Service Fabric node types and virtual machine scale sets
10-
[Virtual machine scale sets](/azure/virtual-machine-scale-sets) are an Azure compute resource. You can use scale sets to deploy and manage a collection of virtual machines as a set. Each node type that you define in an Azure Service Fabric cluster sets up a separate scale. The Service Fabric runtime installed on each virtual machine in the scale set by the Microsoft.Azure.ServiceFabric Virtual Machine extension. You can independently scale each node type up or down, change the OS SKU running on each cluster node, have different sets of ports open, and use different capacity metrics.
1110

12-
The following figure shows a cluster that has two node types, named FrontEnd and BackEnd. Each node type has five nodes.
11+
[Virtual machine scale sets](/azure/virtual-machine-scale-sets) are an Azure compute resource. You can use scale sets to deploy and manage a collection of virtual machines as a set. Each node type that you define in an Azure Service Fabric cluster sets up a separate scale. The Service Fabric runtime is installed on each virtual machine in the scale set by the *Microsoft.Azure.ServiceFabric* Virtual Machine extension. You can independently scale each node type up or down, change the OS SKU running on each cluster node, have different sets of ports open, and use different capacity metrics.
12+
13+
The following figure shows a cluster that has two node types, named *FrontEnd* and *BackEnd*. Each node type has five nodes.
1314

1415
![A cluster that has two node types][NodeTypes]
1516

1617
## Map virtual machine scale set instances to nodes
18+
1719
As shown in the preceding figure, scale set instances start at instance 0, and then increase by 1. The numbering is reflected in the node names. For example, node BackEnd_0 is instance 0 of the BackEnd scale set. This particular scale set has five instances, named BackEnd_0, BackEnd_1, BackEnd_2, BackEnd_3, and BackEnd_4.
1820

1921
When you scale up a scale set, a new instance is created. The new scale set instance name typically is the scale set name plus the next instance number. In our example, it is BackEnd_5.
2022

2123
## Map scale set load balancers to node types and scale sets
24+
2225
If you deployed your cluster in the Azure portal or used the sample Azure Resource Manager template, all resources under a resource group are listed. You can see the load balancers for each scale set or node type. The load balancer name uses the following format: **LB-&lt;node type name&gt;**. An example is LB-sfcluster4doc-0, as shown in the following figure:
2326

2427
![Resources][Resources]
2528

2629
## Service Fabric Virtual Machine Extension
30+
2731
Service Fabric Virtual Machine Extension is used to bootstrap Service Fabric to Azure Virtual Machines, and configure the Node Security.
2832

2933
The following is a snippet of Service Fabric Virtual Machine extension:
@@ -60,23 +64,24 @@ The following is a snippet of Service Fabric Virtual Machine extension:
6064

6165
The following are the property descriptions:
6266

63-
| **Name** | **Allowed Values** | ** --- ** | **Guidance or Short Description** |
67+
| **Name** | **Allowed Values** | **Guidance or Short Description** |
6468
| --- | --- | --- | --- |
65-
| name | string | --- | unique name for extension |
66-
| type | "ServiceFabricLinuxNode" or "ServiceFabricWindowsNode" | --- | Identifies OS Service Fabric is bootstrapping to |
67-
| autoUpgradeMinorVersion | true or false | --- | Enable Auto Upgrade of SF Runtime Minor Versions |
68-
| publisher | Microsoft.Azure.ServiceFabric | --- | name of the Service Fabric extention publisher |
69-
| clusterEndpont | string | --- | URI:PORT to Management endpoint |
70-
| nodeTypeRef | string | --- | name of nodeType |
71-
| durabilityLevel | bronze, silver, gold, platinum | --- | time allowed to pause immutable Azure Infrastructure |
72-
| enableParallelJobs | true or false | --- | Enable Compute ParallelJobs like remove VM and reboot VM in the same scale set in parallel |
73-
| nicPrefixOverride | string | --- | Subnet Prefix like "10.0.0.0/24" |
74-
| commonNames | string[] | --- | Common Names of installed cluster certificates |
75-
| x509StoreName | string | --- | Name of Store where installed cluster certificate is located |
76-
| typeHandlerVersion | 1.1 | --- | Version of Extension. 1.0 classic version of extension are recommended to upgrade to 1.1 |
77-
| dataPath | string | --- | Path to the drive used to save state for Service Fabric system services and application data.
69+
| name | string | Unique name for extension |
70+
| type | "ServiceFabricLinuxNode" or "ServiceFabricWindowsNode" | Identifies OS Service Fabric is bootstrapping to |
71+
| autoUpgradeMinorVersion | true or false | Enable Auto Upgrade of SF Runtime Minor Versions |
72+
| publisher | Microsoft.Azure.ServiceFabric | Name of the Service Fabric extention publisher |
73+
| clusterEndpont | string | URI:PORT to Management endpoint |
74+
| nodeTypeRef | string | Name of nodeType |
75+
| durabilityLevel | bronze, silver, gold, platinum | Time allowed to pause immutable Azure Infrastructure |
76+
| enableParallelJobs | true or false | Enable Compute ParallelJobs like remove VM and reboot VM in the same scale set in parallel |
77+
| nicPrefixOverride | string | Subnet Prefix like "10.0.0.0/24" |
78+
| commonNames | string[] | Common Names of installed cluster certificates |
79+
| x509StoreName | string | Name of Store where installed cluster certificate is located |
80+
| typeHandlerVersion | 1.1 | Version of Extension. 1.0 classic version of extension are recommended to upgrade to 1.1 |
81+
| dataPath | string | Path to the drive used to save state for Service Fabric system services and application data.
7882

7983
## Next steps
84+
8085
* See the [overview of the "Deploy anywhere" feature and a comparison with Azure-managed clusters](service-fabric-deploy-anywhere.md).
8186
* Learn about [cluster security](service-fabric-cluster-security.md).
8287
* [Remote connect](service-fabric-cluster-remote-connect-to-azure-cluster-node.md) to a specific scale set instance

0 commit comments

Comments
 (0)