[gpfsug-discuss] Specifying nodes in commands
Frederick Stock
stockf at us.ibm.com
Fri Nov 10 16:41:19 GMT 2017
How do you determine if mmapplypolicy is running on a node? Normally
mmapplypolicy as a process runs on a single node but its helper processes,
policy-help or something similar, run on all the nodes which are
referenced by the -N option.
Fred
__________________________________________________
Fred Stock | IBM Pittsburgh Lab | 720-430-8821
stockf at us.ibm.com
From: "Chase, Peter" <peter.chase at metoffice.gov.uk>
To: "'gpfsug-discuss at spectrumscale.org'"
<gpfsug-discuss at spectrumscale.org>
Date: 11/10/2017 11:18 AM
Subject: [gpfsug-discuss] Specifying nodes in commands
Sent by: gpfsug-discuss-bounces at 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 at 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=p_1XEUyoJ7-VJxF_w8h9gJh8_Wj0Pey73LCLLoxodpw&m=spXDnba2A_tVauiszV7sXhSkn6GeEljABN4lUEB4f8s&s=1Hd1SNkXtfLRcirmeRfg1JuAERuhbyiVqsLEdYlhFsM&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171110/3b1dc733/attachment.htm>
More information about the gpfsug-discuss
mailing list