azure-service-fabric

The PowerShell script failed to execute - ServiceFabric

邮差的信 提交于 2020-01-03 03:11:07
问题 I'm new to Service Fabric, and I have difficulties deploying a Service Fabric project to my local cluster. I keep getting the error: The PowerShell script failed to execute I search for this error, and I read that Visual Studio must be opened as Administrator. I run it as Administrator, so this is not a problem. I run this command in PowerShell Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser but it does not resolve the problem. I keep getting the error with

Service Fabric reverse proxy port configurability

孤者浪人 提交于 2020-01-03 03:04:08
问题 I'm trying to write an encapsulation to get the uri for a local reverse proxy for service fabric and I'm having a hard time deciding how I want to approach configurability for the port (known as "HttpApplicationGatewayEndpoint" in the service manifest or "reverseProxyEndpointPort" in the arm template). The best way I've thought to do it would be to call "GetClusterManifestAsync" from the fabric client and parse it from there, but I'm also not a fan of that for a few reasons. For one, the call

Deploying a Guest Executable locally in Azure Service Fabric (Windows 7)

孤人 提交于 2020-01-03 03:01:35
问题 I am trying to deploy a guest executable to a local cluster (Windows 7) but I keep getting errors. The application listens on two endpoints and they are both defined within the ServiceManifest.xml document. I am only starting one instance of my application and Service Fabric constantly tears the one instance down and tries to deploy it on another node over and over again. I created a Service Fabric Cluster in the cloud and I am able to successfully deploy this same executable and hit the

How To migrate windows service in Azure service fabric

心不动则不痛 提交于 2020-01-02 07:36:45
问题 I want to migrate typical windows service which is written in .net to Azure using Service fabric. To implement this , I am creating one service fabric application containing one micro service as guest executable which uses .exe of windows service and deploying application package to service fabric cluster. After deploying service fabric application on cluster I want windows service should install & start automatically on all nodes however at any time application is running on any single node.

Configuration per Service Fabric Instance

只愿长相守 提交于 2020-01-02 06:59:11
问题 I'm designing a service fabric stateless service, which requires configuration data for each instance. My initial thought was creating named partitions, and using PartitionInfo to get the named key, with a shared read only dictionary to load settings per instance. Problem is, now accessing this instance internally (From other services) requires a partition key. Since all partitions using this method will serve the same data internally, it doesn't matter which partition I connect to (I'd want

Configuration per Service Fabric Instance

梦想与她 提交于 2020-01-02 06:59:10
问题 I'm designing a service fabric stateless service, which requires configuration data for each instance. My initial thought was creating named partitions, and using PartitionInfo to get the named key, with a shared read only dictionary to load settings per instance. Problem is, now accessing this instance internally (From other services) requires a partition key. Since all partitions using this method will serve the same data internally, it doesn't matter which partition I connect to (I'd want

What do the EndPoints configure in the ServiceManifest of an Service Fabric Service?

依然范特西╮ 提交于 2020-01-01 19:12:11
问题 We have a Service Fabric Service project with multiple services: Actors, Stateful services and Stateless services combined into one ServiceManifest. Two stateful services did not work: the constructors were called, the communicationlisteners (through remoting) were created, but the RunAsync method was not called. After removing the endpoint listing from the ServiceManifest.xml the services started working again. But now we are left wondering why and how this works. Could someone explain? To

Application insights and service fabric?

谁说我不能喝 提交于 2020-01-01 11:44:06
问题 I found this from several months back on Application Insights and Service Fabric and I'm wondering if there is any new information. I would really like to get CPU, Memory, Storage and other metrics out of service fabric and the reliable actors. Having it presented in a user friendly HUD like app insights provides would be awesome! Thanks! 回答1: On the azure portal, you can now create a resource called 'Service Fabric Analytics' to create a nice dashboard for your cluster. Configure as cluster

Service Fabric: Calls between services are delayed?

感情迁移 提交于 2020-01-01 09:22:08
问题 We are working on a service fabric application made up of several different services, and a key part of the way our application works is that these services need to call each other in high volumes. We have had no problems until recently when we increased the load on our application and found it massively slowed down. After much investigation and timing various things we found that the issue seems to be that when we are making a lot of calls to one type of service (of which we have several