Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 79, Issue 21: mmaddcallback documentation issue

2018-08-07 Thread Carl Zetie


>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.

File an RFE against Scale and I will route it to the right place. 


Carl Zetie  
Offering Manager for Spectrum Scale, IBM  
  
(540) 882 9353 ][ Research Triangle Park
 ca...@us.ibm.com

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


Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 79, Issue 21: mmaddcallback documentation issue

2018-08-07 Thread Buterbaugh, Kevin L
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
kevin.buterba...@vanderbilt.edu - 
(615)875-9633


On Aug 7, 2018, at 6:35 AM, Chase, Peter 
mailto:peter.ch...@metoffice.gov.uk>> 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%2BPoliciesdata=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912985631sdata=4PmYIvmKenhqtLRVhusaQpWHAjGcd6YFMkb5nMa%2Bwuw%3Dreserved=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
peter.ch...@metoffice.gov.uk


-Original Message-
From: gpfsug-discuss-boun...@spectrumscale.org 
 On Behalf Of 
gpfsug-discuss-requ...@spectrumscale.org
Sent: 06 August 2018 23:47
To: gpfsug-discuss@spectrumscale.org
Subject: gpfsug-discuss Digest, Vol 79, Issue 21

Send gpfsug-discuss mailing list submissions to
gpfsug-discuss@spectrumscale.org

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-discussdata=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C806e69ddb2294dbe5ad008d5fc5b2e70%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636692390912995641sdata=1kVV9WbthdhHHEX32bT0C3uUJlVTAtMrV6tEFiT9%2BzY%3Dreserved=0
or, via email, send a message with subject or body 'help' to
gpfsug-discuss-requ...@spectrumscale.org

You can reach the person managing the list at
gpfsug-discuss-ow...@spectrumscale.org

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 +
From: "Buterbaugh, Kevin L" 
To: gpfsug main discussion list 
Subject: [gpfsug-discuss] mmaddcallback documentation issue
Message-ID: <735f4275-191a-4363-b98c-1ea289292...@vanderbilt.edu>
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 
kevin.buterba...@vanderbilt.edu - 
(615)875-9633



-- next part --
An HTML attachment was scrubbed...
URL: 

Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 79, Issue 21: mmaddcallback documentation issue

2018-08-07 Thread Uwe Falke
"I'm not sure how we go about asking IBM to correct their 
documentation,..."

One way would be to open a PMR, er?, case.
 
Mit freundlichen Grüßen / Kind regards

 
Dr. Uwe Falke
 
IT Specialist
High Performance Computing Services / Integrated Technology Services / 
Data Center Services
---
IBM Deutschland
Rathausstr. 7
09111 Chemnitz
Phone: +49 371 6978 2165
Mobile: +49 175 575 2877
E-Mail: uwefa...@de.ibm.com
---
IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: 
Thomas Wolter, Sven Schooß
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, 
HRB 17122 


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


Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 79, Issue 21: mmaddcallback documentation issue

2018-08-07 Thread Chase, Peter
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://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/General+Parallel+File+System+(GPFS)/page/Using+Policies
 

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
peter.ch...@metoffice.gov.uk


-Original Message-
From: gpfsug-discuss-boun...@spectrumscale.org 
 On Behalf Of 
gpfsug-discuss-requ...@spectrumscale.org
Sent: 06 August 2018 23:47
To: gpfsug-discuss@spectrumscale.org
Subject: gpfsug-discuss Digest, Vol 79, Issue 21

Send gpfsug-discuss mailing list submissions to
gpfsug-discuss@spectrumscale.org

To subscribe or unsubscribe via the World Wide Web, visit
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
or, via email, send a message with subject or body 'help' to
gpfsug-discuss-requ...@spectrumscale.org

You can reach the person managing the list at
gpfsug-discuss-ow...@spectrumscale.org

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 +
From: "Buterbaugh, Kevin L" 
To: gpfsug main discussion list 
Subject: [gpfsug-discuss] mmaddcallback documentation issue
Message-ID: <735f4275-191a-4363-b98c-1ea289292...@vanderbilt.edu>
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 
kevin.buterba...@vanderbilt.edu - 
(615)875-9633



-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Mon, 6 Aug 2018 15:46:39 -0700
From: "Eric Sperley" 
To: gpfsug main discussion list 
Subject: Re: [gpfsug-discuss] mmaddcallback documentation issue
Message-ID:



Content-Type: text/plain; charset="utf-8"

See if this helps
https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.1/com.ibm.spectrum.scale.v5r01.doc/bl1adm_mmaddcallback.htm




Best Regards, Eric




 

 

 
   Eric Sperley, PhD
 

 
   SDI Architect
 

 
 To improve is to change; to be perfect