<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi All,
<div class=""><br class="">
</div>
<div class="">I was able to navigate down thru IBM’s website and find the GPFS 5.0.1 manuals but they contain the same typo, which Pete has correctly identified … and I have confirmed that his solution works.</div>
<div class=""><br class="">
</div>
<div class="">Thanks...</div>
<div class=""><br class="">
<div class="">
<div class="">—</div>
<div class="">Kevin Buterbaugh - Senior System Administrator</div>
<div class="">Vanderbilt University - Advanced Computing Center for Research and Education</div>
<div class=""><a href="mailto:Kevin.Buterbaugh@vanderbilt.edu" class="">Kevin.Buterbaugh@vanderbilt.edu</a> - (615)875-9633</div>
<div class=""><br class="">
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 7, 2018, at 6:35 AM, Chase, Peter <<a href="mailto:peter.chase@metoffice.gov.uk" class="">peter.chase@metoffice.gov.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Kevin,<br class="">
<br class="">
I'm running policy migrations on Spectrum Scale 4.2.3, but I use mmapplypolicy to kick off the policy runs, not mmstartpolicy. Docs here (which I admit are not for your version of Spectrum Scale) state that mmstartpolicy is for internal GPFS use only:
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fwikis%2Fhome%3Flang%3Den%23!%2Fwiki%2FGeneral%2BParallel%2BFile%2BSystem%2B(GPFS)%2Fpage%2FUsing%2BPolicies&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912985631&amp;sdata=4PmYIvmKenhqtLRVhusaQpWHAjGcd6YFMkb5nMa%2Bwuw%3D&amp;reserved=0" class="">
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fwikis%2Fhome%3Flang%3Den%23!%2Fwiki%2FGeneral%2BParallel%2BFile%2BSystem%2B(GPFS)%2Fpage%2FUsing%2BPolicies&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912985631&amp;sdata=4PmYIvmKenhqtLRVhusaQpWHAjGcd6YFMkb5nMa%2Bwuw%3D&amp;reserved=0</a>
<br class="">
<br class="">
So if the above link is correct, I'd recommend switching to using mmapplypolicy, which handily comes with a man page, whereas mmstartpolicy doesn't and might have you fumbling around in the dark.<br class="">
<br class="">
As for the issue you're experiencing with adding a callback, it looks like the mmaddcallback command is catching the --single-instance flag as an argument for it, not as a parameter for the mmstartpolicy command. After looking at the documentation you've referenced,
 I suspect that there's a typo/omission in the command and it should have a trailing double quote (") on the end of the parms argument list, i.e.:<br class="">
<br class="">
mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance"<br class="">
<br class="">
I'm not sure how we go about asking IBM to correct their documentation, but expect someone in the user group will have some idea.<br class="">
<br class="">
Regards,<br class="">
<br class="">
Pete Chase<br class="">
<a href="mailto:peter.chase@metoffice.gov.uk" class="">peter.chase@metoffice.gov.uk</a><br class="">
<br class="">
<br class="">
-----Original Message-----<br class="">
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of gpfsug-discuss-request@spectrumscale.org<br class="">
Sent: 06 August 2018 23:47<br class="">
To: gpfsug-discuss@spectrumscale.org<br class="">
Subject: gpfsug-discuss Digest, Vol 79, Issue 21<br class="">
<br class="">
Send gpfsug-discuss mailing list submissions to<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>gpfsug-discuss@spectrumscale.org<br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&amp;reserved=0<br class="">
or, via email, send a message with subject or body 'help' to<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>gpfsug-discuss-request@spectrumscale.org<br class="">
<br class="">
You can reach the person managing the list at<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>gpfsug-discuss-owner@spectrumscale.org<br class="">
<br class="">
When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..."<br class="">
<br class="">
<br class="">
Today's Topics:<br class="">
<br class="">
  1. mmaddcallback documentation issue (Buterbaugh, Kevin L)<br class="">
  2. Re: mmaddcallback documentation issue (Eric Sperley)<br class="">
<br class="">
<br class="">
----------------------------------------------------------------------<br class="">
<br class="">
Message: 1<br class="">
Date: Mon, 6 Aug 2018 21:42:54 +0000<br class="">
From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu><br class="">
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br class="">
Subject: [gpfsug-discuss] mmaddcallback documentation issue<br class="">
Message-ID: <735F4275-191A-4363-B98C-1EA289292037@vanderbilt.edu><br class="">
Content-Type: text/plain; charset="utf-8"<br class="">
<br class="">
Hi All,<br class="">
<br class="">
So I?m _still_ reading about and testing various policies for file placement and migration on our test cluster (which is now running GPFS 5).<br class="">
<br class="">
On page 392 of the GPFS 5.0.0 Administration Guide it says:<br class="">
<br class="">
<br class="">
To add a callback, run this command. The following command is on one line:<br class="">
<br class="">
mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance<br class="">
<br class="">
<br class="">
The --single-instance flag is required to avoid running multiple migrations on the file system at the same time.<br class="">
<br class="">
However, trying to issue that command gives:<br class="">
<br class="">
mmaddcallback: Incorrect option: --single-instance<br class="">
<br class="">
And the man page for mmaddcallback doesn?t mention it or anything similar to it.  Now my test cluster is running GPFS 5.0.1.1, so is this something that was added in GPFS 5.0.0 and then subsequently removed?<br class="">
<br class="">
I can?t find the GPFS 5.0.1 Administration Guide with a Google search.<br class="">
<br class="">
Thanks?<br class="">
<br class="">
Kevin<br class="">
<br class="">
?<br class="">
Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633<br class="">
<br class="">
<br class="">
<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2Fd4348ee3%2Fattachment-0001.html&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=QOBZgR4ywmMNbtlrwRQyWNH4nPod0lE82IlHn2QZUHQ%3D&amp;reserved=0><br class="">
<br class="">
------------------------------<br class="">
<br class="">
Message: 2<br class="">
Date: Mon, 6 Aug 2018 15:46:39 -0700<br class="">
From: "Eric Sperley" <esperle@us.ibm.com><br class="">
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br class="">
Subject: Re: [gpfsug-discuss] mmaddcallback documentation issue<br class="">
Message-ID:<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span><OF2E0E1104.A39AA4C3-ON002582E1.007D02C1-882582E1.007D1EE0@notes.na.collabserv.com><br class="">
<span class="Apple-tab-span" style="white-space:pre"></span><br class="">
Content-Type: text/plain; charset="utf-8"<br class="">
<br class="">
See if this helps<br class="">
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSTXKQY_5.0.1%2Fcom.ibm.spectrum.scale.v5r01.doc%2Fbl1adm_mmaddcallback.htm&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=WGASrQ8SqzMdkTkNRkeAEDoaACsnDZEAJF8G5GBIxsA%3D&amp;reserved=0<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
Best Regards, Eric<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
                                              Eric Sperley, PhD                 <br class="">
