RDS CB HA SQL client

Marius Dumitru 1 Reputation point
2020-09-02T13:44:24.74+00:00

hello,
i'm trying to setup ha on a connection broker in rds deployment with windows 2019

i have 2 SQL 2016 servers configured with availability groups;
i created a new database and setup availability group and listener

now, all howto guides found on the internet say to use SQL native client on the connection brokers.
but that seems to be deprecated and it is advised to use micrososft ole db driver.

is this setup supported ? should've work ?

i have tried a lot of connection strings but none of them seems to work and i get the general error:

22184-rdserror.jpg

here is one of them:
Provider=MSOLEDBSQL;Server=tcp:rdscbdbl,1450;MultiSubnetFailover=Yes;Database=RDSCBDB;Trusted_Connection=Yes;Connect Timeout=30;

any help would be much apreciated.
thanks

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,553 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,336 Reputation points
    2020-09-03T02:53:43.167+00:00

    Hi,
    Thanks for posting in our Q&A forum.

    According to the step by step deployment guidance, the Prerequisites listed out following:
    Ensure that all RDCB Servers have the SQL Server Native Client Installed

    I managed to setup RDS CB HA with SQL Server Native Client installed and conducted below command.
    22300-image.png
    Reference link:
    https://nedimmehic.org/2017/05/16/remote-desktop-services-2016-connection-broker-high-availability/
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Moreover, the official guidance also utilize the SQL Server Native Client when configuring the database for the Connection Broker.
    https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-connection-broker-cluster#step-1-configure-the-database-for-the-connection-broker

    -----Please "Accept as answer" if the reply is helpful-----
    Thanks,
    Jenny

    1 person found this answer helpful.
    0 comments No comments

  2. Marius Dumitru 1 Reputation point
    2020-09-03T10:09:41.997+00:00

    hello,
    thanks for taking the time to give a detailed answer.

    from what i understand, i should use SQL naive client even though it is deprecated and not ole db driver ?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.