azure-service-fabric

Service Fabric Resource balancer uses stale Reported load

我是研究僧i 提交于 2019-12-03 16:16:34
While looking into the resource balancer and dynamic load metrics on Service Fabric, we ran into some questions (Running devbox SDK GA 2.0.135). In the Service Fabric Explorer (the portal and the standalone application) we can see that the balancing is ran very often, most of the time it is done almost instantly and this happens every second. While looking at the Load Metric Information on the nodes or partitions it is not updating the values as we report load. We send a dynamic load report based on our interaction (a HTTP request to a service), increasing the reported load data of a single

Can I customize azure service fabric vm nodes?

大兔子大兔子 提交于 2019-12-03 15:00:22
I would like to leverage reliable actor model in the azure service fabric. Our actor model computation requires specific software installed on the vm node. Can I have custom software installed (on top of the azure service fabric software) in the vm nodes so that I can leverage this software in the actor model computation? As part of the my actor model deployment into azure service fabric, can I author this custom software installation into it? Is this how it should be done? Or are there any other ways? Or is it even possible? Raghu/.. You have multiple options: Install the software manually on

How to measure resource usage on partitionlevel in Service Fabric?

不羁的心 提交于 2019-12-03 14:15:24
问题 With Service Fabric we get the tools to create custom metrics and capacities. This way we can all make our own resource models that the resource balancer uses to execute on runtime. I would like to monitor and use physical resources such as: memory, cpu and disk usage. This works fine as long as we keep using the default load. But Load is not static for a service/actor, so I would like to use the built-in Dynamic load reporting. This is where I run into a problem, ReportLoad works on the

Keep application old version running side-by-side with the newer version in Azure Service Fabric

允我心安 提交于 2019-12-03 13:55:50
问题 I need to keep several versions of a application running at the same time on Service Fabric. 1.0 1.1 .... Instead of updating and replacing versions, I need to keep them online together. Is it possible? Thanks! 回答1: As Matt Thalman said, is possible to have different versions of same app running in the Service Fabric cluster. I've tested with the sample app WordCount(http://aka.ms/servicefabric-wordcountapp). To see more details how download the app and deploy it, see https://azure.microsoft

Azure Application Gateway with Service Fabric

被刻印的时光 ゝ 提交于 2019-12-03 10:29:46
Currently I have a Service Fabric cluster with 2 stateless services hosting Asp Web APIs. While creating the cluster also appropriate Azure Load Balancers got created. Now I would like to add Application Gateway in front of my cluster for various reasons like SSL offloading, url-routing etc. I'd like to understand how to configure the Application Gateway correctly. I see 2 options, not sure which one is valid: Application Gateway replaces the existing Load Balancer and points directly to SF services hosting WebApi I keep existing LB configuration and Application Gateway points to this LB

Remote into SF nodes via RDP

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 09:30:13
问题 How does one go about remoting into a node in a SF cluster? Since these are just VMs it feels like I should be able to RDP into them, even if that is something I would normally like to avoid. How would I go about remoting in? 回答1: Adding a few Service Fabric-specific details to Vaclav's answer: The standard Service Fabric template defines a NAT that maps ports 3389 through 4500 to each VM's RDP port. To access the first VM in the scale set, use port 3389, the second VM, port 3390, etc. The

Running Service Fabric on non-Azure clouds

橙三吉。 提交于 2019-12-03 09:04:57
问题 I have just started exploring Azure Service Fabric & I'm finding the concepts involved a little overwhelming Consider these 2 statements - "Service Fabric is agnostic to the underlying hosting provider. You can run it in Azure, you can run it on AWS, you can run it on 5 laptops - it doesn't matter." "Azure Service Fabric for Windows Server..can be used to..provision Service Fabric clusters in their own datacenters or other cloud providers, and run production workloads"...any Windows Server

Service Fabric Actor or Service Becomes Inaccessible at Random after Upgrading to SDK 2.3.301

﹥>﹥吖頭↗ 提交于 2019-12-03 09:04:08
问题 After upgrading from Service Fabric SDK 2.0.135 to 2.3.301, we have started encountering situations where a Service Fabric actor or service is inaccessible in spite of showing as healthy in Service Fabric Explorer. Once in this state, any call to the actor or service via the ActorProxy or ServiceProxy will hang for 5 minutes before finally giving a TimeoutException. Once in this state, the actor or service never recovers on its own – even if left for an hour. The only solution is to reset the

How can I specify where my local developer's service fabric cluster is created?

百般思念 提交于 2019-12-03 08:40:29
问题 My problem: I am learning Service Fabric, and doing simple tutorials, and the local cluster is filling up my C drive. I run the projects in Visual Studio. It first creates a cluster in a folder SfDevCluster. That takes up 842 MB of space. Then it deploys the services and web api sites. Remember, these are trivial tutorials with almost nothing in them. Now, I notice that I have a folder with a Size = 1.22 TB and Size on Disk of 9.4 GB. I'm not sure how to interpret that. But it consumes the

Service Fabric SetupEntryPoint

坚强是说给别人听的谎言 提交于 2019-12-03 08:32:51
I have a Guest Executable that needs to access a shared drive (Azure Files). My guest executable is setup in of the ServiceManifest.xml. I've tried adding a to launch a "mysetup.bat" file that has the NET USE command that setups up the connection with my Azure Files share. However, I'm getting the following vague errors: Error event: SourceId='System.Hosting', Property='CodePackageActivation:Code:SetupEntryPoint'. There was an error during CodePackage activation.The service host terminated with exit code:1 Anybody tried this before? Or at least any tips on how to get more information than the