Share via


Reconfigure the Windows Azure Pack components to point to the load balancers

 

Applies To: Windows Azure Pack

Reconfigure all Windows Azure Pack components to point to the load balancers that use Windows PowerShell cmdlets.

For each of the following steps, prepend the following environment settings in your cmdlet file.

# Environment settings
$server="sqlservercluster.contoso.com"
$userid="sqladminuser"
$password="yourpassword"
$PortalconnectionString="Data Source=$server;Initial Catalog=Microsoft.MgmtSvc.PortalConfigStore;User Id=$userid;Password=$password"

Reconfigure Windows Azure Pack components to point to load balancers

  1. From either the WAPAdmin01.contoso.com or the WAPAdmin02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $AdminSiteLB = "WAPAdmin.contoso.com"
    $AdminSitePort = "30091"
    Set-MgmtSvcFqdn -Namespace AdminSite -FQDN $AdminSiteLB -ConnectionString $PortalconnectionString -Port $AdminSitePort
    
  2. From either the WAPAdminAuth01.contoso.com or the WAPAdminAuth02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $AuthSiteLB = "WAPAdminAuth.contoso.com"
    $AuthSitePort = "30071"
    Set-MgmtSvcFqdn -Namespace AuthSite -FQDN $AuthSiteLB -ConnectionString $PortalconnectionString -Port $AuthSitePort
    
  3. From either the WAPTenant01.contoso.com or the WAPTenant02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $TenantSiteLB ="WAPTenant.contoso.com"
    $TenantSitePort = "30081"
    Set-MgmtSvcFqdn -Namespace TenantSite -FQDN $TenantSiteLB -ConnectionString $PortalconnectionString -Port $TenantSitePort
    
  4. From either the WAPTenantAuth01.contoso.com or the WAPTenantAuth02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $WinAuthSiteLB ="WAPTenantAuth.contoso.com"
    $WinAuthSitePort = "30072"
    Set-MgmtSvcFqdn -Namespace WindowsAuthSite -FQDN $WinAuthSiteLB -ConnectionString $PortalconnectionString -Port $WinAuthSitePort
    
  5. From either the WAPAdminAPI01.contoso.com or the WAPAdminAPI02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $AdminApiLB ="WAPAdminAPI.contoso.com"
    $AdminApiPort = "30004"
    Set-MgmtSvcFqdn -Namespace AdminAPI -FQDN $AdminApiLB -ConnectionString $PortalconnectionString -Port $AdminApiPort
    
  6. From either the WAPTenantAPI01.contoso.com or the WAPTenantAPI02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $TenantApiLB = "WAPTenantAPI.contoso.com"
    $TenantApiPort = "30005"
    Set-MgmtSvcFqdn -Namespace TenantApi -FQDN $TenantApiLB -ConnectionString $PortalconnectionString -Port $TenantApiPort
    
  7. From either the WAPTenPubAPI01.contoso.com or the WAPTenPubAPI02.contoso.com virtual machine, run the following script. Make sure to prepend the previous environment settings to this script. You must also update the parameters for your specific data.

    $TenantPublicApiLB = "WAPTenPubAPI.contoso.com"
    $TenantPublicApiPort = "30006"
    Set-MgmtSvcFqdn -Namespace TenantPublicApi -FQDN $TenantPublicApiLB -ConnectionString $PortalconnectionString -Port $TenantPublicApiPort