Server 2022 Remote Desktop Services High Availability
HTML-код
- Опубликовано: 19 авг 2024
- Configuring Remote Desktop Services 2022 for High Availability - all inclusive guide! Learn to setup SQL availability groups, HA SQL servers, HA Connection Brokers, HA Dual Gateways.
Follow along as we build server 2022 images from evaluation media, installing and configuring failover clusters for file shares, SQL availability groups, configuring highly available FSLogix profile container storage, using LetsEncrypt to automatically renew certificates on the entire environment, automatically! TL:DR I tried to put way too much content in 78 minutes :) Please comment if you have questions and i'll try my best to answer them!
commands used in the video:
DISM /online /Set-Edition:ServerDatacenter /ProductKey: W3GNR-8DDXR-2TFRP-H8P33-DV9BG /AcceptEula
DISM /online /Set-Edition:ServerStandard /ProductKey:YDFWN-MJ9JR-3DYRK-FXXRW-78VHK /AcceptEula
SQL Connection String:
DRIVER=SQL Server Native Client 11.0;SERVER=SQLHA_DB1;MultiSubnetFailover=True;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=DB1
(run.ps1) for scheduled task:
schtasks /run /tn "update certs"
(runcert.bat)
%systemroot%\system32\WindowsPowerShell\V1.0\powershell.exe -executionpolicy bypass -file c:\certupdate.ps1
(certupdate.ps1)
Import-Module RemoteDesktop
set-rdcertificate -role RDPublishing -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDWebAccess -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDWebAccess -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDRedirector -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDGateway -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDGateway -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro1.ad.remoteapp.us' -force
set-rdcertificate -role RDPublishing -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
set-rdcertificate -role RDWebAccess -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
set-rdcertificate -role RDWebAccess -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
set-rdcertificate -role RDRedirector -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
set-rdcertificate -role RDGateway -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
set-rdcertificate -role RDGateway -importpath 'c:\2023cert.pfx' -Connectionbroker 'ra-bro2.ad.remoteapp.us' -force
exit
Connection string for SQL database:
DRIVER=SQL Server Native Client 11.0;SERVER=aglinuxrds;Trusted_Connection=Yes;MultiSubnetFailover=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=RDSHA;
Links to related media:
(Starwind VSAN setup Guide)
www.starwindso...
(RDPHard RUclips Channel)
• Episode 6 - Supersize ...
(AVMA/DISM Information)
learn.microsof...
(FSLOGIX)
learn.microsof...
(RDSGurus - HA Connection Broker - 2012)
www.rdsgurus.c...
(DailySysAdmin - HA RDS Guide)
dailysysadmin....
(DailySysAdmin - Always on SQL Guide)
dailysysadmin....
(Certify the web)
certifytheweb....