WVD Host Scaling script issue

%3CLINGO-SUB%20id%3D%22lingo-sub-1101386%22%20slang%3D%22en-US%22%3EWVD%20Host%20Scaling%20script%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101386%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2FGirls%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20been%20implementing%20the%20WVD%20Scaling%20script%20shared%20at%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmaster%2Fwvd-templates%2Fwvd-scaling-script%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmaster%2Fwvd-templates%2Fwvd-scaling-script%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EScript%20executes%20fine%20also%20sees%20the%20hosts%2C%20status%20and%20sessions%2C%20but%20it%20says%20that%20available%20hosts%20is%200%20while%20all%203%20hosts%20are%20available...%20Any%20help%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CU%3EBelow%20the%20output%20of%20the%20WVDTenantScale.log%3A%3C%2FU%3E%3C%2FP%3E%3CP%3E10%2F01%2F2020%2014%3A41%3A32%20-%20%5BInfo%5D%20Starting%20WVD%20Tenant%20Hosts%20Scale%20Optimization%3A%20Current%20Date%20Time%20is%3A%2001%2F10%2F2020%2014%3A41%3A19%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A35%20-%20%5BInfo%5D%20WVDHostPool%20hostpool%20loadbalancer%20type%20is%20BreadthFirst%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A35%20-%20%5BInfo%5D%20It%20is%20in%20peak%20hours%20now%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A35%20-%20%5BInfo%5D%20Peak%20hours%3A%20starting%20session%20hosts%20as%20needed%20based%20on%20current%20workloads.%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A36%20-%20%5BInfo%5D%20Checking%20session%20host%3AWVDHost-0.xxxx.com%3CBR%20%2F%3Eof%20%3CSTRONG%3Esessions%3A9%20and%20status%3AAvailable%3C%2FSTRONG%3E%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A37%20-%20%5BInfo%5D%20Checking%20session%20host%3AWVDHost-1.xxxx.com%3CBR%20%2F%3Eof%20%3CSTRONG%3Esessions%3A8%20and%20status%3AAvailable%3C%2FSTRONG%3E%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A38%20-%20%5BInfo%5D%20Checking%20session%20host%3AWVDHost-2.xxxx.com%3CBR%20%2F%3Eof%20%3CSTRONG%3Esessions%3A6%20and%20status%3AAvailable%3C%2FSTRONG%3E%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A39%20-%20%5BInfo%5D%20%3CSTRONG%3ECurrent%20number%20of%20running%20hosts%3A0%3C%2FSTRONG%3E%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A39%20-%20%5BInfo%5D%20Current%20number%20of%20running%20session%20hosts%20is%20less%20than%20minimum%20requirements%2C%20start%20session%20host%20...%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A42%20-%20%5BInfo%5D%20HostpoolName%3AWVDHostPool%2C%20TotalRunningCores%3A0%20%3CSTRONG%3ENumberOfRunningHost%3A0%3C%2FSTRONG%3E%3CBR%20%2F%3E10%2F01%2F2020%2014%3A41%3A42%20-%20%5BInfo%5D%20End%20WVD%20Tenant%20Scale%20Optimization.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi Guys/Girls,

 

Have been implementing the WVD Scaling script shared at:

https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/wvd-scaling-script

 

Script executes fine also sees the hosts, status and sessions, but it says that available hosts is 0 while all 3 hosts are available... Any help?

Below the output of the WVDTenantScale.log:

10/01/2020 14:41:32 - [Info] Starting WVD Tenant Hosts Scale Optimization: Current Date Time is: 01/10/2020 14:41:19
10/01/2020 14:41:35 - [Info] WVDHostPool hostpool loadbalancer type is BreadthFirst
10/01/2020 14:41:35 - [Info] It is in peak hours now
10/01/2020 14:41:35 - [Info] Peak hours: starting session hosts as needed based on current workloads.
10/01/2020 14:41:36 - [Info] Checking session host:WVDHost-0.xxxx.com
of sessions:9 and status:Available
10/01/2020 14:41:37 - [Info] Checking session host:WVDHost-1.xxxx.com
of sessions:8 and status:Available
10/01/2020 14:41:38 - [Info] Checking session host:WVDHost-2.xxxx.com
of sessions:6 and status:Available
10/01/2020 14:41:39 - [Info] Current number of running hosts:0
10/01/2020 14:41:39 - [Info] Current number of running session hosts is less than minimum requirements, start session host ...
10/01/2020 14:41:42 - [Info] HostpoolName:WVDHostPool, TotalRunningCores:0 NumberOfRunningHost:0
10/01/2020 14:41:42 - [Info] End WVD Tenant Scale Optimization.

0 Replies