DSCheck saves the day!
For some time, I was having this underbelly sensation that something was wrong with my Citrix Data Store. You know there is something wrong but you can’t put your finger on it. It all began when checking which servers were using what load evaluators. To my surprise not all the servers were visible. If I would change the load evaluator to something else,my server would suddenly appear in the usage list.
So during a scheduled maintenance window, I asked our DBA guy to backup the Citrix Data store so I could play with DSCheck (v 5.19).
A regular DSCheck already hinted toward some issues with errors like:
Server abcd not found for installation job 5fd5-0038-00002789
I then ran:
dscheck /full installationjobs /clean
Which gave me a whole list of:
Removing installation job info for job 123 from server abcd
After this I checked again with dscheck but there were still installationjobs not being found, so again I entered the command:
dscheck /full installationjobs /clean
After pass 3 or 4, the installation jobs were not giving any errors anymore.
I then checked another Data Store section with the command:
dscheck /full servers
Which reported several errors when verifying the host-id’s:
HostID: <4567> has no corresponding MfServer node entry
I fixed these entries by running the command:
dscheck /full servers /clean
(Press Y twice!)
This will delete the invalid Host-ID’s from the Data Store
Luckily I only had to run this command once.
After the Host-ID’s were fixed, I started checking my CMC and was happy to find ALL my servers being listed in the Load Evaluators Usage report!
These are some other dscheck commands you can use:
dscheck /full folders
dscheck /full groups
The Data Store had been heavily subjected to testing(read: testing automated installations of servers) when the Farm was deployed so that might hint to the corruption of some items in the Data Store
If this post helped you out, help me out keeping this site alive and visit some of my sponsors on the left or right.. Thanks..!
Posted: September 18th, 2008 under SBC.
Comments: none