[Service Fabric] Azure Service Fabric with Azure Diagnostics and Nlog log retrieval

I was recently working with a customer where we were migrating some of their Azure Cloud Services over to Azure Service Fabric. Within their current Cloud Services, there is a process where NLog will drop a log file to a Local Resource folder. Azure Diagnostics is then used to pick up this log file and…

0

[Service Fabric] Connecting to a remote Azure Service Fabric cluster using PowerShell

If you have struggled with getting the syntax and parameters correct on the Connect-ServiceFabricCluster PowerShell cmdlet like I have, I’ve decided to post the command with associated parameters that I know works every time. This command is typically used to test connectivity from your personal machine to a .X509 secured cluster in Azure. $ClusterName= “<your-full-cluster-name>:19000″…

1

[Service Fabric] The signed in user is not assigned to a role for the application

If you have setup an Azure Service Fabric cluster and secured it using Azure Active directory, you may run in to the same problem I did when I went to deploy an application from Visual Studio 2015. You can refer back to my other post on this if you are not sure how this is…

0

[Service Fabric] Unable to determine whether the application is installed on the cluster or not

  I was working with a customer that was attempting to deploy a simple Service Fabric application from within Visual Studio 2015 to a secure cluster in Azure. The cluster itself was secured via an .X509 certificate stored in Azure Key Vault. There were currently no applications deployed to the Azure cluster. When we opened…

4

[Service Fabric] Default service descriptions must not be modified as part of an upgrade

Recently (Service Fabric SDK v 2.4.145) I had deployed a Service Fabric application to my local cluster from Visual Studio. As part of an upgrade process after I changed something in the Settings.xml file for my service, I was executing the following PowerShell code:   Connect-ServiceFabricCluster localhost:19000   Copy-ServiceFabricApplicationPackage -ApplicationPackagePath ‘.’ ` -ImageStoreConnectionString ‘file:C:\SfDevCluster\Data\ImageStoreShare’ -ApplicationPackagePathInImageStore…

2