<br class="">
                                              SDI Architect                     <br class="">
<br class="">
    To improve is to change; to be perfect is IBM Systems                       <br class="">
    to change often - - Winston Churchill                                       <br class="">
<br class="">
                                              esperle@us.ibm.com                <br class="">
<br class="">
                                              +15033088721                      <br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
From:<span class="Apple-tab-span" style="white-space:pre"> </span>"Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu><br class="">
To:<span class="Apple-tab-span" style="white-space:pre"> </span>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br class="">
Date:<span class="Apple-tab-span" style="white-space:pre"> </span>08/06/2018 02:44 PM<br class="">
Subject:<span class="Apple-tab-span" style="white-space:pre"> </span>[gpfsug-discuss] mmaddcallback documentation issue<br class="">
Sent by:<span class="Apple-tab-span" style="white-space:pre"> </span>gpfsug-discuss-bounces@spectrumscale.org<br class="">
<br class="">
<br class="">
<br class="">
Hi All,<br class="">
<br class="">
So I?m _still_ reading about and testing various policies for file placement and migration on our test cluster (which is now running GPFS 5).<br class="">
<br class="">
On page 392 of the GPFS 5.0.0 Administration Guide it says:<br class="">
<br class="">
<br class="">
<br class="">
To add a callback, run this command. The following command is on one line:<br class="">
<br class="">
<br class="">
mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance<br class="">
<br class="">
<br class="">
<br class="">
The --single-instance flag is required to avoid running multiple migrations on the file system at the same time.<br class="">
<br class="">
<br class="">
However, trying to issue that command gives:<br class="">
<br class="">
mmaddcallback: Incorrect option: --single-instance<br class="">
<br class="">
And the man page for mmaddcallback doesn?t mention it or anything similar to it.  Now my test cluster is running GPFS 5.0.1.1, so is this something that was added in GPFS 5.0.0 and then subsequently removed?<br class="">
<br class="">
I can?t find the GPFS 5.0.1 Administration Guide with a Google search.<br class="">
<br class="">
Thanks?<br class="">
<br class="">
Kevin<br class="">
<br class="">
?<br class="">
Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
gpfsug-discuss mailing list<br class="">
gpfsug-discuss at spectrumscale.org<br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&amp;reserved=0<br class="">
<br class="">
<br class="">
<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment.html&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=lYDN130Vdx0P%2BRz2KGWAtQOsVZJOXlDVohV%2FzftxDng%3D&amp;reserved=0><br class="">
-------------- next part --------------<br class="">
A non-text attachment was scrubbed...<br class="">
Name: 1A910265.gif<br class="">
Type: image/gif<br class="">
Size: 481 bytes<br class="">
Desc: not available<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment.gif&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=GqahVKM3urZpb4Wt5qvh0Kj%2BAtr%2BQCE96BwXERK8iO8%3D&amp;reserved=0><br class="">
-------------- next part --------------<br class="">
A non-text attachment was scrubbed...<br class="">
Name: ecblank.gif<br class="">
Type: image/gif<br class="">
Size: 45 bytes<br class="">
Desc: not available<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0001.gif&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=0aw%2B3SGOIvvBAZMBV7f3b1U1QdvHTY0lyBOWyaEJSjs%3D&amp;reserved=0><br class="">
-------------- next part --------------<br class="">
A non-text attachment was scrubbed...<br class="">
Name: 1A526482.gif<br class="">
Type: image/gif<br class="">
Size: 2322 bytes<br class="">
Desc: not available<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0002.gif&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=bg7Dnk%2FuxiKJaHBmaKBStMmEbZCIld7PRSSntv4QvVs%3D&amp;reserved=0><br class="">
-------------- next part --------------<br class="">
A non-text attachment was scrubbed...<br class="">
Name: graycol.gif<br class="">
Type: image/gif<br class="">
Size: 105 bytes<br class="">
Desc: not available<br class="">
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0003.gif&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=ngY0rERvnq2mLVSIW7YtV5u%2BNtJeFwRnd34B9w%2BeMNA%3D&amp;reserved=0><br class="">
<br class="">
------------------------------<br class="">
<br class="">
_______________________________________________<br class="">
gpfsug-discuss mailing list<br class="">
gpfsug-discuss at spectrumscale.org<br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&amp;reserved=0<br class="">
<br class="">
<br class="">
End of gpfsug-discuss Digest, Vol 79, Issue 21<br class="">
**********************************************<br class="">
_______________________________________________<br class="">
gpfsug-discuss mailing list<br class="">
gpfsug-discuss at spectrumscale.org<br class="">
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&amp;data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&amp;sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&amp;reserved=0<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>