mmbackup questions
I have been looking to give mmbackup another go (a very long history with it being a pile of steaming dinosaur droppings last time I tried, but that was seven years ago). Anyway having done a backup last night I am curious about something that does not appear to be explained in the documentation. Basically the output has a line like the following Total number of objects inspected: 474630 What is this number? Is it the number of files that have changed since the last backup or something else as it is not the number of files on the file system by any stretch of the imagination. One would hope that it inspected everything on the file system... Also it appears that the shadow database is held on the GPFS file system that is being backed up. Is there any way to change the location of that? I am only using one node for backup (because I am cheap and don't like paying for more PVU's than I need to) and would like to hold it on the node doing the backup where I can put it on SSD. Which does to things firstly hopefully goes a lot faster, and secondly reduces the impact on the file system of the backup. Anyway a significant speed up (assuming it worked) was achieved but I note even the ancient Xeon E3113 (dual core 3GHz) was never taxed (load average never went above one) and we didn't touch the swap despite only have 24GB of RAM. Though the 10GbE networking did get busy during the transfer of data to the TSM server bit of the backup but during the "assembly stage" it was all a bit quiet, and the DSS-G server nodes where not busy either. What options are there for tuning things because I feel it should be able to go a lot faster. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Along with what Fred wrote, you can look at the mmbackup doc and also peek into the script and find some options to look at the mmapplypolicy RULEs used, and also capture the mmapplypolicy output which will better show you which files and directories are being examined and so forth. --marc From: "Frederick Stock" <stockf@us.ibm.com> To: gpfsug-discuss@spectrumscale.org Cc: gpfsug-discuss@spectrumscale.org Date: 10/17/2019 08:43 AM Subject: [EXTERNAL] Re: [gpfsug-discuss] mmbackup questions Sent by: gpfsug-discuss-bounces@spectrumscale.org Jonathan the "objects inspected" refers to the number of file system objects that matched the policy rules used for the backup. These rules are influenced by TSM server and client settings, e.g. the dsm.sys file. So not all objects in the file system are actually inspected. As for tuning I think the mmbackup man page is the place to start, and I think it is thorough in its description of the tuning options. You may also want to look at the mmapplypolicy man page since mmbackup invokes it to scan the file system for files that need to be backed up. To my knowledge there are no options to place the shadow database file in another location than the GPFS file system. If the file system has fast storage I see no reason why you could not use a placement policy rule to place the shadow database on that fast storage. However, I think using more than one node for your backups, and adjusting the various threads used by mmbackup will provide you with sufficient performance improvements. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com ----- Original message ----- From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Cc: Subject: [EXTERNAL] [gpfsug-discuss] mmbackup questions Date: Thu, Oct 17, 2019 8:00 AM I have been looking to give mmbackup another go (a very long history with it being a pile of steaming dinosaur droppings last time I tried, but that was seven years ago). Anyway having done a backup last night I am curious about something that does not appear to be explained in the documentation. Basically the output has a line like the following Total number of objects inspected: 474630 What is this number? Is it the number of files that have changed since the last backup or something else as it is not the number of files on the file system by any stretch of the imagination. One would hope that it inspected everything on the file system... Also it appears that the shadow database is held on the GPFS file system that is being backed up. Is there any way to change the location of that? I am only using one node for backup (because I am cheap and don't like paying for more PVU's than I need to) and would like to hold it on the node doing the backup where I can put it on SSD. Which does to things firstly hopefully goes a lot faster, and secondly reduces the impact on the file system of the backup. Anyway a significant speed up (assuming it worked) was achieved but I note even the ancient Xeon E3113 (dual core 3GHz) was never taxed (load average never went above one) and we didn't touch the swap despite only have 24GB of RAM. Though the 10GbE networking did get busy during the transfer of data to the TSM server bit of the backup but during the "assembly stage" it was all a bit quiet, and the DSS-G server nodes where not busy either. What options are there for tuning things because I feel it should be able to go a lot faster. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ 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 https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
On Thu, Oct 17, 2019 at 10:26:45AM +0000, Jonathan Buzzard wrote:
I have been looking to give mmbackup another go (a very long history with it being a pile of steaming dinosaur droppings last time I tried, but that was seven years ago).
Anyway having done a backup last night I am curious about something that does not appear to be explained in the documentation.
Basically the output has a line like the following
Total number of objects inspected: 474630
What is this number? Is it the number of files that have changed since the last backup or something else as it is not the number of files on the file system by any stretch of the imagination. One would hope that it inspected everything on the file system...
I believe this is the number of paths that matched some include rule (or didn't match some exclude rule) for mmbackup. I would assume it would differ from the "total number of objects backed up" line if there were include/exclude rules that mmbackup couldn't process, leaving it to dsmc to decide whether to process.
Also it appears that the shadow database is held on the GPFS file system that is being backed up. Is there any way to change the location of that? I am only using one node for backup (because I am cheap and don't like paying for more PVU's than I need to) and would like to hold it on the node doing the backup where I can put it on SSD. Which does to things firstly hopefully goes a lot faster, and secondly reduces the impact on the file system of the backup.
I haven't tried it, but there is a MMBACKUP_RECORD_ROOT environment variable noted in the mmbackup man path: Specifies an alternative directory name for storing all temporary and permanent records for the backup. The directory name specified must be an existing directory and it cannot contain special characters (for example, a colon, semicolon, blank, tab, or comma). Which seems like it might provide a mechanism to store the shadow database elsewhere. For us, though, we provide storage via a cost center, so we would want our customers to eat the full cost of their excessive file counts.
Anyway a significant speed up (assuming it worked) was achieved but I note even the ancient Xeon E3113 (dual core 3GHz) was never taxed (load average never went above one) and we didn't touch the swap despite only have 24GB of RAM. Though the 10GbE networking did get busy during the transfer of data to the TSM server bit of the backup but during the "assembly stage" it was all a bit quiet, and the DSS-G server nodes where not busy either. What options are there for tuning things because I feel it should be able to go a lot faster.
We have some TSM nodes (corresponding to GPFS filesets) that stress out our mmbackup cluster at the sort step of mmbackup. UNIX sort is not RAM-friendly, as it happens. -- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine
On 17/10/2019 15:26, Skylar Thompson wrote:
On Thu, Oct 17, 2019 at 10:26:45AM +0000, Jonathan Buzzard wrote:
I have been looking to give mmbackup another go (a very long history with it being a pile of steaming dinosaur droppings last time I tried, but that was seven years ago).
Anyway having done a backup last night I am curious about something that does not appear to be explained in the documentation.
Basically the output has a line like the following
Total number of objects inspected: 474630
What is this number? Is it the number of files that have changed since the last backup or something else as it is not the number of files on the file system by any stretch of the imagination. One would hope that it inspected everything on the file system...
I believe this is the number of paths that matched some include rule (or didn't match some exclude rule) for mmbackup. I would assume it would differ from the "total number of objects backed up" line if there were include/exclude rules that mmbackup couldn't process, leaving it to dsmc to decide whether to process.
After digging through dsminstr.log it would appear to be the sum of the combination of new, changed and deleted files that mmbackup is going to process. There is some wierd sh*t going on though with mmbackup on the face of it, where it sends one file to the TSM server. A line with the total number of files in the file system (aka potential backup candidates) would be nice I think.
Also it appears that the shadow database is held on the GPFS file system that is being backed up. Is there any way to change the location of that? I am only using one node for backup (because I am cheap and don't like paying for more PVU's than I need to) and would like to hold it on the node doing the backup where I can put it on SSD. Which does to things firstly hopefully goes a lot faster, and secondly reduces the impact on the file system of the backup.
I haven't tried it, but there is a MMBACKUP_RECORD_ROOT environment variable noted in the mmbackup man path:
Specifies an alternative directory name for storing all temporary and permanent records for the backup. The directory name specified must be an existing directory and it cannot contain special characters (for example, a colon, semicolon, blank, tab, or comma).
Which seems like it might provide a mechanism to store the shadow database elsewhere. For us, though, we provide storage via a cost center, so we would want our customers to eat the full cost of their excessive file counts.
We have set a file quota of one million for all our users. So far only one users has actually needed it raising. It does however make users come and have a conversation with us about what they are doing. With the one exception they have found ways to do their work without abusing the file system as a database. We don't have a SSD storage pool on the file system so moving it to the backup node for which we can add SSD cheaply (I mean really really cheap these days) is more realistic that adding some SSD for a storage pool to the file system. Once I am a bit more familiar with it I will try changing it to the system disks. It's not SSD at the moment but if it works I can easily justify getting some and replacing the existing drives (it would just be two RAID rebuilds away). Last time it was brought up you could not add extra shelves to an existing DSS-G system, you had to buy a whole new one. This is despite the servers shipping with a full complement of SAS cards and a large box full of 12Gbps SAS cables (well over £1000 worth at list I reckon) that are completely useless. Ok they work and I could use them elsewhere but frankly why ship them if I can't expand!!!
Anyway a significant speed up (assuming it worked) was achieved but I note even the ancient Xeon E3113 (dual core 3GHz) was never taxed (load average never went above one) and we didn't touch the swap despite only have 24GB of RAM. Though the 10GbE networking did get busy during the transfer of data to the TSM server bit of the backup but during the "assembly stage" it was all a bit quiet, and the DSS-G server nodes where not busy either. What options are there for tuning things because I feel it should be able to go a lot faster.
We have some TSM nodes (corresponding to GPFS filesets) that stress out our mmbackup cluster at the sort step of mmbackup. UNIX sort is not RAM-friendly, as it happens.
I have configured more monitoring of the system, and will watch it over the coming days, but nothing was stressed on our system at all as far as I can tell but it was going slower than I had hoped. It was still way faster than a traditional dsmc incr but I was hoping for more though I am not sure why as the backup now takes place well inside my backup window. Perhaps I am being greedy. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Mmbackup uses tsbuhelper internally. This is effectively a diff of the previous and current policy scan. Objects inspected is the count of these files that are changed since the last time and these are the candidates sent to the TSM server. You mention not being able to upgrade a DSS-G, I thought this has been available for sometime as a special bid process. We did something very complicated with ours at one point. I also thought the "no-upgrade" was related to a support position from IBM on creating additional DAs. You can't add new storage to an DA, but believe it's possible and now supported (I think) to add expansion shelves into a new DA. (I think ESS also supports this). Note that you don't necessarily get the same performance of doing this as if you'd purchased a fully stacked system in the first place. For example if you initially had 166 drives as a two expansion system and then add 84 drives in a new expansion, you now have two DAs, one smaller than the other and neither the same as if you'd originally created it with 250 drives... I don't actually have any benchmarks to prove this, but it was my understanding from various discussions over time. There are also now both DSS (and ESS) configs with both spinning and SSD enclosures. I assume these aren't special bid only products anymore. Simon On 17/10/2019, 19:05, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Jonathan Buzzard" <gpfsug-discuss-bounces@spectrumscale.org on behalf of jonathan.buzzard@strath.ac.uk> wrote: On 17/10/2019 15:26, Skylar Thompson wrote: > On Thu, Oct 17, 2019 at 10:26:45AM +0000, Jonathan Buzzard wrote: >> I have been looking to give mmbackup another go (a very long history >> with it being a pile of steaming dinosaur droppings last time I tried, >> but that was seven years ago). >> >> Anyway having done a backup last night I am curious about something >> that does not appear to be explained in the documentation. >> >> Basically the output has a line like the following >> >> Total number of objects inspected: 474630 >> >> What is this number? Is it the number of files that have changed since >> the last backup or something else as it is not the number of files on >> the file system by any stretch of the imagination. One would hope that >> it inspected everything on the file system... > > I believe this is the number of paths that matched some include rule (or > didn't match some exclude rule) for mmbackup. I would assume it would > differ from the "total number of objects backed up" line if there were > include/exclude rules that mmbackup couldn't process, leaving it to dsmc to > decide whether to process. > After digging through dsminstr.log it would appear to be the sum of the combination of new, changed and deleted files that mmbackup is going to process. There is some wierd sh*t going on though with mmbackup on the face of it, where it sends one file to the TSM server. A line with the total number of files in the file system (aka potential backup candidates) would be nice I think. >> Also it appears that the shadow database is held on the GPFS file system >> that is being backed up. Is there any way to change the location of that? >> I am only using one node for backup (because I am cheap and don't like >> paying for more PVU's than I need to) and would like to hold it on the >> node doing the backup where I can put it on SSD. Which does to things >> firstly hopefully goes a lot faster, and secondly reduces the impact on >> the file system of the backup. > > I haven't tried it, but there is a MMBACKUP_RECORD_ROOT environment > variable noted in the mmbackup man path: > > Specifies an alternative directory name for > storing all temporary and permanent records for > the backup. The directory name specified must > be an existing directory and it cannot contain > special characters (for example, a colon, > semicolon, blank, tab, or comma). > > Which seems like it might provide a mechanism to store the shadow database > elsewhere. For us, though, we provide storage via a cost center, so we > would want our customers to eat the full cost of their excessive file counts. > We have set a file quota of one million for all our users. So far only one users has actually needed it raising. It does however make users come and have a conversation with us about what they are doing. With the one exception they have found ways to do their work without abusing the file system as a database. We don't have a SSD storage pool on the file system so moving it to the backup node for which we can add SSD cheaply (I mean really really cheap these days) is more realistic that adding some SSD for a storage pool to the file system. Once I am a bit more familiar with it I will try changing it to the system disks. It's not SSD at the moment but if it works I can easily justify getting some and replacing the existing drives (it would just be two RAID rebuilds away). Last time it was brought up you could not add extra shelves to an existing DSS-G system, you had to buy a whole new one. This is despite the servers shipping with a full complement of SAS cards and a large box full of 12Gbps SAS cables (well over £1000 worth at list I reckon) that are completely useless. Ok they work and I could use them elsewhere but frankly why ship them if I can't expand!!! >> Anyway a significant speed up (assuming it worked) was achieved but I >> note even the ancient Xeon E3113 (dual core 3GHz) was never taxed (load >> average never went above one) and we didn't touch the swap despite only >> have 24GB of RAM. Though the 10GbE networking did get busy during the >> transfer of data to the TSM server bit of the backup but during the >> "assembly stage" it was all a bit quiet, and the DSS-G server nodes where >> not busy either. What options are there for tuning things because I feel >> it should be able to go a lot faster. > > We have some TSM nodes (corresponding to GPFS filesets) that stress out our > mmbackup cluster at the sort step of mmbackup. UNIX sort is not > RAM-friendly, as it happens. > I have configured more monitoring of the system, and will watch it over the coming days, but nothing was stressed on our system at all as far as I can tell but it was going slower than I had hoped. It was still way faster than a traditional dsmc incr but I was hoping for more though I am not sure why as the backup now takes place well inside my backup window. Perhaps I am being greedy. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 17/10/2019 19:37, Simon Thompson wrote:
Mmbackup uses tsbuhelper internally. This is effectively a diff of the previous and current policy scan. Objects inspected is the count of these files that are changed since the last time and these are the candidates sent to the TSM server.
You mention not being able to upgrade a DSS-G, I thought this has been available for sometime as a special bid process. We did something very complicated with ours at one point. I also thought the "no-upgrade" was related to a support position from IBM on creating additional DAs. You can't add new storage to an DA, but believe it's possible and now supported (I think) to add expansion shelves into a new DA. (I think ESS also supports this). Note that you don't necessarily get the same performance of doing this as if you'd purchased a fully stacked system in the first place. For example if you initially had 166 drives as a two expansion system and then add 84 drives in a new expansion, you now have two DAs, one smaller than the other and neither the same as if you'd originally created it with 250 drives... I don't actually have any benchmarks to prove this, but it was my understanding from various discussions over time.
Well it was only the beginning of this year that we asked for a quote for expanding our DSS-G as part of a wider storage upgrade that was to be put to the IT funding committee at the university. I was expecting just to need some more shelves, only to told we need to start again. Like I said if that was the case why ship with all those extra unneeded and unusable SAS cards and SAS cables. At the very least it is not environmentally friendly. Then again the spec that came back had a 2x10Gb LOM, despite the DSS-G documentation being very explicit about needing a 4x1Gb LOM, which is still the case in the 2.4b documentation as of last month. I do note odd numbers of shelves other than one is now supported. That said the tools in at least 2.1 incorrectly states having one shelf is unsupported!!! Presumably they the person writing the tool only tested for even numbers not realizing one while odd was supported. You can also mix shelf types now, but again if I wanted to add some SSD it's a new DSS-G not a couple of D1224 shelves. That also nukes the DA argument for no upgrades I think because you would not be wanting to mix the two in that way.
There are also now both DSS (and ESS) configs with both spinning and SSD enclosures. I assume these aren't special bid only products anymore.
I don't think so, along with odd numbers of shelves they are in general Lenovo literature. They also have a node with NVMe up the front (or more accurately up the back in PCIe slots), the DSS-G100. My take on the DSS-G is that it is a cost effective way to deploy GPFS storage. However there are loads of seemingly arbitrary quirks and limitations, a bit sh*t crazy upgrade procedure and questionable hardware maintenance. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
participants (5)
-
Frederick Stock -
Jonathan Buzzard -
Marc A Kaplan -
Simon Thompson -
Skylar Thompson
