[gpfsug-discuss] changing default configuration values
Aaron Knister
aaron.s.knister at nasa.gov
Mon Oct 9 19:55:45 BST 2017
Thanks John!
Funnily enough playing with node classes is what sent me down this path.
I had a bunch of nodes defined (just over 1000) with a lower pagepool
than the default. I then started using nodeclasses to clean up the
config and I noticed that if you define a parameter with a nodeclass it
doesn't override any previously set values for nodes in the node class.
What I mean by that is if you do this:
- mmchconfig pagepool=256M -N n001
- add node n001 to nodeclass mynodeclass
- mmchconfig pagepool=256M -N mynodeclass
after the 2nd chconfig there is still a definition for pagepool=256M for
node n001. I tried to clean things up by doing "mmchconfig
pagepool=DEFAULT -N n001" however the default value of the pagepool in
our config is 1024M not the "1G" mmchconfig expects as the defualt value
so I wasn't able to remove the explicit definition of pagepool for n001.
What I ended up doing was an "mmchconfig pagepool=1024M -N n001" and
that removed the explicit definitions.
-Aaron
On 10/9/17 4:38 AM, John Hearns wrote:
> Aaron,
>
> The reply you just got her is absolutely the correct one.
>
> However, its worth contributing something here. I have recently bene
> dealing with the parameter verbsPorts – which is a list of the
> interfaces which verbs should use. I found on our cluyster it was set to
> use dual ports for all nodes, including servers, when only our servers
> have dual ports. I will follow the advice below and make a global
> change, then change back the configuration for the server.
>
> It is worth looking though at mmllnodeclass –all
>
> There is a rather rich set of nodeclasses, including clientNodes
> managerNodes nonNsdNodes nonQuorumNodes
>
> So if you want to make changes to a certain type of node in your cluster
> you will be able to achieve it using nodeclasses.
>
> Bond, James Bond
>
> commander.bond at mi6.gov.uk
>
> *From:* gpfsug-discuss-bounces at spectrumscale.org
> [mailto:gpfsug-discuss-bounces at spectrumscale.org] *On Behalf Of *IBM
> Spectrum Scale
> *Sent:* Saturday, October 07, 2017 5:07 AM
> *To:* gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
> *Cc:* gpfsug-discuss-bounces at spectrumscale.org
> *Subject:* Re: [gpfsug-discuss] changing default configuration values
>
> Hi Aaron,
>
> The default value applies to all nodes in the cluster. Thus changing it
> will change all nodes in the cluster. You need to run mmchconfig to
> customize the node override again.
>
>
> Regards, The Spectrum Scale (GPFS) team
>
> ------------------------------------------------------------------------------------------------------------------
> If you feel that your question can benefit other users of Spectrum Scale
> (GPFS), then please post it to the public IBM developerWroks Forum at
> https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fforums%2Fhtml%2Fforum%3Fid%3D11111111-0000-0000-0000-000000000479&data=01%7C01%7Cjohn.hearns%40asml.com%7C97a5b2e31ea04ddcb9aa08d50d30994c%7Caf73baa8f5944eb2a39d93e96cad61fc%7C1&sdata=t5CHQ2X5P9TqSBRoPRstLk6cOBWM2CEezSnafn06zic%3D&reserved=0>.
>
>
> If your query concerns a potential software error in Spectrum Scale
> (GPFS) and you have an IBM software maintenance contract please contact
> 1-800-237-5511 in the United States or your local IBM Service Center in
> other countries.
>
> The forum is informally monitored as time permits and should not be used
> for priority messages to the Spectrum Scale (GPFS) team.
>
> Inactive hide details for Aaron Knister ---10/06/2017 06:30:20 PM---Is
> there a way to change the default value of a configuratiAaron Knister
> ---10/06/2017 06:30:20 PM---Is there a way to change the default value
> of a configuration option without overriding any overrid
>
> From: Aaron Knister <aaron.s.knister at nasa.gov
> <mailto:aaron.s.knister at nasa.gov>>
> To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org
> <mailto:gpfsug-discuss at spectrumscale.org>>
> Date: 10/06/2017 06:30 PM
> Subject: [gpfsug-discuss] changing default configuration values
> Sent by: gpfsug-discuss-bounces at spectrumscale.org
> <mailto:gpfsug-discuss-bounces at spectrumscale.org>
>
> ------------------------------------------------------------------------
>
>
>
>
> Is there a way to change the default value of a configuration option
> without overriding any overrides in place?
>
> Take the following situation:
>
> - I set parameter foo=bar for all nodes (mmchconfig foo=bar)
> - I set parameter foo to baz for a few nodes (mmchconfig foo=baz -N
> n001,n002)
>
> Is there a way to then set the default value of foo to qux without
> changing the value of foo for nodes n001 and n002?
>
> -Aaron
>
> --
> Aaron Knister
> NASA Center for Climate Simulation (Code 606.2)
> Goddard Space Flight Center
> (301) 286-2776
> _______________________________________________
> 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=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=PvuGmTBHKi7CNLU4X2GzUXkHzzezwTSrL4EdgwI0wrk&s=ma-IogZTBRL11_4zp2l8JqWmpHajoLXubAPSIS3K7GY&e=
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss%26d%3DDwICAg%26c%3Djf_iaSHvJObTbx-siA1ZOg%26r%3DIbxtjdkPAM2Sbon4Lbbi4w%26m%3DPvuGmTBHKi7CNLU4X2GzUXkHzzezwTSrL4EdgwI0wrk%26s%3Dma-IogZTBRL11_4zp2l8JqWmpHajoLXubAPSIS3K7GY%26e%3D&data=01%7C01%7Cjohn.hearns%40asml.com%7C97a5b2e31ea04ddcb9aa08d50d30994c%7Caf73baa8f5944eb2a39d93e96cad61fc%7C1&sdata=5lExYU16kIc0BHniK%2B18aaDru%2B3amJgH9h0CNwkAx0k%3D&reserved=0>
>
>
>
>
> -- The information contained in this communication and any attachments
> is confidential and may be privileged, and is for the sole use of the
> intended recipient(s). Any unauthorized review, use, disclosure or
> distribution is prohibited. Unless explicitly stated otherwise in the
> body of this communication or the attachment thereto (if any), the
> information is provided on an AS-IS basis without any express or implied
> warranties or liabilities. To the extent you are relying on this
> information, you are doing so at your own risk. If you are not the
> intended recipient, please notify the sender immediately by replying to
> this message and destroy all copies of this message and any attachments.
> Neither the sender nor the company/group of companies he or she
> represents shall be liable for the proper and complete transmission of
> the information contained in this communication, or for any delay in its
> receipt.
>
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at spectrumscale.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
--
Aaron Knister
NASA Center for Climate Simulation (Code 606.2)
Goddard Space Flight Center
(301) 286-2776
More information about the gpfsug-discuss
mailing list