You don't have to worry. Settings at the node level override settings at
the group level. If the attribute isn't set at the node level, the first
group that has it set is used.

It is documented here:
https://sourceforge.net/p/xcat/wiki/Node_Group_Support/ :

> The precedence for determining which value to use is to choose the
attribute value specified in the node definition if it is provided. If not,
then each static group that the node belongs to will be checked to see if
the attribute is set. The first value that is found is the value that is
used. The static groups are checked in the order that they are specified in
the "groups"attribute of the node definition.

One thing that I believe is *not* well defined is how xCAT behaves when the
attribute is a set - such as your postscripts example. My best guess (not
based on explicit documentation) is that the same reasoning holds. If the
node has postscripts a,b,c and the group has c,d,e, you would end up with
a,b,c, and not with a,b,c,d,e.


On Thu, Nov 9, 2017 at 6:23 AM, Keith Ball <kb...@redlineperf.com> wrote:

> Hello All,
>
> I have not found any xcat documentation on the following:
>
> 1.) Let's say I have a "compute" node group entry in the postscripts
> table, with a set of postscripts "a,b,c" defined (and possible
> postbootscripts). If I want to change this for just one node in the
> "compute" node group (e.g. compute01), so that just "a,b", or just "d,e"
> are run (in addition to any specified in "xcatdefaults"), what happens?
>
>   - Do the node-specific settings override, or append to what's set in the
> node group?
>
>   - In either case, is the behavior well-defined, or does it depend on the
> order in which the node group vs. node entry occur in the "postscripts"
> table?
>
>  - What if we have records in the postscripts for two overlapping node
> groups (a node is in both groups); what happens then?
>
>  2.) More generally (e.g. other tables like ipmi), is there a good way to
> make node-specific exceptions to node group settings, or does one just have
> to avoid using node group-based definitions completely (and define e.g.
> ipmi settings for every node separately)?
>
> Many Thanks,
>   Keith
>
> --
> Keith D. Ball, PhD
> RedLine Performance Solutions, LLC
> web:  http://www.redlineperf.com/
> email: kb...@redlineperf.com <aqualkenb...@redlineperf.com>
> cell: 540-557-7851 <(540)%20557-7851>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>


-- 

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS |
kke...@sandiego.edu
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859
<%28619%29%20260-2298>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to