7.3.0.383 Issue: Refreshing Connection for 20m & counting

Compresses, encrypts, secures and monitors SQL Server backups.

Moderators: JonathanWatts, Chris Auckland, eddie davis, Colin Millerchip, Brian Harris, james.billings, RBA, petey

7.3.0.383 Issue: Refreshing Connection for 20m & counting

Postby PDinCA » Thu Mar 28, 2013 9:45 pm

Just upgraded the SQL Cluster's 7.2.x to 7.3 and am STILL waiting for the only connection defined to the UI to refresh, while actually RDP'd to the primary node.

The server components were installed first, then the UI started, which gave me the updates-ready notification, so downloaded, installed and started the updated UI. Said YES to the Cache Compress that appears compulsory.

I can see jobs, in progress, but the green-spinner just keeps on spinning...

UI is utterly unusable for any Activity Monitoring.

Failing the cluster over/rebooting is not an option.

Actions:
    1. Open the UI.
    2. Click on the Server.
    3. Wait forever.

I closed the UI and restarted it. Same issue.

D.O.A. can we say?

Windows Server 2008 R2 Enterprise SP1 Build 7601.
SQL Server 2012 Enterprise CU5.

===== TWO UPDATES=====

1. UI also fails for the same server from my laptop - Windows-8 Pro.

2. Trust you received the {sa} DUMP generated by the utter failure of the UI to refresh the Activity tab for the connection?
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Mon Apr 01, 2013 12:21 pm

Hi Stephen,

We've had one or two reports of this in the latest version and I'm not sure the underlying cause has been identified so far. In short, it seems like the local data store is encountering trouble after the cache compress.

You may find it springs into life after some time - how long have you left it?

If it's still not working after being left alone for ages, the quickest way to get things working again is to let it create a fresh file. It'll import history from SQL Server, but you'll lose the more detailed history specific to SQL Backup (such as compression rates etc.)

To do this, stop the SQL Backup service, and then locate the data.sdf file. On a cluster, this is usually installed to a shared folder between the nodes somewhere, and on a single server would be in c:\\programdata\\red gate\\sql backup\\data\\<instance name>. Rename / move the file elsewhere, and then start the service again. A new file should get created, and things should come back to life.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby PDinCA » Mon Apr 01, 2013 7:51 pm

I left it over 20 minutes before posting a bug report. When I returned to the server, a {sa} crash had been trapped and sent to Red Gate.

I don't care about the detailed stats as I'll have a fresh set after the cache is rebuilt and the daily Full backups have run. Thanks for the workaround.

MINOR POTENTIAL PROBLEM: one of the SQL Backup instances is on a cluster and the cluster manage is aware of the service - do NOT want to accidentally fail the beast over :) Any advice?

Can we say NO to the Cache Compress? I have FIVE more machines to upgrade and don't want to have to fudge around on all ten machines, so far...
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Tue Apr 02, 2013 12:01 pm

We're currently investigating this; as soon as I hear more I'll post back. I'm not sure there's a way to skip the compress option (we actually are also adding a couple of extra fields to the data store too, so even trying to trick it by keeping a copy and putting it back afterwards will most likely not work...)
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Re:

Postby RBA » Tue Apr 02, 2013 1:24 pm

PDinCA wrote:Can we say NO to the Cache Compress? I have FIVE more machines to upgrade and don't want to have to fudge around on all ten machines, so far...


Hi,

You can delete the server.dat and {number}.dat files from:
C:\\Users\\USER.NAME\\AppData\\Local\\Red Gate\\SQL Backup\\Server Data (on the workstation, not server) to bypass the cache compact step.

The path mentioned in a previous post is on the machine hosting SQL Server and performance will dramatically improve if you purge it, however I would clear the local cache files at the same time for good measure.

I recall you've had problems in the past with the UI - if you note the size of your .sdf and .dat files before purging them, I'll make sure our test files are at least this large if they're not already.

Thanks,
Robin Anderson
Development
Red-Gate Software
RBA
 
Posts: 148
Joined: Fri Jun 05, 2009 12:13 pm
Location: Cambridge

Postby PDinCA » Tue Apr 02, 2013 6:16 pm

One laptop I'm having issues with is a brand new Dell M6700 running Windows 8 Pro.

The 1.dat is only 12,669 KB.

I don't have a server.dat file.

I have a localDataCache.dat file of 31KB, though.

Do I delete the latter?

On the Server, the 1.dat is 25,548 KB, 2.dat is 30 KB and localDataCache.dat is 30 KB.

Please advise.
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Tue Apr 02, 2013 8:33 pm

The server.dat is located under the "roaming" part of your user-profile rather than local.

I'd start by just removing the numbered .dat file and the localDataCache.dat. If you delete the servers.dat you'll need to re-add your servers into the console.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby PDinCA » Tue Apr 02, 2013 8:40 pm

Thanks, James. Servers.dat is only 3KB, to complete the file size portfolio.
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Tue Apr 02, 2013 8:41 pm

Thanks- that'll be handy for Robin's test cases.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby PDinCA » Tue Apr 02, 2013 8:49 pm

I deleted all the recommended files.

Activity History is at 10 minutes and counting...

I can see the Jobs, no problem.

Next steps, please, as this version is definitely broken...
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Tue Apr 02, 2013 8:52 pm

Is this in relation to the server where you already removed the data.sdf file? If so, I'm not sure what else to try; it may just be slow because it's rebuilding the cache file but if it's sticking once again there's something more underlying going on and we'll need advice from the dev-team on it (you're not the only person seeing this problem, a couple of other users have reported similar)
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby PDinCA » Tue Apr 02, 2013 8:56 pm

Hi James,

I was waiting for advice on the data.sdf file on the SQL Cluster due to the configuration of the SQL Backup Service with respect to the cluster manager.

Apologies for misleading you all, I didn't delete THAT file, just the client files.
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby PDinCA » Tue Apr 02, 2013 9:00 pm

UPDATE:

I didn't delete the data.sdf files on the stand-alone Dev and QA Servers and the Activity History just came up fine, immediately after adding the servers to the new laptop.

Only the CLUSTER Activity History is now a problem.
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Postby james.billings » Tue Apr 02, 2013 9:02 pm

Ah, okay- so, if that file is quite large it'll contain a lot of history which will take some time to repopulate.

If it turns out that one does need removing then I guess the issue is indeed that stopping the service may fail the cluster over as the backup is seen as a cluster resource... on the installation notes here it does seem that we recommend a policy to restart it on the *current* node though, rather than failing over, so you may be OK. The other thing is whether you can temporarily remove / ignore the SQL Backup service from the clustering side of things. I'd test this out myself, but unfortunately I don't have a cluster here to try it on :(
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby PDinCA » Tue Apr 02, 2013 9:12 pm

Cluster's data.sdf is an enormous 148KB ( :wink: )
PDinCA
 
Posts: 517
Joined: Mon Jul 25, 2005 11:42 pm
Location: Costa Mesa, CA, USA

Next

Return to SQL Backup 7

Who is online

Users browsing this forum: No registered users and 0 guests