[gpfsug-discuss] help/ advice with external helper apps for ILM policy engine
Jan-Frode Myklebust
janfrode at tanso.net
Tue Dec 23 21:50:19 GMT 2025
Policy engine can use xattrs using something like "WHERE
xattr('user.xattrname') LIKE 'value'".
I don't currently have any TCT systems available to check, but are there no
xattrs you could use a xattr like above to figure out which pool it's in?
Use f.ex. "mmlsattr -L -d filename" to check which xattrs are set for a
given file.
-jf
On Tue, Dec 23, 2025 at 11:19 AM Paul Ward <p.ward at nhm.ac.uk> wrote:
> Hi,
>
> has anyone written external helper apps for the ILM policy engine.
>
> we are running TCT, planning to move files from on-premise COS to AWS, but
> I need to detect which cloudpool the files are currently in.
> The policy engine doesn’t appear to be able to access the extended file
> attributes indicating which cloudpool a migrated file is in.
> So I am trying to use an external helper script, but execution of the
> policy seems to stall at the point it should use the helper script.
>
> I will also need to use a help app to move the files from COS to AWS as
> the mmcloudgateway CLI will recall then migrate, but the policy engine
> detects the files are already migrated so refuses to ‘migrate’ them again.
> I plan to call the CLI version
>
> Any advice?
>
>
>
> Kindest regards,
>
> Paul
>
>
>
> Paul Ward
>
> TS Infrastructure Architect
>
> Natural History Museum
>
> T: 02079426450
>
> E: p.ward at nhm.ac.uk
>
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at gpfsug.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20251223/6ea798df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 12974 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20251223/6ea798df/attachment.png>
More information about the gpfsug-discuss
mailing list