ILM and Backup Question
Simon wrote recently in the GPFS UG Blog: "We also got into discussion on backup and ILM, and I think its amazing how everyone does these things in their own slightly different way. I think this might be an interesting area for discussion over on the group mailing list. There's a lot of options and different ways to do things!” Yes, please! I’m *very* interested in what others are doing. We (IU) are currently doing a POC with GHI for DR backups (GHI=GPFS HPSS Integration—we have had HPSS for a very long time), but I’m interested what others are doing with either ILM or other methods to brew their own backup solutions, how much they are backing up and with what regularity, what resources it takes, etc. If you have anything going on at your site that’s relevant, can you please share? Thanks, Kristy Kristy Kallback-Rose Manager, Research Storage Indiana University
Hi! We at Jülich Supercomputing Centre have two ILM managed file systems (GPFS and HSM from TSM). #50 mio files + 10 PB data on tape #30 mio files + 8 PB data on tape For backup we use mmbackup (dsmc) for the user HOME directory (no ILM) #120 mio files => 3 hours get candidate list + x hour backup We use also mmbackup for the ILM managed filesystem. Policy: the file must be backed up first before migrated to tape 2-3 hour for candidate list + x hours/days/weeks backups (!!!) -> a metadata change (e.g. renaming a directory by the user) enforces a new backup of the files which causes a very expensive tape inline copy! Greetings from Jülich, Germany Stephan On 10/26/15 03:38, Kallback-Rose, Kristy A wrote: Simon wrote recently in the GPFS UG Blog: "We also got into discussion on backup and ILM, and I think its amazing how everyone does these things in their own slightly different way. I think this might be an interesting area for discussion over on the group mailing list. There's a lot of options and different ways to do things!” Yes, please! I’m *very* interested in what others are doing. We (IU) are currently doing a POC with GHI for DR backups (GHI=GPFS HPSS Integration—we have had HPSS for a very long time), but I’m interested what others are doing with either ILM or other methods to brew their own backup solutions, how much they are backing up and with what regularity, what resources it takes, etc. If you have anything going on at your site that’s relevant, can you please share? Thanks, Kristy Kristy Kallback-Rose Manager, Research Storage Indiana University _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
From: Stephan Graf <st.graf@fz-juelich.de>
For backup we use mmbackup (dsmc) for the user HOME directory (no ILM) #120 mio files => 3 hours get candidate list + x hour backup
That seems rather slow. What version of GPFS are you running? How many nodes are you using? Are you using a "-g global shared directory"? The original mmapplypolicy code was targeted to a single node, so by default it still runs on a single node and you have to specify -N to run it in parallel. When you run multi-node there is a "-g" option that defines a global shared directory that must be visible to all nodes specified in the -N list. Using "-g" with "-N" enables a scale-out parallel algorithm that substantially reduces the time for candidate selection. -Wayne
We are running the mmbackup on an AIX system oslevel -s 6100-07-10-1415 Current GPFS build: "4.1.0.8 ". So we only use one node for the policy run. Stephan On 10/26/15 22:12, Wayne Sawdon wrote:
From: Stephan Graf <st.graf@fz-juelich.de><mailto:st.graf@fz-juelich.de>
For backup we use mmbackup (dsmc) for the user HOME directory (no ILM) #120 mio files => 3 hours get candidate list + x hour backup
That seems rather slow. What version of GPFS are you running? How many nodes are you using? Are you using a "-g global shared directory"? The original mmapplypolicy code was targeted to a single node, so by default it still runs on a single node and you have to specify -N to run it in parallel. When you run multi-node there is a "-g" option that defines a global shared directory that must be visible to all nodes specified in the -N list. Using "-g" with "-N" enables a scale-out parallel algorithm that substantially reduces the time for candidate selection. -Wayne _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
Hi Wayne! We are using -g, and we only want to run it on one node, so we don't use the -N option. Stephan On 10/27/15 16:25, Wayne Sawdon wrote:
From: Stephan Graf <st.graf@fz-juelich.de><mailto:st.graf@fz-juelich.de>
We are running the mmbackup on an AIX system oslevel -s 6100-07-10-1415 Current GPFS build: "4.1.0.8 ".
So we only use one node for the policy run.
Even on one node you should see a speedup using -g and -N. -Wayne _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
You have to use both options even if -N is only the local node. Sorry, -Wayne From: Stephan Graf <st.graf@fz-juelich.de> To: <gpfsug-discuss@spectrumscale.org> Date: 10/28/2015 01:06 AM Subject: Re: [gpfsug-discuss] ILM and Backup Question Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi Wayne! We are using -g, and we only want to run it on one node, so we don't use the -N option. Stephan On 10/27/15 16:25, Wayne Sawdon wrote: > From: Stephan Graf <st.graf@fz-juelich.de> > We are running the mmbackup on an AIX system > oslevel -s > 6100-07-10-1415 > Current GPFS build: "4.1.0.8 ". > > So we only use one node for the policy run. > Even on one node you should see a speedup using -g and -N. -Wayne _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
IF you see one or more status messages like this: [I] %2$s Parallel-piped sort and policy evaluation. %1$llu files scanned. %3$s Then you are getting the (potentially) fastest version of the GPFS inode and policy scanning algorithm. You may also want to adjust the -a and -A options of the mmapplypolicy command, as mentioned in the command documentation. Oh I see the documentation for -A is wrong in many versions of the manual. There is an attempt to automagically estimate the proper number of buckets, based on the inodes allocated count. If you want to investigate performance more I recommend you use our debug option -d 7 or set environment variable MM_POLICY_DEBUG_BITS=7 - this will show you how the work is divided among the nodes and threads. --marc of GPFS
Hi Wayne. Just to come back to the mmbackup performance. Here the way we call it and the performance results: MTHREADS=1 QOPT="" # we check the lust run and set this to '-q' if required' /usr/lpp/mmfs/bin/mmbackup /$FS -S $SNAPFILE -g /work/root/mmbackup -a 4 $QOPT -m $MTHREADS -B 1000 -N justt sms04c1 --noquote --tsm-servers home -v -------------------------------------------------------- mmbackup: Backup of /homeb begins at Mon Nov 9 00:03:30 MEZ 2015. -------------------------------------------------------- ... Mon Nov 9 00:03:35 2015 mmbackup:Scanning file system homeb Mon Nov 9 03:07:17 2015 mmbackup:File system scan of homeb is complete. Mon Nov 9 03:07:17 2015 mmbackup:Calculating backup and expire lists for server home Mon Nov 9 03:07:17 2015 mmbackup:Determining file system changes for homeb [home]. Mon Nov 9 03:44:33 2015 mmbackup:changed=126305, expired=10086, unsupported=0 for server [home] Mon Nov 9 03:44:33 2015 mmbackup:Finished calculating lists [126305 changed, 10086 expired] for server home. Mon Nov 9 03:44:33 2015 mmbackup:Sending files to the TSM server [126305 changed, 10086 expired]. Mon Nov 9 03:44:33 2015 mmbackup:Performing expire operations Mon Nov 9 03:45:32 2015 mmbackup:Completed policy expiry run with 0 policy errors, 0 files failed, 0 severe errors, returning r c=0. Mon Nov 9 03:45:32 2015 mmbackup:Policy for expiry returned 0 Highest TSM error 0 Mon Nov 9 03:45:32 2015 mmbackup:Performing backup operations Mon Nov 9 04:54:29 2015 mmbackup:Completed policy backup run with 0 policy errors, 0 files failed, 0 severe errors, returning r c=0. Mon Nov 9 04:54:29 2015 mmbackup:Policy for backup returned 0 Highest TSM error 0 Total number of objects inspected: 137562 Total number of objects backed up: 127476 Total number of objects updated: 0 Total number of objects rebound: 0 Total number of objects deleted: 0 Total number of objects expired: 10086 Total number of objects failed: 0 Total number of bytes transferred: 427 GB Total number of objects encrypted: 0 Total number of bytes inspected: 459986708656 Total number of bytes transferred: 459989351070 Mon Nov 9 04:54:29 2015 mmbackup:analyzing: results from home. Mon Nov 9 04:54:29 2015 mmbackup:Analyzing audit log file /homeb/mmbackup.audit.homeb.home Mon Nov 9 05:02:46 2015 mmbackup:updating /homeb/.mmbackupShadow.1.home with /homeb/.mmbackupCfg/tmpfile2.mmbackup.homeb Mon Nov 9 05:02:46 2015 mmbackup:Copying updated shadow file to the TSM server Mon Nov 9 05:03:51 2015 mmbackup:Done working with files for TSM Server: home. Mon Nov 9 05:03:51 2015 mmbackup:Completed backup and expire jobs. Mon Nov 9 05:03:51 2015 mmbackup:TSM server home had 0 failures or excluded paths and returned 0. Its shadow database has been updated. Shadow DB state:updated Mon Nov 9 05:03:51 2015 mmbackup:Completed successfully. exit 0 ---------------------------------------------------------- mmbackup: Backup of /homeb completed successfully at Mon Nov 9 05:03:51 MEZ 2015. ---------------------------------------------------------- Stephan On 10/28/15 14:36, Wayne Sawdon wrote:
You have to use both options even if -N is only the local node. Sorry,
-Wayne
Inactive hide details for Stephan Graf ---10/28/2015 01:06:36 AM---Hi Wayne! We are using -g, and we only want to run it on oneStephan Graf ---10/28/2015 01:06:36 AM---Hi Wayne! We are using -g, and we only want to run it on one node, so we don't use the -N option.
From: Stephan Graf <st.graf@fz-juelich.de> To: <gpfsug-discuss@spectrumscale.org> Date: 10/28/2015 01:06 AM Subject: Re: [gpfsug-discuss] ILM and Backup Question Sent by: gpfsug-discuss-bounces@spectrumscale.org
------------------------------------------------------------------------
Hi Wayne!
We are using -g, and we only want to run it on one node, so we don't use the -N option.
Stephan
On 10/27/15 16:25, Wayne Sawdon wrote:
> From: Stephan Graf _<st.graf@fz-juelich.de>_ <mailto:st.graf@fz-juelich.de>
> We are running the mmbackup on an AIX system > oslevel -s > 6100-07-10-1415 > Current GPFS build: "4.1.0.8 ". > > So we only use one node for the policy run. >
Even on one node you should see a speedup using -g and -N.
-Wayne
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org _http://gpfsug.org/mailman/listinfo/gpfsug-discuss_
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
OOPS... mmbackup uses mmapplypolicy. Unfortunately the script "mmapplypolicy" is a little "too smart". When you use the "-N mynode" parameter it sees that you are referring to just the node upon which you are executing and does not pass the -N argument to the underlying tsapolicy command. (Not my idea, just telling you what's there.) So right now, to force the parallelized inode scan on a single node, please just use the tsapolicy command with -N and -g. tsapolicy doesn't do such smart argument checking, it is also missing the nodefile, nodeclass, defaultHelperNodes stuff ... those are some of the "value add" of the mmapplypolicy script. If you're running the parallel version and with message level -L 1 you will see this message: [I] 2015-11-10@15:57:47.871 Parallel-piped sort and policy evaluation. 5 files scanned. Otherwise you will see this message: [I] 2015-11-10@15:49:44.816 Policy evaluation. 5 files scanned. But ... if you're running mmapplypolicy under mmbackup... a little more hacking is required.
We have all of our GPFSmetadata on FlashCache devices (nee Ramsan) and that helps a lot. We also have our data going into monotonically increasing buckets of about 30TB that we call lockers (e.g. locker100, locker101, locker102), with 1 primary active at a time. We have an hourly job that scans the most recent 2 lockers (taked about 45 seconds each) to generate a file list using the ILM 'LIST' policy of all files that have been modified or created in the last hour. That goes to a file that has all of the names which then trickles to a custom backup daemon that has up to 10 threads for rsyncing these over to our HSM server (running GPFS/TSM space management). From there things automatically get backed up and archived. Not all hourlies are necessarily complete (we can't guarantee that nobody is still hanging on to $lockernum-2 for instance), so we have a daily that scans the entire 3PB to find anything created/updated in the last 24 hours and does an rsync on that. There's no harm in duplication of hourlies from the rsync perspective because rsync takes care of that (already exists on destination). The daily job takes about 45 minutes. Needless to say it would be impossible without metadata on a fast flash device. Sent from my android device. -----Original Message----- From: "Kallback-Rose, Kristy A" <kallbac@iu.edu> To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org> Sent: Sun, 25 Oct 2015 22:39 Subject: [gpfsug-discuss] ILM and Backup Question Simon wrote recently in the GPFS UG Blog: "We also got into discussion on backup and ILM, and I think its amazing how everyone does these things in their own slightly different way. I think this might be an interesting area for discussion over on the group mailing list. There's a lot of options and different ways to do things!” Yes, please! I’m *very* interested in what others are doing. We (IU) are currently doing a POC with GHI for DR backups (GHI=GPFS HPSS Integration—we have had HPSS for a very long time), but I’m interested what others are doing with either ILM or other methods to brew their own backup solutions, how much they are backing up and with what regularity, what resources it takes, etc. If you have anything going on at your site that’s relevant, can you please share? Thanks, Kristy Kristy Kallback-Rose Manager, Research Storage Indiana University
Hi Kristy, Yes thanks for picking this up. So we (UoB) have 3 GPFS environments, each with different approaches. 1. OpenStack (GPFS as infrastructure) - we don't back this up at all. Partly this is because we are still in pilot phase, and partly because we also have ~7PB CEPH over 4 sites for this project, and the longer term aim is for us to ensure data sets and important VM images are copied into the CEPH store (and then replicated to at least 1 other site). We have some challenges with this, how should we do this? We're sorta thinging about maybe going down the irods route for this, policy scan the FS maybe, add xattr onto important data, and use that to get irods to send copies into CEPH (somehow). So this would be a bit of a hybrid home-grown solution going on here. Anyone got suggestions about how to approach this? I know IBM are now an irods consortium member, so any magic coming from IBM to integrate GFPS and irods? 2. HPC. We differentiate on our HPC file-system between backed up and non backed up space. Mostly its non backed up, where we encourage users to keep scratch data sets. We provide a small(ish) home directory which is backed up with TSM to tape, and also backup applications and system configs of the system. We use a bunch of jobs to sync some configs into local git which also is stored in the backed up part of the FS, so things like switch configs, icinga config can be backed up sanely. 3. Research Data Storage. This is a large bulk data storage solution. So far its not actually that large (few hundred TB), so we take the traditional TSM back to tape approach (its also sync replicated between data centres). We're already starting to see some possible slowness on this with data ingest and we've only just launched the service. Maybe that is a cause of launching that we suddenly see high data ingest. We are also experimenting with HSM to tape, but other than that we have no other ILM policies - only two tiers of disk, SAS for metadata and NL-SAS for bulk data. I'd like to see a flash tier in there for Metadata, which would free SAS drives and so we might be more into ILM policies. We have some more testing with snapshots to do, and have some questions about recovery of HSM files if the FS is snapshotted. Anyone any experience with this with 4.1 upwards versions of GPFS? Straight TSM backup for us means we can end up with 6 copies of data - once per data centre, backup + offsite backup tape set, HSM pool + offsite copy of HSM pool. (If an HSM tape fails, how do we know what to restore from backup? Hence we make copies of the HSM tapes as well). As our backups run on TSM, it uses the policy engine and mmbackup, so we only backup changes and new files, and never backup twice from the FS. Does anyone know how TSM backups handle XATTRs? This is one of the questions that was raised at meet the devs. Or even other attributes like immutability, as unless you are in complaint mode, its possible for immutable files to be deleted in some cases. In fact this is an interesting topic, it just occurred to me, what happens if your HSM tape fails and it contained immutable files. Would it be possible to recover these files if you don't have a copy of the HSM tape? - can you do a synthetic recreate of the TSM HSM tape from backups? We typically tell users that backups are for DR purposes, but that we'll make efforts to try and restore files subject to resource availability. Is anyone using SOBAR? What is your rationale for this? I can see that at scale, there are lot of benefits to this. But how do you handle users corrupting/deleting files etc? My understanding of SOBAR is that it doesn't give you the same ability to recover versions of files, deletions etc that straight TSM backup does. (this is something I've been meaning to raise for a while here). So what do others do? Do you have similar approaches to not backing up some types of data/areas? Do you use TSM or home-grown solutions? Or even other commercial backup solutions? What are your rationales for making decisions on backup approaches? Has anyone built their own DMAPI type interface for doing these sorts of things? Snapshots only? Do you allow users to restore themselves? If you are using ILM, are you doing it with straight policy, or is TSM playing part of the game? (If people want to comment anonymously on this without committing their company on list, happy to take email to the chair@ address and forward on anonymously to the group). Simon On 26/10/2015, 02:38, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Kallback-Rose, Kristy A" <gpfsug-discuss-bounces@spectrumscale.org on behalf of kallbac@iu.edu> wrote:
Simon wrote recently in the GPFS UG Blog: "We also got into discussion on backup and ILM, and I think its amazing how everyone does these things in their own slightly different way. I think this might be an interesting area for discussion over on the group mailing list. There's a lot of options and different ways to do things!²
Yes, please! I¹m *very* interested in what others are doing.
We (IU) are currently doing a POC with GHI for DR backups (GHI=GPFS HPSS Integration‹we have had HPSS for a very long time), but I¹m interested what others are doing with either ILM or other methods to brew their own backup solutions, how much they are backing up and with what regularity, what resources it takes, etc.
If you have anything going on at your site that¹s relevant, can you please share?
Thanks, Kristy
Kristy Kallback-Rose Manager, Research Storage Indiana University
From: "Simon Thompson (Research Computing - IT Services)"
Does anyone know how TSM backups handle XATTRs?
TSM capture XATTRs and ACLs in an opaque "blob" using gpfs_fgetattrs. Unfortunately, TSM stores the opaque blob with the file data. Changes to the blob require the data to be backed up again.
Or even other attributes like immutability,
Immutable files may be backed up and restored as immutable files. Immutability is restored after the data has been restored.
can you do a synthetic recreate of the TSM HSM tape from backups?
TSM stores data from backups and data from HSM in different pools. A file that is both HSM'ed and backed up will have at least two copies of data off-line. I suspect that losing a tape from the HSM pool will have no effect on the backup pool, but you should verify that with someone from TSM. -Wayne
On Mon, 2015-10-26 at 14:22 -0800, Wayne Sawdon wrote: [SNIP]
can you do a synthetic recreate of the TSM HSM tape from backups?
TSM stores data from backups and data from HSM in different pools. A file that is both HSM'ed and backed up will have at least two copies of data off-line. I suspect that losing a tape from the HSM pool will have no effect on the backup pool, but you should verify that with someone from TSM.
I am pretty sure that you have to restore the files first from backup, and it is a manual process. Least it was for me when a HSM tape went bad in the past. Had to use TSM to generate a list of the files on the HSM tape, and then feed that in to a dsmc restore, before doing a reconcile and removing the tape from the library for destruction. Finally all the files where punted back to tape. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
participants (8)
-
Hughes, Doug -
Jonathan Buzzard -
Kallback-Rose, Kristy A -
makaplan@us.ibm.com -
Marc A Kaplan -
Simon Thompson (Research Computing - IT Services) -
Stephan Graf -
Wayne Sawdon
