Hey all Is anyone using the SOBAR method of backing up the metadata and NSD configs? If so, how is your experience?
From reading the docs, it seems a bit odd that on restoration you have to re-init the FS and recall all the data. If so, what's the point of SOBAR?
--- Jez Tucker Senior Sysadmin Rushes http://www.rushes.co.uk<http://www.rushes.co.uk/>
On 07/02/13 12:28, Jez Tucker wrote:
Hey all
Is anyone using the SOBAR method of backing up the metadata and NSD configs?
If so, how is your experience?
From reading the docs, it seems a bit odd that on restoration you have to re-init the FS and recall all the data.
If so, what’s the point of SOBAR?
Ooh - this is new. From first glance, it looks to be a DR solution? We're actually in the process of engineering our own DR solution based on a not-dissimilar concept: - build a second GPFS file system off-site, with HSM enabled (called "dr-fs" here) - each night, rsync the changed data from "prod-fs" to "dr-fs" - each day, migrate data from the disk pool in "dr-fs" to the tape pool to free up sufficient capacity for the next night's rsync You have a complete copy of the filesystem metadata from "prod-fs" on "dr-fs", so it looks (to a user) identical, but on "dr-fs" some of the ("older") data is on tape (ratios dependent on sizing of disk vs tape pools, of course). In the event of a disaster, you just flip over to "dr-fs". From the quick glance at SOBAR, it looks to me like the concept is that you don't have a separate file system, but you hold a secondary copy in TSM via the premigrate function, and store the filesystem metadata as a flat file dump backed up "in the normal way". In DR, you rebuild the FS from the metadata backup, and re-attach the HSM pool to this newly-restored filesystem, (and then start pushing the data back out of the HSM pool into the GPFS disk pool). As soon as the HSM pool is re-attached, users can start getting their data (as fast as TSM can give it to them), and the filesystem will look "normal" to them (albeit slow, if recalling from tape). Nice - good to see this kind of thing coming from IBM - restore of huge filesystems from traditional backup really doesn't make much sense nowadays - it'd just take too long. This kind of approach doesn't necessarily accelerate the overall time to restore, but it allows for a usable filesystem to be made available while the restore happens in the background. I'd look for clarity about the state of the filesystem on restore - particularly around what happens to data which arrives after the migration has happened but before the metadata snapshot is taken. I think it'd be lost, but the metadata would still point to it existing? Might get confusing... Just my 2 cents from a quick skim read mind - plus a whole bunch of thinking we've done on this subject recently :) -- -- Dr Orlando Richards Information Services IT Infrastructure Division Unix Section Tel: 0131 650 4994 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On Thu, 2013-02-07 at 12:47 +0000, Orlando Richards wrote: [SNIP]
Nice - good to see this kind of thing coming from IBM - restore of huge filesystems from traditional backup really doesn't make much sense nowadays - it'd just take too long.
Define too long? It's perfectly doable, and the speed of the restore will depend on what resources you have to throw at the problem. The main issue is having lots of tape drives for the restore. Having a plan to buy more ASAP is a good idea. The second is don't let yourself get sidetracked doing "high priority" restores for individuals, it will radically delay the restore. Beyond that you need some way to recreate all your storage pools, filesets, junction points and quotas etc. Looks like the mmbackupconfig and mmrestoreconfig now take care of all that for you. That is a big time saver right there.
This kind of approach doesn't necessarily accelerate the overall time to restore, but it allows for a usable filesystem to be made available while the restore happens in the background.
The problem is that your tape drives will go crazy with HSM activity. So while in theory it is usable it practice it won't be. Worse with the tape drives going crazy with the HSM they won't be available for restore. I would predict much much long times to recovery where recovery is defined as being back to where you where before the disaster occurred.
I'd look for clarity about the state of the filesystem on restore - particularly around what happens to data which arrives after the migration has happened but before the metadata snapshot is taken. I think it'd be lost, but the metadata would still point to it existing?
I would imagine that you just do a standard HSM reconciliation to fix that. Should be really fast with the new policy based reconciliation after you spend several months backing all your HSM'ed files up again :-) JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
On 07/02/13 13:40, Jonathan Buzzard wrote:
On Thu, 2013-02-07 at 12:47 +0000, Orlando Richards wrote:
[SNIP]
Nice - good to see this kind of thing coming from IBM - restore of huge filesystems from traditional backup really doesn't make much sense nowadays - it'd just take too long.
Define too long? It's perfectly doable, and the speed of the restore will depend on what resources you have to throw at the problem. The main issue is having lots of tape drives for the restore.
I can tell you speak from (bitter?) experience :) I've always been "disappointed" with the speed of restores - but I've never tried a "restore everything", which presumably will run quicker. One problem I can see us having is that we have lots of small files, which tends to make everything go really slowly - but getting the thread count up would, I'm sure, help a lot.
Having a plan to buy more ASAP is a good idea. The second is don't let yourself get sidetracked doing "high priority" restores for individuals, it will radically delay the restore.
Quite.
Beyond that you need some way to recreate all your storage pools, filesets, junction points and quotas etc. Looks like the mmbackupconfig and mmrestoreconfig now take care of all that for you. That is a big time saver right there.
This kind of approach doesn't necessarily accelerate the overall time to restore, but it allows for a usable filesystem to be made available while the restore happens in the background.
The problem is that your tape drives will go crazy with HSM activity. So while in theory it is usable it practice it won't be. Worse with the tape drives going crazy with the HSM they won't be available for restore. I would predict much much long times to recovery where recovery is defined as being back to where you where before the disaster occurred.
Yup - I can see that too. I think a large disk pool would help there, along with some kind of logic around "what data is old?" to sensibly place stuff "likely to be accessed" on disk, and the "old" stuff on tape where it can be recalled at a more leisurely pace.
I'd look for clarity about the state of the filesystem on restore - particularly around what happens to data which arrives after the migration has happened but before the metadata snapshot is taken. I think it'd be lost, but the metadata would still point to it existing?
I would imagine that you just do a standard HSM reconciliation to fix that. Should be really fast with the new policy based reconciliation after you spend several months backing all your HSM'ed files up again :-)
Ahh - but once you've got them in TSM, you can just do a storage pool backup, presumably to a third site, and always have lots of copies everywhere! Of course - you still need to keep generational history somewhere... -- -- Dr Orlando Richards Information Services IT Infrastructure Division Unix Section Tel: 0131 650 4994 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On 07/02/13 13:51, Orlando Richards wrote:
On 07/02/13 13:40, Jonathan Buzzard wrote:
On Thu, 2013-02-07 at 12:47 +0000, Orlando Richards wrote:
[SNIP]
Nice - good to see this kind of thing coming from IBM - restore of huge filesystems from traditional backup really doesn't make much sense nowadays - it'd just take too long.
Define too long?
Oh - for us, this is rapidly approaching "anything more than a day, and can you do it faster than that please". Not much appetite for the costs of full replication though. :/ -- -- Dr Orlando Richards Information Services IT Infrastructure Division Unix Section Tel: 0131 650 4994 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On Thu, 2013-02-07 at 13:56 +0000, Orlando Richards wrote:
On 07/02/13 13:51, Orlando Richards wrote:
On 07/02/13 13:40, Jonathan Buzzard wrote:
On Thu, 2013-02-07 at 12:47 +0000, Orlando Richards wrote:
[SNIP]
Nice - good to see this kind of thing coming from IBM - restore of huge filesystems from traditional backup really doesn't make much sense nowadays - it'd just take too long.
Define too long?
I can tell you speak from (bitter?) experience :)
Done two large GPFS restores. The first was to migrate a HSM file system to completely new hardware, new TSM version and new GPFS version. IBM would not warrant an upgrade procedure so we "restored" from tape onto the new hardware and then did rsync's to get it "identical". Big problem was the TSM server hardware at the time (a p630) just gave up the ghost about 5TB into the restore repeatedly. Had do it a user at a time which made it take *much* longer as I was repeatedly going over the same tapes. The second was from bitter experience. Someone else in a moment of complete and utter stupidity wiped some ~30 NSD's of their descriptors. Two file systems an instant and complete loss. Well not strictly true it was several days before it manifested itself when one of the NSD servers was rebooted. A day was then wasted working out what the hell had happened to the file system that could have gone to the restore. Took about three weeks to get back completely. Could have been done a lot lot faster if I had had more tape drives on day one and/or made a better job of getting more in, had not messed about prioritizing restores of particular individuals, and not had capacity issues on the TSM server to boot (it was scheduled for upgrade anyway and a CPU failed mid restore). I think TSM 6.x would have been faster as well as it has faster DB performance, and the restore consisted of some 50 million files in about 30TB and it was the number of files that was the killer for speed. It would be nice in a disaster scenario if TSM would also use the tapes in the copy pools for restore, especially when they are in a different library. Not sure if the automatic failover procedure in 6.3 does that. For large file systems I would seriously consider using virtual mount points in TSM and then collocating the file systems. I would also look to match my virtual mount points to file sets. The basic problem is that most people don't have the spare hardware to even try disaster recovery, and even then you are not going to be doing it under the same pressure, hindsight is always 20/20.
Oh - for us, this is rapidly approaching "anything more than a day, and can you do it faster than that please". Not much appetite for the costs of full replication though.
Remember you can have any two of cheap, fast and reliable. If you want it back in a day or less then that almost certainly requires a full mirror and is going to be expensive. Noting of course if it ain't offline it ain't backed up. See above if some numpty can wipe the NSD descriptors on your file systems then can do it to your replicated file system at the same time. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (3)
-
Jez Tucker -
Jonathan Buzzard -
Orlando Richards
