RDServer1 servers as Broker, Host, Gateway, Licensing and Web Access. It has 50 per user license. Everything works fine.
Add a 2nd RD server (RDServer2), everything looks good. Both RD1 and RD2 show up in Server Manager\RDS, and the roles show up correctly RD2 is only RD Session Host, while RD1 is Session host along with everything mentioned above. Both servers show up as under Server Manager\RDS\Servers, and if I run RD Licensing Diagnose on RD1, it shows the correct Per User licenses. But if I run the same diagnose on RD2, it shows 0 number of licenses and Licensing mode: Not configured, with a Problem message of "The licensing mode for the Remote Desktop Session Host server is not configured". However, it does list RD1 as a license server in Summary pane.
I have even tried using Powershell to set RD1 as the licensing server, still didn't work.
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.SetSpecifiedLicenseServerList("License.contoso.com")
Also, make sure RD2 is a member of Terminal Server Computers and RD1 is member of Terminal Server License Servers in AD. Reboot both servers multiple times, uninstall/ reinstall RD host role on RD2 multiple times. Any help is greatly appreciated. Thanks in advance!!
Roget Luo