<font size=2 face="sans-serif">mmapplypolicy ... -N nodeClass ...  </font><br><font size=2 face="sans-serif">  will use the nodes in nodeClass
as helper nodes to get its work done.</font><br><br><font size=2 face="sans-serif">mmdsh -N nodeClass command ...  
</font><br><font size=2 face="sans-serif">  will run the SAME command on
each of the nodes -- probably not what you want to do with mmapplypolicy.<br></font><br><font size=2 face="sans-serif">To see more about what mmapplypolicy
is doing use  options -d 1 (debug info) </font><br><br><font size=2 face="sans-serif">If you are using -N because you have
a lot of files to process, you should also use -g /some-gpfs-temp-directory
(see doc)</font><br><br><font size=2 face="sans-serif">If you are running a small test case,
it may happen that you don't see the helper nodes doing anything, because
there's not enough time and work to get them going...<br></font><br><font size=2 face="sans-serif">For test purposes you can coax the helper
nodes into action with:</font><br><br><font size=2 face="sans-serif">options -B 1  -m 1 so that each
helper node only does one file at a time. </font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">"Chase, Peter"
<peter.chase@metoffice.gov.uk></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"'gpfsug-discuss@spectrumscale.org'"
<gpfsug-discuss@spectrumscale.org></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">11/10/2017 11:18 AM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">[gpfsug-discuss]
Specifying nodes in commands</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><tt><font size=2>Hello all,<br><br>I'm running a script triggered from an ILM external list rule.<br><br>The script has the following command in, and it isn't work as I'd expect:<br>/usr/lpp/mmfs/bin/mmapplypolicy /gpfs1/aws -N cloudNode -P /gpfs1/s3upload/policies/migration.policy
--scope fileset<br><br>I'd expect the mmapplypolicy command to run the policy on all the nodes
in the cloudNode class, but it doesn't, it runs on the node that triggered
the script.<br><br>However, the following command does work as I'd expect:<br>/usr/lpp/mmfs/bin/mmdsh -N cloudNode /usr/lpp/mmfs/bin/mmapplypolicy /gpfs1/aws
-P /gpfs1/s3upload/policies/migration.policy --scope fileset<br><br>Can any one shed any light on this? Have I just misconstrued how mmapplypolicy
works?<br><br>Regards,<br><br>Peter Chase<br>GPCS Team<br>Met Office  FitzRoy Road  Exeter  Devon  EX1 3PB 
United Kingdom<br>Tel: +44 (0)1392 886921<br>Email: peter.chase@metoffice.gov.uk Website: </font></tt><a href=www.metoffice.gov.uk><tt><font size=2>www.metoffice.gov.uk</font></tt></a><tt><font size=2><br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=cvpnBBH0j41aQy0RPiG2xRL_M8mTc1izuQD3_PmtjZ8&m=WjhVVKkS23BlFGP2KHmkndM0AZ4yB2aC81UUHv8iIZs&s=-dPme1SlhBAqo45xVmtvVWNeAjumd7JrtEksW1U8o5w&e="><tt><font size=2>https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=cvpnBBH0j41aQy0RPiG2xRL_M8mTc1izuQD3_PmtjZ8&m=WjhVVKkS23BlFGP2KHmkndM0AZ4yB2aC81UUHv8iIZs&s=-dPme1SlhBAqo45xVmtvVWNeAjumd7JrtEksW1U8o5w&e=</font></tt></a><tt><font size=2><br><br></font></tt><br><br><BR>