A 2nd objective would be to allow disk partitioning to be specified as a 
variable associated with a node group, and not hard coded into the kickstart 
template.  Kickstart could select the appropriate partitioning include file, 
based on the value of this variable.

Ideally we'd be able to use the same kickstart file with nodes with different 
disk configurations, and then use a separate "partitioning-specifc" node group 
to specify the partitioning variable.

There might be different partitioning schemes for WSs with 1, 2, 4 disks,  etc, 
if the disk partitioning could be specified independently of the "ws" node 
profile, only one Kickstart template would be needed.

Otherwise each combination of "node type" and "disk configuration" requires a 
separate profile/kickstart template, which would be more difficult to maintain.


BTW:  Here's the error that's displayed when current_osimage is assigned a 
value:

[root@drdkvm0003 dump1]# chdef -t group -o cm-0.0 
noderes.current_osimage="repo-c6desres repo-anton-v2"
Error: 'noderes.current_osimage' is not a valid attribute name for for an 
object type of 'group'.
Error: Skipping to the next attribute.
Error: One or more errors occured when attempting to create or modify xCAT
object definitions.

Thanks,

Goran


From: Pocina, Goran
Sent: Friday, August 17, 2012 10:56 AM
To: [email protected]
Subject: [xcat-user] Adding noderes.current_osimage to valid attributes for 
"group" and "node" objects

Is it possible for users to add existing DB attributes to the list of valid 
attributes for the "group" or "node" objects?

For example, noderes.current_osimage and noderes.next_osimage are defined in 
the schema, and described by the "noderes" man page as "not currently used".

We'd like to use one of these fields to pass as a variable to the Kickstart 
template (by also adding it in the site table), so the kickstart file can 
determine at install time which version of a repo to use for the install.

We maintain our in-house software in a separate repos from which frequent 
snapshots are taken.   These snapshots are accessible by the MN http server.

The ultimate goal is to be able to switch a node from one version of the 
software, to another, by only changing its node group, and, to avoid having to 
maintain a separate Kickstart template and profile for each unique version of 
software.

Is this possible?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to