Hi all, I'd be interested to talk to anyone that is using HSM to move data to tape, (and stubbing the file(s)) specifically any strategies you've employed to figure out how to charge your customers (where you do charge anyway) based on usage. On-list or off is fine with me. Thanks Richard
I work for a partner, but I occasionally have to help customers work on cost justification that includes charge-back (or I encourage them to do show-back to alleviate some political concerns). I’d also like to see what people are doing around this. If I may ask a question, what is the goal for your site? Are you trying to figure out how to charge for the tape space, or to NOT charge the migrated files as resident? Would you (need to) charge for pre-migrated files twice? Are you trying to figure out how to have users pay for recalls? Basically, what costs are you trying to cover? I realize that was not “a” question… :) Also, do you specifically mean TSM HSM, or do you mean GPFS policies and an external storage pool? -- Stephen
On May 3, 2018, at 5:43 AM, Sobey, Richard A <r.sobey@imperial.ac.uk> wrote:
Hi all,
I’d be interested to talk to anyone that is using HSM to move data to tape, (and stubbing the file(s)) specifically any strategies you’ve employed to figure out how to charge your customers (where you do charge anyway) based on usage.
On-list or off is fine with me.
Thanks Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
Stephen, Bryan, Thanks for the input, it’s greatly appreciated. For us we’re trying – as many people are – to drive down the usage of under-the-desk NAS appliances and USB HDDs. We offer space on disk, but you can’t charge for 3TB of storage the same as you would down PC World and many customers don’t understand the difference between what we do, and what a USB disk offers. So, offering tape as a medium to store cold data, but not archive data, is one offering we’re just getting round to discussing. The solution is in place. To answer the specific question: for our customers that adopt HSM, how much less should/could/can we charge them per TB. We know how much a tape costs, but we don’t necessarily have the means (or knowledge?) to say that for a given fileset, 80% of the data is on tape. Then you get into 80% of 1TB is not the same as 80% of 10TB. Richard From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Stephen Ulmer Sent: 03 May 2018 14:03 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Recharging where HSM is used I work for a partner, but I occasionally have to help customers work on cost justification that includes charge-back (or I encourage them to do show-back to alleviate some political concerns). I’d also like to see what people are doing around this. If I may ask a question, what is the goal for your site? Are you trying to figure out how to charge for the tape space, or to NOT charge the migrated files as resident? Would you (need to) charge for pre-migrated files twice? Are you trying to figure out how to have users pay for recalls? Basically, what costs are you trying to cover? I realize that was not “a” question… :) Also, do you specifically mean TSM HSM, or do you mean GPFS policies and an external storage pool? -- Stephen On May 3, 2018, at 5:43 AM, Sobey, Richard A <r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>> wrote: Hi all, I’d be interested to talk to anyone that is using HSM to move data to tape, (and stubbing the file(s)) specifically any strategies you’ve employed to figure out how to charge your customers (where you do charge anyway) based on usage. On-list or off is fine with me. Thanks Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Thu, 2018-05-03 at 15:02 +0000, Sobey, Richard A wrote:
Stephen, Bryan, Thanks for the input, it’s greatly appreciated. For us we’re trying – as many people are – to drive down the usage of under-the-desk NAS appliances and USB HDDs. We offer space on disk, but you can’t charge for 3TB of storage the same as you would down PC World and many customers don’t understand the difference between what we do, and what a USB disk offers. So, offering tape as a medium to store cold data, but not archive data, is one offering we’re just getting round to discussing. The solution is in place. To answer the specific question: for our customers that adopt HSM, how much less should/could/can we charge them per TB. We know how much a tape costs, but we don’t necessarily have the means (or knowledge?) to say that for a given fileset, 80% of the data is on tape. Then you get into 80% of 1TB is not the same as 80% of 10TB.
The test that I have used in the past for if a file is migrated with a high degree of accuracy is if the space allocated on the file system is less than the file size, and equal to the stub size then presume the file is migrated. There is a small chance it could be sparse instead. However this is really rather remote as sparse files are not common in the first place and even less like that the amount of allocated data in the sparse file exactly matches the stub size. It is an easy step to write a policy to list all the UID and FILE_SIZE where KB_ALLOCATED<FILE_SIZE and KB_ALLOCATED=XXX where XXX is the sub size. You can then post process that to get a per user report of the amount of data migrated, and this then becomes the basis for your charging. Depending on how much effort you wish to expend you can use things like Excel::Writer::XLSX or RTF::Writer to produce fancy reports if Perl is your poison. I imagined similar modules exist for Python. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
On Thu, 03 May 2018 16:52:44 +0100, Jonathan Buzzard said:
The test that I have used in the past for if a file is migrated with a high degree of accuracy is
if the space allocated on the file system is less than the file size, and equal to the stub size then presume the file is migrated.
At least for LTFS/EE, we use something like this: define(is_premigrated,(MISC_ATTRIBUTES LIKE '%M%' AND MISC_ATTRIBUTES NOT LIKE '%V%')) define(is_migrated,(MISC_ATTRIBUTES LIKE '%V%')) define(is_resident,(NOT MISC_ATTRIBUTES LIKE '%M%')) RULE 'MIGRATED' LIST 'ltfsee_files' FROM POOL 'system' SHOW('migrated ' || xattr('dmapi.IBMTPS') || ' ' || all_attrs) WHERE is_migrated AND (xattr('dmapi.IBMTPS') LIKE '%:%' ) Not sure if the V and M misc_attributes are the same for other tape backends...
"Not sure if the V and M misc_attributes are the same for other tape backends..." define(is_premigrated,(MISC_ATTRIBUTES LIKE '%M%' AND MISC_ATTRIBUTES NOT LIKE '%V%')) define(is_migrated,(MISC_ATTRIBUTES LIKE '%V%')) define(is_resident,(NOT MISC_ATTRIBUTES LIKE '%M%')) There are good, valid and fairly efficient tests for any files Spectrum Scale system that has a DMAPI based HSM system installed with it. (TSM/HSM, HPSS, LTFS/EE, ...)
define(is_premigrated,(MISC_ATTRIBUTES LIKE '%M%' AND MISC_ATTRIBUTES NOT LIKE '%V%')) define(is_migrated,(MISC_ATTRIBUTES LIKE '%V%')) define(is_resident,(NOT MISC_ATTRIBUTES LIKE '%M%')) THESE are good, valid and fairly efficient tests for any files Spectrum Scale system that has a DMAPI based HSM system installed with it. (TSM/HSM, HPSS, LTFS/EE, ...)
Our charging model for disk storage assumes that a percentage of it is really HSM’d, though in practise we aren’t heavily doing this. My (personal) view on tape really is that anything on tape is FoC, that way people can play games to recall/keep it hot it if they want, but it eats their FoC or paid disk allocations, whereas if they leave it on tape, they benefit in having more total capacity. We currently use the pre-migrate/SOBAR for our DR piece, so we’d already be pre-migrating to tape anyway, so it doesn’t really cost us anything extra to give FoC HSM’d storage. So my suggestion is pitch HSM (or even TCT maybe … if only we could do both) as your DR proposal, and then you can give it to users for free 😊 Simon From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of "Sobey, Richard A" <r.sobey@imperial.ac.uk> Reply-To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: Thursday, 3 May 2018 at 16:03 To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Recharging where HSM is used Stephen, Bryan, Thanks for the input, it’s greatly appreciated. For us we’re trying – as many people are – to drive down the usage of under-the-desk NAS appliances and USB HDDs. We offer space on disk, but you can’t charge for 3TB of storage the same as you would down PC World and many customers don’t understand the difference between what we do, and what a USB disk offers. So, offering tape as a medium to store cold data, but not archive data, is one offering we’re just getting round to discussing. The solution is in place. To answer the specific question: for our customers that adopt HSM, how much less should/could/can we charge them per TB. We know how much a tape costs, but we don’t necessarily have the means (or knowledge?) to say that for a given fileset, 80% of the data is on tape. Then you get into 80% of 1TB is not the same as 80% of 10TB. Richard From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Stephen Ulmer Sent: 03 May 2018 14:03 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Recharging where HSM is used I work for a partner, but I occasionally have to help customers work on cost justification that includes charge-back (or I encourage them to do show-back to alleviate some political concerns). I’d also like to see what people are doing around this. If I may ask a question, what is the goal for your site? Are you trying to figure out how to charge for the tape space, or to NOT charge the migrated files as resident? Would you (need to) charge for pre-migrated files twice? Are you trying to figure out how to have users pay for recalls? Basically, what costs are you trying to cover? I realize that was not “a” question… :) Also, do you specifically mean TSM HSM, or do you mean GPFS policies and an external storage pool? -- Stephen On May 3, 2018, at 5:43 AM, Sobey, Richard A <r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>> wrote: Hi all, I’d be interested to talk to anyone that is using HSM to move data to tape, (and stubbing the file(s)) specifically any strategies you’ve employed to figure out how to charge your customers (where you do charge anyway) based on usage. On-list or off is fine with me. Thanks Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Since I'm pretty proud of my awk one-liner, and maybe it's useful for this kind of charging, here's how to sum up how much data each user has in the filesystem (without regards to if the data blocks are offline, online, replicated or compressed): # cat full-file-list.policy RULE EXTERNAL LIST 'files' EXEC '' RULE LIST 'files' SHOW( VARCHAR(USER_ID) || ' ' || VARCHAR(GROUP_ID) || ' ' || VARCHAR(FILESET_NAME) || ' ' || VARCHAR(FILE_SIZE) || ' ' || VARCHAR(KB_ALLOCATED) ) # mmapplypolicy gpfs0 -P /gpfs/gpfsmgt/etc/full-file-list.policy -I defer -f /tmp/full-file-list # awk '{a[$4] += $7} END{ print "# UID\t Bytes" ; for (i in a) print i, "\t", a[i]}' /tmp/full-file-list.list.files Takes ~15 minutes to run on a 60 million file filesystem. -jf On Thu, May 3, 2018 at 11:43 AM, Sobey, Richard A <r.sobey@imperial.ac.uk> wrote:
Hi all,
I’d be interested to talk to anyone that is using HSM to move data to tape, (and stubbing the file(s)) specifically any strategies you’ve employed to figure out how to charge your customers (where you do charge anyway) based on usage.
On-list or off is fine with me.
Thanks
Richard
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (7)
-
Jan-Frode Myklebust -
Jonathan Buzzard -
Marc A Kaplan -
Simon Thompson (IT Research Support) -
Sobey, Richard A -
Stephen Ulmer -
valdis.kletnieks@vt.edu
