Hi All, 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.
Thanks... — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education [email protected]<mailto:[email protected]> - (615)875-9633 On Aug 7, 2018, at 6:35 AM, Chase, Peter <[email protected]<mailto:[email protected]>> wrote: Hi Kevin, 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: 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&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912985631&sdata=4PmYIvmKenhqtLRVhusaQpWHAjGcd6YFMkb5nMa%2Bwuw%3D&reserved=0 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. 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.: mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance" 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. Regards, Pete Chase [email protected]<mailto:[email protected]> -----Original Message----- From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: 06 August 2018 23:47 To: [email protected] Subject: gpfsug-discuss Digest, Vol 79, Issue 21 Send gpfsug-discuss mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&reserved=0 or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..." Today's Topics: 1. mmaddcallback documentation issue (Buterbaugh, Kevin L) 2. Re: mmaddcallback documentation issue (Eric Sperley) ---------------------------------------------------------------------- Message: 1 Date: Mon, 6 Aug 2018 21:42:54 +0000 From: "Buterbaugh, Kevin L" <[email protected]> To: gpfsug main discussion list <[email protected]> Subject: [gpfsug-discuss] mmaddcallback documentation issue Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hi All, 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). On page 392 of the GPFS 5.0.0 Administration Guide it says: To add a callback, run this command. The following command is on one line: mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance The --single-instance flag is required to avoid running multiple migrations on the file system at the same time. However, trying to issue that command gives: mmaddcallback: Incorrect option: --single-instance 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? I can?t find the GPFS 5.0.1 Administration Guide with a Google search. Thanks? Kevin ? Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education [email protected]<mailto:[email protected]> - (615)875-9633 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2Fd4348ee3%2Fattachment-0001.html&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=QOBZgR4ywmMNbtlrwRQyWNH4nPod0lE82IlHn2QZUHQ%3D&reserved=0> ------------------------------ Message: 2 Date: Mon, 6 Aug 2018 15:46:39 -0700 From: "Eric Sperley" <[email protected]> To: gpfsug main discussion list <[email protected]> Subject: Re: [gpfsug-discuss] mmaddcallback documentation issue Message-ID: <of2e0e1104.a39aa4c3-on002582e1.007d02c1-882582e1.007d1...@notes.na.collabserv.com> Content-Type: text/plain; charset="utf-8" See if this helps 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&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=WGASrQ8SqzMdkTkNRkeAEDoaACsnDZEAJF8G5GBIxsA%3D&reserved=0 Best Regards, Eric Eric Sperley, PhD SDI Architect To improve is to change; to be perfect is IBM Systems to change often - - Winston Churchill [email protected] +15033088721 From: "Buterbaugh, Kevin L" <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 08/06/2018 02:44 PM Subject: [gpfsug-discuss] mmaddcallback documentation issue Sent by: [email protected] Hi All, 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). On page 392 of the GPFS 5.0.0 Administration Guide it says: To add a callback, run this command. The following command is on one line: mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance The --single-instance flag is required to avoid running multiple migrations on the file system at the same time. However, trying to issue that command gives: mmaddcallback: Incorrect option: --single-instance 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? I can?t find the GPFS 5.0.1 Administration Guide with a Google search. Thanks? Kevin ? Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education [email protected] - (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&reserved=0 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment.html&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=lYDN130Vdx0P%2BRz2KGWAtQOsVZJOXlDVohV%2FzftxDng%3D&reserved=0> -------------- next part -------------- A non-text attachment was scrubbed... Name: 1A910265.gif Type: image/gif Size: 481 bytes Desc: not available URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment.gif&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=GqahVKM3urZpb4Wt5qvh0Kj%2BAtr%2BQCE96BwXERK8iO8%3D&reserved=0> -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0001.gif&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=0aw%2B3SGOIvvBAZMBV7f3b1U1QdvHTY0lyBOWyaEJSjs%3D&reserved=0> -------------- next part -------------- A non-text attachment was scrubbed... Name: 1A526482.gif Type: image/gif Size: 2322 bytes Desc: not available URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0002.gif&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=bg7Dnk%2FuxiKJaHBmaKBStMmEbZCIld7PRSSntv4QvVs%3D&reserved=0> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fpipermail%2Fgpfsug-discuss%2Fattachments%2F20180806%2F381f9169%2Fattachment-0003.gif&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=ngY0rERvnq2mLVSIW7YtV5u%2BNtJeFwRnd34B9w%2BeMNA%3D&reserved=0> ------------------------------ _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&reserved=0 End of gpfsug-discuss Digest, Vol 79, Issue 21 ********************************************** _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641&sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3D&reserved=0
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
