<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Yes I tried that first, but it seems from the testing I\u2019ve done, the attributes I want are not accessible from the policy engine in 5.1.9. Co-pilot suggests they maybe in 5.2.x<br>
Which we cant go to until we\u2019ve converted from TCT to AFM, which is what I need this for.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Kindest regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Paul Ward<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">TS Infrastructure Architect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Natural History Museum<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">T: 02079426450<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">E: <a href="mailto:p.ward@nhm.ac.uk">
<span style="color:#0563C1">p.ward@nhm.ac.uk</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><img border="0" width="137" height="74" style="width:1.427in;height:.7708in" id="Picture_x0020_2" src="cid:image001.png@01DC74C8.9DAA57E0"></span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;font-size:pt">
<p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-family:&quot;Calibri&quot;,sans-serif"> gpfsug-discuss &lt;gpfsug-discuss-bounces@gpfsug.org&gt;
<b>On Behalf Of </b>Jan-Frode Myklebust<br>
<b>Sent:</b> 23 December 2025 21:50<br>
<b>To:</b> gpfsug main discussion list &lt;gpfsug-discuss@gpfsug.org&gt;<br>
<b>Subject:</b> Re: [gpfsug-discuss] help/ advice with external helper apps for ILM policy engine<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Policy engine can use xattrs using something like &quot;<span style="font-size:10.5pt;color:black">WHERE xattr('user.xattrname') LIKE 'value'&quot;.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">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. &quot;mmlsattr -L -d filename&quot; to check which xattrs are set for a given file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">&nbsp; -jf<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Dec 23, 2025 at 11:19<span style="font-family:&quot;Arial&quot;,sans-serif">\u202f</span>AM Paul Ward &lt;<a href="mailto:p.ward@nhm.ac.uk">p.ward@nhm.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Kindest regards,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Paul<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Paul Ward<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">TS Infrastructure Architect<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Natural History Museum<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">T: 02079426450<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">E:
<a href="mailto:p.ward@nhm.ac.uk" target="_blank"><span style="color:#0563C1">p.ward@nhm.ac.uk</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><img border="0" width="137" height="74" style="width:1.427in;height:.7708in" id="m_-3587706507449722632Picture_x0020_2" src="cid:image001.png@01DC74C8.9DAA57E0"></span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org/" target="_blank">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>