I just recently copied the
RD HA Connection broker SQL database to another SQL server (new hostname) and the drive letter for the DB location changed as well. This is a new standalone SQL server 2012. Old SQL server 2012 is being used for other project and I need to get off
of the old server. I have 2 Connection Broker servers in HA. Per MS, this settings (HA settings - Database connection string: and Folder to store database files:) under deployment properties cannot be modified in GUI. If needed, I can still access the older
server and move the DB to new server after I can make this change. I am able to access the deployment while pointed to the older server. How do I change the SQL server name and the path for the HA settings? Per MS, I should be able to change this using PS.
But....
When I ran the following command:
Set-RDConnectionBrokerHighAvailability -DatabaseConnectionString "DRIVER=SQL Server Native Client 11.0;SERVER=NEWSQL1;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=RDCB" -DatabaseFilePath "D:\Program Files\Microsoft
SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Data\RDCB.mdf" -ClientAccessName "rrdnsname.domain.com"
I get the following error:
Set-RDConnectionBrokerHighAvailability : The RD Connection Broker server is configured for high availability.
At line:1 char:1
+ Set-RDConnectionBrokerHighAvailability -DatabaseConnectionString "DRIVER=SQL Ser ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-RDConnectionBrokerHighAvailability
Thanks