[gpfsug-discuss] gpfs filesystem heat reporting, howto setup
Marc A Kaplan
makaplan at us.ibm.com
Thu Jun 1 14:40:30 BST 2017
To generate a list of files and their file heat values...
define([TS],esyscmd(date +%Y-%m-%d-%H-%M | tr -d '\n'))
RULE 'x1' EXTERNAL LIST 'heat.TS' EXEC ''
RULE 'x2' LIST 'heat.TS' SHOW(FILE_HEAT) WEIGHT(FILE_HEAT) /* use a
WHERE clause to select or exclude files */
mmapplypolicy /gpfs-path-of-interest -I defer -P policy-rules-shown-above
-f /path-for-result ... other good options are -N nodes -g /shared-temp
To do it periodically use crontab.
I defined the TS macro so each time you run it, you get a different
filename.
WEIGHT clause will cause "hottest" files to be listed firstmost.
Notice that FILE_HEAT "shows" as a floating point number.
--marc
From: "Olaf Weiser" <olaf.weiser at de.ibm.com>
To: Andreas Landhäußer <alandhae at gmx.de>, gpfsug main discussion
list <gpfsug-discuss at spectrumscale.org>
Date: 06/01/2017 07:17 AM
Subject: Re: [gpfsug-discuss] gpfs filesystem heat reporting, howto
setup
Sent by: gpfsug-discuss-bounces at spectrumscale.org
Hi Andreas,
one could use the WEIGHT statement ...
a simple policy for e.g.
rule ’repack’ MIGRATE FROM POOL ’xxxxxx’ TO POOL ’xxxx’ WEIGHT(FILE_HEAT)
and then the -I prepare to see, what would be done by policy..
or you use the LIST function .. or .. and so on ..
From: Andreas Landhäußer <alandhae at gmx.de>
To: gpfsug-discuss at spectrumscale.org
Date: 06/01/2017 11:36 AM
Subject: [gpfsug-discuss] gpfs filesystem heat reporting, howto
setup
Sent by: gpfsug-discuss-bounces at spectrumscale.org
Hello all out there,
customer wants to receive periodical reports on the filesystem heat
(relatively age) of files.
We already switched on fileheat using mmchconfig.
mmchconfig fileheatlosspercent=10,fileHeatPeriodMinutes=1440
for the reports, I think I need to know the file usage in a given time
period.
Are there any how-to for obtaining this information, examples for ILM
policies to be used as a start?
any help will be highly appreciated.
Best regards
Andreas
--
Andreas Landhäußer +49 151 12133027 (mobile)
alandhae at gmx.de_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20170601/343d6279/attachment.htm>
More information about the gpfsug-discuss
mailing list