<div dir="ltr"><div dir="ltr">Policy engine can use xattrs using something like "<span style="font-size:13.8384px;color:rgb(0,0,0);background-color:rgba(0,0,0,0.05)">WHERE xattr('user.xattrname') LIKE 'value'".</span><br></div><div><br></div><div>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.</div><div><br></div><div><br></div><div><br></div> -jf<br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Dec 23, 2025 at 11:19\u202fAM Paul Ward <<a href="mailto:p.ward@nhm.ac.uk">p.ward@nhm.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg-3587706507449722632">
<div lang="EN-GB" style="overflow-wrap: break-word;">
<div class="m_-3587706507449722632WordSection1">
<p class="MsoNormal">Hi,<br>
<br>
has anyone written external helper apps for the ILM policy engine.<br>
<br>
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.<br>
The policy engine doesn\u2019t appear to be able to access the extended file attributes indicating which cloudpool a migrated file is in.<br>
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.<br>
<br>
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 \u2018migrate\u2019 them again.<br>
I plan to call the CLI version <br>
<br>
Any advice?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span>Kindest regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span>Paul<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Paul Ward<u></u><u></u></span></p>
<p class="MsoNormal"><span>TS Infrastructure Architect<u></u><u></u></span></p>
<p class="MsoNormal"><span>Natural History Museum<u></u><u></u></span></p>
<p class="MsoNormal"><span>T: 02079426450<u></u><u></u></span></p>
<p class="MsoNormal"><span>E:
<a href="mailto:p.ward@nhm.ac.uk" target="_blank"><span style="color:rgb(5,99,193)">p.ward@nhm.ac.uk</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:black"><img border="0" width="137" height="74" style="width: 1.427in; height: 0.7708in;" id="m_-3587706507449722632Picture_x0020_2" src="cid:ii_19b4d2c7d314cff311"></span><span lang="EN-US" style="font-size:12pt;color:black"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org" rel="noreferrer" target="_blank">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a><br>
</div></blockquote></div></div>