Remote access to SF nodes through RDP

How to switch to node in SF-cluster? Since these are just virtual machines, it seems to me that I should be able to RDP in them, even if this is something that I usually would like to avoid.

How can I do the deletion?

+7
azure-service-fabric
source share
3 answers

Same as RDP on any other machine. There is nothing special about the nodes in the SF cluster.

.. unless you make them special! And we kind of did it in Azure, where your cluster is hosted on sets of VM scales. This article about VMSS explains how it works and how you contribute them to RDP.

+2
source share

Adding a few details related to the Fabric to Wenceslas:

The standard work fabric template defines NAT, which maps ports 3389 through 4500 for each RDP VM port. To access the first virtual machine in the scale set, use port 3389, the second virtual machine, port 3390, etc. The host name comes from the name of the cluster, for example. mycluster.eastus.cloudapp.azure.com (same address as SF Explorer).

So, for example, to access the third virtual machine, use the following command:

 mstsc /v:mycluster.eastus.cloudapp.azure.com:3391 
+19
source share

Each Node type defined in the cluster is configured as a separate set of VM scales. This means that Node types can be scaled or downgraded independently and can be made from different VM blocks. Unlike individual virtual machine instances, VM scale dial instances do not get their own virtual IP address, you will need to go through a load balancer to see the RDP port to connect to each Node.

The names of the virtual machine instances will also have a prefix with a name of type Node (for example: Primary_0, Secondary_1), this will help determine which Node you are connecting to. RDP ports are allocated in ascending order of instance of a set of VM scales, usually starting at 3389.

Azure Service Fabric Specification with Explanations for Node Types: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-nodetypes#remote-connect-to-a-vm-scale- set-instance-or-a-cluster-node

+2
source share

All Articles