Existing Cluster in Azure

The PowerShell script ExistingCluster_DeployApps.ps1 configures load balancer in an existing Service Fabric cluster in Azure cloud, registers application for Azure Active Directory authentication, configures and deploys SupercondActor Business Platform applications.

Prerequisites

Before you run provided PowerShell scripts make sure your computer meets the software prerequisites outlined below.
Note: Provided instructions and scripts are for Windows platform.

1. Azure PowerShell

Azure PowerShell provides a set of cmdlets that use the Azure Resource Manager model for managing your Azure resources. Read this article which explains the steps to install the Azure PowerShell modules in a Windows environment using PowerShellGet.

2. OpenSSL

To process cluster certificate needed to communicate with the Service Fabric cluster, provided scripts use OpenSSL software developed by the OpenSSL Project.
One of the places where you can download setup package for Windows platform is slproweb.com/products/Win32OpenSSL.html

Script

Parameters

Before you run this script you must update it providing these values:

  • Cluster name
  • Resource Group name
  • Path to the cluster’s certificate ‘.pfx’ file
  • The certificate password

    #!!! REQUIRED PARAMETERS: ======================================================================
    
    # PROVIDE CLUSTER NAME
    $clusterName = ""
    
    # PROVIDE RESOURCE GROUP NAME
    $groupName = ""
    
    # PROVIDE PATH TO THE EXISTING CLUSTER'S CERTIFICATE PFX FILE
    $certPfxFile = ""
    
    # PROVIDE CERTIFICATE PASSWORD
    $certPassword = ""
    
    # End of the parameters section ========================================================