mmapplypolicy ... -N nodeClass ...
will use the nodes in nodeClass
as helper nodes to get its work done.
mmdsh -N nodeClass command ...
will run the SAME command on
each of the nodes -- probably not what you want to do with mmapplypolicy.
To see more about what mmapplypolicy
is doing use options -d 1 (debug info)
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)
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...
For test purposes you can coax the helper
nodes into action with:
options -B 1 -m 1 so that each
helper node only does one file at a time.
From:
"Chase, Peter"
<peter.chase@metoffice.gov.uk>
To:
"'gpfsug-discuss@spectrumscale.org'"
<gpfsug-discuss@spectrumscale.org>
Date:
11/10/2017 11:18 AM
Subject:
[gpfsug-discuss]
Specifying nodes in commands
Sent by:
gpfsug-discuss-bounces@spectrumscale.org
Hello all,
I'm running a script triggered from an ILM external list rule.
The script has the following command in, and it isn't work as I'd expect:
/usr/lpp/mmfs/bin/mmapplypolicy /gpfs1/aws -N cloudNode -P /gpfs1/s3upload/policies/migration.policy
--scope fileset
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.
However, the following command does work as I'd expect:
/usr/lpp/mmfs/bin/mmdsh -N cloudNode /usr/lpp/mmfs/bin/mmapplypolicy /gpfs1/aws
-P /gpfs1/s3upload/policies/migration.policy --scope fileset
Can any one shed any light on this? Have I just misconstrued how mmapplypolicy
works?
Regards,
Peter Chase
GPCS Team
Met Office FitzRoy Road Exeter Devon EX1 3PBÂ
United Kingdom
Tel: +44 (0)1392 886921
Email: peter.chase@metoffice.gov.uk Website: www.metoffice.gov.uk
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
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=