Link to home
Start Free TrialLog in
Avatar of bubaibhatta
bubaibhatta

asked on

Data Store corruption issue

HI Everyone,

I am facing a tough issue. Today morning, we started a Citrix Server which was shutdown due to some reason few days back. Once the server started, it's IMA service was not starting. On further check I found mfcom service is going to a starting stage. I did everything possible. But, I could not get that started. I tried to switch on another shutdown server, faced the same issue. I tried another (3rd) server to run "chfarm". It could go out of the farm, but while joining back, I found, it is asking the user name and password of our SQL Datastore instance.Once I put them, in the next stage, it identified the server and database and even on check it passed successfully.

But in the last stage, it does not finally connect to the data store and states username and password mismatch. I tried several times. Finally I tried to use Citrix Administrator u id and password, it accepts the credential. But in the next step it does not come out of the farm. I, then, forcefully taken out the server from the farm from Citrix DSC.

Now when I tried to connect the same server to my old farm again,  it can not start IMA server.

I suspect, Datastore corruption. Our rest of the servers in the farm running fine because ( I Suppose) of the  local host cache. The problem occurs only when we start a shutdown server or reboot a server.

Am I correct in my assumption?
 If yes, what should I do in the next step. We have weekly data store backup. Should I go ahead and Create a new datastore in another SQL server and restore our old backup there? How tough it would be? If I succeed in that, is there an easy way to update dsn file on all the Citrix Server?
SOLUTION
Avatar of basraj
basraj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bubaibhatta
bubaibhatta

ASKER

Hi Basraj,

Here goes answers:

1. Yes, sql uid recently got expired. I changed password to same as the old. I could log on to SQL console with the same id.

2.dsmaint recreatelhc is showing no result on some server and success on some other server.

3.I already tried that several times and no result.

4. I tried the same and no result.

5. What is the impact of this step. Does it change the datastore database? If Yes, what will be impact in case that database goes corrupt? Also, how much time does that take?

6. Already done that, no result.

7. Yes that SQL server is running fine and I could do telnet to 1433

8. I am going to come back with this result.

Thanks
While you get the results, also do a dsmaint config command using the user name and password once, to ensure mf20.dsn still uses the new credentials.
Hi Basraj,

I tried that also. But did not get any result.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi All,

I solve the issue: Finally I remove the server from the farm a re-join with chfarm utility.