Disk-layout for some special nodes out of many

Carsten Aulbert carsten.aulbert at aei.mpg.de
Thu Jun 25 18:19:08 CEST 2009


Hi,

I have the following problem. Imagine I have about 20 machines which are
defined in under classes as (with case $(hostname) around it):


group*)
	echo "CLASS_A CLASS_B CLASS_C CLASS_D"

Then I have a few nodes out of these which need to get a differnt disk
layout, but apart from this, they they should be exactly the same, thus
I put this before the line above:

group*4)
	echo "CLASS_A CLASS_B CLASS_C CLASS_D CLASS_E"

Hoever, now I have the problem that there are conflicting disk
configurations:

disk_config/CLASS_D as well as disk_config/CLASS_E

I have not found the place yet where this is decided, since the first
time I tested this on one box, it just worked and I never made it work
on another box.

Right now I only see two ways out here:

(1) use the hostname as the disk_config/NAME as this seems to be a high
priority class
(2) create a disk_config for each group, e.g.

disk_config/GROUP_STANDARD and disk_config/GROUP_SPECIAL

and edit the files defiening the classes to refelct this.

However, it would be nice to give priorities to classes, is this
possible somehow?

Cheers

Carsten


More information about the linux-fai mailing list