<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Peter,</div>
<div dir="ltr" >Yes, you'll need to run your migration policy from a Cloud Services node.</div>
<div dir="ltr" >Regards,</div>
<div dir="ltr" >Rob Basham<br><br>MCStore and IBM Ready Archive architecture<br>971-344-1999</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Chase, Peter" <peter.chase@metoffice.gov.uk><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: "'gpfsug-discuss@spectrumscale.org'" <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [gpfsug-discuss] Default placement/External Pool<br>Date: Wed, Nov 8, 2017 7:51 AM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >Hello!<br><br>A follow up to my previous question about automatically sending files to Amazon s3 as they arrive in GPFS.<br><br>I have created an interface script to manage Amazon s3 storage as an external pool, I have created a migration policy that pre-migrates all files to the external pool and I have set that as the default policy for the file system.<br><br>All good so far, but the problem I'm now facing is: Only some of the cluster nodes have access to Amazon due to network constraints.  I read the statement "The mmapplypolicy command invokes the external pool script on all nodes in the cluster that have installed the script in its designated location."[1] and thought, 'Great! I'll only install the script on nodes that have access to Amazon' but that appears not to work for a placement policy/default policy and instead, the script runs on precisely no nodes.<br><br>I assumed this happened because running the script on a non-Amazon facing node resulted in a horrible error (i.e. file not found), so I edited my script to return a non-zero response if being run on a node that isn't in my cloudNode class, then installed the script every where. But this appears to have had no effect what-so-ever.<br><br>The only thing I can think of now is to control where a migration policy runs based on node class. But I don't know how to do that, or if it's possible, or where the documentation might be as I can't find any. Any assistance would once again be greatly appreciated.<br><br><br>[1]=https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.3/com.ibm.spectrum.scale.v4r23.doc/bl1adv_impstorepool.htm<br><br>Regards,<br><br>Peter Chase<br>GPCS Team<br>Met Office  FitzRoy Road  Exeter  Devon  EX1 3PB  United Kingdom<br>Email: peter.chase@metoffice.gov.uk Website: www.metoffice.gov.uk<br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=9dAVhAnC4NnCCkf4G7L1TVgVvxJWWow6aPaCC8L_DNU&m=fy-VYO35ujvfapyIQdGl204C6G2N3kGSvR10-CJVCQI&s=fyfFMr-b25b-uL4kGPrmFpPHuRophJd2p_uABq9ccv4&e=" target="_blank" >https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=9dAVhAnC4NnCCkf4G7L1TVgVvxJWWow6aPaCC8L_DNU&m=fy-VYO35ujvfapyIQdGl204C6G2N3kGSvR10-CJVCQI&s=fyfFMr-b25b-uL4kGPrmFpPHuRophJd2p_uABq9ccv4&e=</a></font><br> </div></blockquote>
<div dir="ltr" > </div></div><BR>