Synopsis On a Citrix PS 4.5 farm qfarm /offline continuously showing a server offline which was already demoted from the farm.
Resolution First we need to remove the server from our datastore. For that just open a command prompt from any of the PS server and execute the below command.
dscheck /full servers /clean
Resolution First we need to remove the server from our datastore. For that just open a command prompt from any of the PS server and execute the below command.
dscheck /full servers /clean
[ Make cure you have full backup of your datastore ]
It removes all the inconsistent Citrix servers from the farm.Then again check the qfarm /offline status. If it's still there then please wait for the LHC polling interval to replicate the datastore changes to LHC. If you want to manually sync the LHC then go to your data collector and recreate the LHC (dsmaint recreatelhc) by setting the registry key value PSRequired to 1. [HKLM\Software\Citrix\Runtime]. Or you can manually refresh the LHC also by executing the dsmaint refreshlhc command.