This message was deleted.
# citrix-cloud
s
This message was deleted.
r
So basically because they are not registering with in the time that is the default ( I thought it was 20 minutes by default). I can’t recall if memory what that is. The broker is shutting them down right?
Actually, it's 2 minutes based on a quick research.
j
Check out the SettlementPeriodBeforeUse flag on the desktop group as an alternative approach
m
@James Kindon
SettlementPeriodBeforeUse
only seems to work, after the registration, if I read that correctly? My problem is, its getting turned off before the registration.
SettlementPeriodBeforeUse
Idle period before a machine can be selected to host a new session after registration or the end of a previous session. This is typically used to allow a machine to become idle following processing associated with start-up or logoff actions. A machine may still be selected during the idle period if no other machine is available for immediate use.
ohhhhh
Now I understand. You want to remove the BIS-F delay on the registration, and use that value instead, so WEM can do it's work, but no users are allowed on the machine.
j
That won't be reliable because even with SettlementPeriodBeforeUse "A machine may still be selected during the idle period if no other machine is available for immediate use."
m
A machine may still be selected during the idle period if no other machine is available for immediate use.
But this might still not work. As this is a small environment with 4 prod and 1 test machine, I do understand that the test machine would still accept user sessions, even if I set that
SettlementPeriodBeforeUse
value, because it's the only machine, what do the others think?
@Jeremy SaundersWell I guess we thought the same.
j
lol. snap.
m
So I guess I just put the FSLogix registry values into the master, and delete the VDA registration delay.
👍 1
j
I've never used Auto Scale. I'm surprised you can't change the timeouts for it for this use case.
m
But that only solves the problem partly. I still would like to use that BIS-F VDA Registration delay, so I could let WEM finish its work, before the first user session.
@Ray Davis This Article is not for DaaS, isn't it?
r
Towards the bottom it should say Citrix Cloud or I though it did.
Well, it's classifies it as a general terminology. "Cloud Base"
m
Here is another CTX article, I'm not sure if that might be the solution: https://support.citrix.com/article/CTX237815/
j
Looks like someone else has a similar issue. Not resolved in this thread: https://www.reddit.com/r/Citrix/comments/zbcel0/autoscale_on_daas_not_working_due_to_spin_up_time/
r
I love WEM, but when I deployed FSLogix from it, I had similar issues with the settings not applying right away from the GPO side that pertained to FSLogix. WEM has a regkey (SyncForegroundPolicy) that I used that allowed it to wait some. But then I was slower logins. I moved it back to native GPO for the Profile side. Computer GPOs are just as quick in my experince than WEM Computer GPO settings. The area I was talking about is here. https://docs.citrix.com/en-us/workspace-environment-management/current-release/install-and-configure/agent-host.html#system-settings
m
Currently testing the Maxspinup metadata setting
r
I know this does not address the AutoScale situation, but figured I share it vs bakeing it in the image.
m
Mh, worked on the first try 🤔
r
What worked extacly?
m
r
hmm interesting
m
I set that to 600 seconds in the Azure hypervisor connection, then launched the VM, this time it registered after the BIS-F delay, and didn't turn off. But one test is null test, so I will do more tests tomorrow.
It's late here and folks are waiting for me to play MTG.
Thank you everybody! I will report back tomorrow!
👍 1
@Jeremy Saunders I also answered that reddit guy!
👍 1
j
Nice @Marco Hofmann. I think there's a blog in that 🙂
m
@Ray Davis So the Shutdown problem seems to be solved, but the original issue isn't solved :-/ BTW this is an AzureAD only environment, so no classic GPO available. Only WEM und PowerShell/Packer. I did some troubleshooting this morning, but regardless of what I try, all WEM GPO settings, only get applied, through the very first Citrix login. I waited 30 minutes, nothing. I executed
.\AgentCacheUtility.exe -RefreshCache -Reinitialize
, nothing. So despite missing my FSLogix settings, that should come through WEM, I'm just found out I also miss all other values, until somebody logs in! So I could fix my FSLogix problem, by adding all the registry settings, into the PowerShell setup script. Annyoing, but solves the issue. But still, all my other WEM GPO objects would still be missing, until somebody logs in. Any ideas @James Kindon @Anthony Shi?
s
I observed that new WEM agents were not always correctly registered. On WEM console you get the error "Agent (Agent name) is not bound to any configuration set". Usually a restart of the VDA solve this issue but the first users got a very bad experience.
j
I haven't done anything with Azure AD stuff with WEM - are you deleting the cache on your master image prior to provisioning? That could be potentially problematic?
m
Hi! I wanted to give feedback on how I solved the issue: 1. The shutdown issue was solved, but didn't solve the initial issue. 2. I reverted those changes. So BIS-F doesn't delay the VDA registration anymore. 3. Therefore the fix to the hypervisor connection via CTX237815 wasn't necessary anymore. 4. As I said above, WEM agent did only push those HKLM settings during the first user logon, regardless of how long I waited. 5. Through some search here in Slack, I stumbled upon:
SyncForegroundPolicy
6. This led me to: https://docs.citrix.com/en-us/workspace-environment-management/current-release/install-and-configure/agent-host.html#good-to-know 7. Which made me change my install string to:
$UnattendedArgs = '/quiet Cloud=1 SyncForegroundPolicy=1'
8. I then created a new DaaS master image via Packer with VDA and WEM agent 2308. 9. I wasn't able to replicate the issue since then! 10. Every logon has my FSLogix settings available and lets me load my VHDX correctly.
Thank you all once again for helping me out!
r
Good to know the outcome. This is the 3rd time I have heard of using the SyncForegroundPolicy =1 now. When I used it, I did see the logins delay some. Curious if you spotted that?
m
I did no measurement, so I can't give you objective numbers, only subjective feelings, and I didn't feel a slow down.
r
Okay, cool. Thanks for the update here. Good to see this.
j
Now that is very strange as that key (to the best of my knowledge) was for user policy only. I wonder if they have changed it and not documented… @Anthony Shi might know
r
hmmm interesting. I am wondering myself as well.