This message was deleted.
# citrix-vad
s
This message was deleted.
r
The 2nd controller will handle it
a
ok so the reason i ask is last week we had an issue with our vmware environment and 1 of our controllers went down but the desktops registered on that were not usable until that server came back up (or desktop rebooted) so trying to find out what SHOULD happen. Looking at the application logs on one of the VDA's the last registration event happened when the desktop was last booted earlier in the week (so didnt even try to re-register as far as i can tell). wondering what maybe i have not configured right
n
Do you have all of your controllers set via policy?
In the Citrix GMPC extension, you can enable "Enable auto update of Controllers" and list your controllers.
a
we set it in the registry as part of the VDA install actually. could that be part of the issue?
n
If both are listed, probably not. I personally prefer using GPO in case shit changes.
a
yup makes sense.....if we have it already set in the registry from the vda installer, and now set it as a policy i wonder if thats a problem or only if we'd ever change the controller names maybe
n
Our XA guys hardcode that shit in the registry, so I doubt that's the problem.
r
Also if you use this, Make sure they are in the list as well.
n
Make sure you have that Enable auto update of Controllers policy enabled.
a
cool good to know. .....that access this computer setting i'm not sure if we set that on our end or not. i'll have to look into that one
ok so that enable auto update policy we do not set (not configured) ...looks like it defaults to enabled so would we have that set or you saying we need to explicity set that for it to actually work probably
n
If the default is enabled, you should be fine so long as you're not explicitly disabling it in another policy
a
nope definitely not.
it does seem to load balance our desktops evenly across both so that is working right. just does not seem to fail over to the other like it should if one goes down
n
If all else fails, blame your network team...
a
lol thats my group unfortunately 🙂
d
I would look through the event logs on the VDAs to see what controllers it acquired on initial registration. The process, as I understand it from Citrix documentation, is that the Registry, Policy, AD, or MCS method is only for the initial contact from the VDA to a DDC. From there is should get a list of DDCs to register with in the future. There are events in the Event log that show what DDCs are in the environment. Perhaps the DDCs aren't returning the proper list of DDCs? https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/manage-deployment/vda-registration.html
⤴️ 1
m
run
Get-WmiObject -Namespace "Root\Citrix\DesktopInformation" -Class "Citrix_VirtualDesktopInfo" -Property "PersistentDataLocation"
to see what DDCs are in the cache after the auto update
⤴️ 1
a
so at least on one vda that had the issue i looked through the event log and filtered down to just show anything DDC registration related and it did register on the one that went down a few days earlier. and nothing else after so it for whatever reason when it lost contact with that controller it never tried to register again on the 2nd
this is what output i get when i run that on my VDA.
m
oh, I misread what that command is actually doing, @Martin Zugec how do you view whats in the cache in that location when it’s locked down to the System account only?
m
Take a snapshot, change permissions, look at that folder and revert back - you can also impersonate SYSTEM (with psexec or other ways), but this is often fastest method, since manipulation with that folder is unsupported (useful for troubleshooting though)
m
I tried taking ownership and it still won’t let me look in there
m
It was a bit more complicated than that, try using psexec instead (there is a switch to execute under SYSTEM). Use it to laumch cmd.exe and navigate to that folder
r
Psexec should do it.