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
[email protected]



From:   "Chase, Peter" <[email protected]>
To:     "'[email protected]'" 
<[email protected]>
Date:   11/10/2017 11:18 AM
Subject:        [gpfsug-discuss] Specifying nodes in commands
Sent by:        [email protected]



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: [email protected] 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=






_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to