Path for data.sdf keeps reverting to C: drive on cluster
jhboricua
Posts: 41
I'm seeing a disturbing behavior in several of our 64-bit Server 2003 SQL clusters where the value of the key "DataPath" on:
HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate\SQL Backup\BackupSettingsGlobal\(LOCAL)
keeps getting changed to:
C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Data\(LOCAL)
instead of the path in the cluster shared drive we specified during the install.
I've gone to the registry on all the nodes and changed the value back to the path on cluster shared drive but eventually it reverts back. It seems to be happening during our monthly windows patching weekend cycle when the nodes are rebooted.
Interestingly enough the value for the 'LogFolder' key on the same registry location stays on the cluster shared drive. It's only the 'DataPath' value that keeps reverting to the C: volume.
Any ideas on whats going on here?
SQL Backup release on all of our SQL clusters is 6.4.0.56 with patch 6.4.0.1028.
HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate\SQL Backup\BackupSettingsGlobal\(LOCAL)
keeps getting changed to:
C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Data\(LOCAL)
instead of the path in the cluster shared drive we specified during the install.
I've gone to the registry on all the nodes and changed the value back to the path on cluster shared drive but eventually it reverts back. It seems to be happening during our monthly windows patching weekend cycle when the nodes are rebooted.
Interestingly enough the value for the 'LogFolder' key on the same registry location stays on the cluster shared drive. It's only the 'DataPath' value that keeps reverting to the C: volume.
Any ideas on whats going on here?
SQL Backup release on all of our SQL clusters is 6.4.0.56 with patch 6.4.0.1028.
Comments
The 'DataPath' value is a critical value, in that SQL Backup uses it when it starts up. When no value exists, it creates a 'DataPath' value using the default location. If a value exists, but the directory is non-existent (or not accessible), it also creates a 'DataPath' value using the default location.
The 'LogFolder' key isn't as critical, as it's only used when a backup/restore process completes, and not when the service starts up.
We could try putting a 15 second delay during the startup process for clustered configurations, to test if it addresses the issue. Would you be willing to try that?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I can start the sqlbackup resource on the cluster, but doing any backups fails with the error unable to initialise data store etc..
I then copied the old data.sdf to the path requested (eg C:...) and this has rectified the backup problem. I have also tried changing the registry to for the data path to the correct path on the shared storage, but this keeps getting reset back to C:\....
clearly this is going to be a problem when I fail the instance over to another node which doesnt have the data.sdf local to C
ideas???
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
havent been able to fail the instance over as this is a live prod box.
I'm not declaring victory yet though. I've since since made this change on all our production clustered SQL instances but won't know for sure this will fix the problem until our next patch cycle next week.
I will update this thread with the results.
So it looks like adding the shared volume where the files reside as a dependency of the SQL Backup Agent cluster resource was the fix, since the SQL Backup Agent cluster resource won't go online until the shared volume does.
I will keep my eyes on this next month but I think this problem is resolved.