Quantcast
Channel: Forum Remote Desktop Services (Terminal Services)
Viewing all articles
Browse latest Browse all 27650

RDS Database Connection String Change

$
0
0

I was wondering if it was possible to change the database connection string for a Server 2012 HA Broker setup. It is currently pointing to one SQL server in an HA SQL cluster but it needs to be changed to point to the cluster object.  The current string is as follows.

DRIVER=SQL Server Native Client 11.0;SERVER=SQL1.contoso.com;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=PHRDS

and needs to be...

DRIVER=SQL Server Native Client 11.0;SERVER=SQLCLUSTER.contoso.com;MultiSubnetFailover=True;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=PHRDS

I use set-RDConnectionBrokerHighAvailability and get the following error.....

> Set-RDConnectionBrokerHighAvailability -connectionbroker "BROKER1.contoso.com" -DatabaseConnectionString "DRIVER=SQL Server Native Client 11.0;SERVER=SQLCLUSTER.contoso.com;MultiSubnetFailover=True;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RDS" -DatabaseFilePath "E:\SQL_data\RDS.mdf" -ClientAccessName "clientrds.contoso.COM"

Set-RDConnectionBrokerHighAvailability : The RD Connection Broker server is configured for high availability.
At line:1 char:1
+ Set-RDConnectionBrokerHighAvailability -connectionbroker "BROKER1.contoso.c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-RDConnectionBrokerHighAvailability



Viewing all articles
Browse latest Browse all 27650

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>