Users' XenApp farm consists of several XenApp servers, and Citrix policy is used to perform scheduled reboot at midnight for these XenApp servers. User found that some XenApp servers' logon mode has unexpectedly changed to "Prohibit logons until server restart".
The issue occurs on random XenApp servers after almost every scheduled reboot.
Complete the following steps to avoid such unpredictable reboot timing issues:
1. Separate reboot time of the XenApp server hosted datastore from other member servers. In other words, ensure that the XenApp server hosted datastore reboots at a much earlier time than other member servers.
OR
The behavior is a result of the combination of users' "Reboot logon disable time" setting in Citrix scheduled reboot policy and unpredictable reboot timing between the XenApp server hosting the datastore and other member servers. This issue is easy to reproduce in a simple two XenApp servers farm.
1. Once a XenApp member server completes reboot before XenApp datastore starts up, the IMA service will fail to update the logon mode value "Prohibit logons until server restart" in datastore with the new value "Allow logons and reconnections" due to the temporary non-contactable XenApp datastore.