Now that all the prerequisites are fulfilled, we can finally activate the high availability of the broker service.
To do this, go to the overview of the RDS deployment and right-click "Configure RD Connection Broker for HA" on the RD Connection Broker.
The list of prerequisites (which we have just completed) is displayed.
Click Next.
The wizard will ask you for 3 informations :
For the database connection string, we relied on the one provided by Microsoft :
DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=<DB Name>
In our case, it gives :
DRIVER=SQL Server Native Client 11.0;SERVER=AD;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=RDCB_DB
If you arrive here, it's that almost all the configuration of the prerequisites is good.
Click Configure.
If all goes well, the configuration of high availability will succeed.
If an error occurs, check that :
If all is good, try restarting your servers (including the SQL server).
In the shared folder, you will find 2 new files :
Now, the Broker service of your RDS infrastructure is in High Availability Mode.
To avoid future errors and to be sure that your brokers will be able to manage the database without problems, Microsoft recommends giving them the owner right to the database just created by the wizard.
To do this, return to "Microsoft SQL Server Management Studio" and go to : Security -> Connections.
Right click on the "INFORMATIWEB\RDS_Brokers" connection and click on "Properties".
In "User Mapping", check the "RDCB_DB" box, then check the "db_owner" box at the bottom.
Although the high availability of the broker service is enabled, there is currently only one server that provides service availability.
To add your 2nd RDS server, right-click on "RD Connection Broker" and click : Add RD Connection Broker Server.
The same pre-requisites as before are displayed.
Click Next.
Select your 2nd RDS server and click the middle button.
Note that for the moment, the broker service is not installed on this 2nd server.
Confirm the addition of the server.
The wizard remotely installs the remote service on this 2nd server.
If an error is displayed when adding the 2nd RDS server, make sure that you have assigned the "db_owner" role to your brokers server on the "RDCB_DB" database as explained above.
In the RDS deployment settings, you will find the parameters used.
Windows Server 3/8/2019
Windows Server 4/28/2019
Windows Server 3/16/2019
Windows Server 1/13/2019
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment