[gpfsug-discuss] afmPrepopEnd Callback
Venkateswara R Puvvada
vpuvvada at in.ibm.com
Tue Apr 24 08:38:17 BST 2018
Hi Luke,
This issue has been fixed now. You could either request efix or try
workaround as suggested by Simon. The following parameters are supported.
prepopCompletedReads
prepopFailedReads
prepopData
This one is missing from the mmfsfuncs and is fixed now.
prepopAlreadyCachedFiles
~Venkat (vpuvvada at in.ibm.com)
From: Luke Raimbach <luke.raimbach at googlemail.com>
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date: 04/24/2018 01:25 AM
Subject: Re: [gpfsug-discuss] afmPrepopEnd Callback
Sent by: gpfsug-discuss-bounces at spectrumscale.org
Hi Simon,
Thanks for the consideration.
It's a little difficult, though, to give such a flannel answer to a
customer, when the manual says one thing and then the supporting code
doesn't exist.
I had walked through how the callback might might be constructed with the
customer and then put together a simple demo script to help them program
things in the future.
Slightly red faced when I got rejected by the terminal!
Can someone from IBM say which callback parameters are actually valid and
supported? I'm programming against 4.2.3.8 in this instance.
Cheers,
Luke.
On Mon, 23 Apr 2018, 17:08 Simon Thompson (IT Research Support), <
S.J.Thompson at bham.ac.uk> wrote:
My very unconsidered and unsupported suggestion would be to edit mmfsfuncs
on your test cluster and see if it’s actually implemented further in the
code 😉
Simon
From: <gpfsug-discuss-bounces at spectrumscale.org> on behalf of "
luke.raimbach at googlemail.com" <luke.raimbach at googlemail.com>
Reply-To: "gpfsug-discuss at spectrumscale.org" <
gpfsug-discuss at spectrumscale.org>
Date: Monday, 23 April 2018 at 15:11
To: "gpfsug-discuss at spectrumscale.org" <gpfsug-discuss at spectrumscale.org>
Subject: [gpfsug-discuss] afmPrepopEnd Callback
Good Afternoon AFM Experts,
I looked in the manual for afmPreopopEnd event variables I can extract to
log something useful after a prefetch event completes. Here is the manual
entry:
%prepopAlreadyCachedFiles
Specifies the number of files that are cached.
These number of files are not read into cache
because data is same between cache and home.
However, when I try to install a callback like this, I get the associated
error:
# mmaddcallback afmCompletionReport --command
/var/mmfs/etc/afmPrepopEnd.sh --event afmPrepopEnd -N afm --parms "%fsName
%filesetName %prepopCompletedReads %prepopFailedReads
%prepopAlreadyCachedFiles %prepopData"
mmaddcallback: Invalid callback variable "%prepopAlreadyCachedFiles" was
specified.
mmaddcallback: Command failed. Examine previous error messages to
determine cause.
I have a butcher's in /usr/lpp/mmfs/bin/mmfsfuncs and see only these three
%prepop variables listed:
%prepopcompletedreads )
validCallbackVariable="%prepopCompletedReads";;
%prepopfailedreads ) validCallbackVariable="%prepopFailedReads";;
%prepopdata ) validCallbackVariable="%prepopData";;
Is the %prepopAlreadyCachedFiles not implemented? Will it be implemented?
Unusual to see the manual ahead of the code ;)
Cheers,
Luke
_______________________________________________
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_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=92LOlNh2yLzrrGTDA7HnfF8LFr55zGxghLZtvZcZD7A&m=CKY14hxZ-5Ur87lPVdFwwcpuP1lfw-0_vyYhZCcf1pk&s=C058esOcmGSwBjnUblCLIJEpF4CKsXAos0Ap57R6A4Q&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180424/b5017ce9/attachment.htm>
More information about the gpfsug-discuss
mailing list