sikorsky 571c1bae2d Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover.
1) In initrd, bring up aside from main interface (genimage -i option) also other interfaces (-r option).
2) /etc/resolv.conf creation needed to be rewritten, othewise it gets confused by several dhcpcd records.
3) Fill database with MAC addresses for all interfaces. Since it't not possible to have several stanzas of the same name in dhcpd.conf, we need to define unique "alias" for every interface. For example, for host "host1" we will add '00:1A:64:5D:1B:84!host1e0|00:1A:64:5D:1B:86!host1e1' to macs table. Of course, this aliases have to be defined in DNS, otherwise makedhcp command will not use this aliases:
/etc/hosts:
10.217.249.232  host1   host1e0 host1e1
Since this are aliases (need not be nessesary), both interfaces get the same IP address during initrd, but this doesn't break anything.
  a) blades - changed getmacs function to gather all MAC addresses. Which interfaces we are interested in are defined in noderes.installnic or noderes.primarynic as "eth0|eth1".
  b) all other - TODO. We have only 8 non-blade nodes, so we fill database manually.
Backwards compatible:
      - if there is only one interface in noderes.installnic, getmacs function gathers only this one MAC address
      - if we run genimage without -r option, only one interface is brought up


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:04:32 +00:00
2008-09-09 21:08:48 +00:00
2008-08-19 15:44:44 +00:00
2008-07-22 20:08:44 +00:00
2008-06-26 14:24:34 +00:00
2008-07-23 19:36:25 +00:00
2008-07-09 12:53:09 +00:00
2008-07-22 13:37:19 +00:00
2008-07-22 15:04:17 +00:00
2008-08-22 15:06:00 +00:00

xCAT - eXtreme Cluster Administration Toolkit

xCAT is a toolkit for the deployment and administration of clusters.

For documentation on getting started with xCAT, see: 
http://xcat.svn.sourceforge.net/svnroot/xcat/xcat-core/trunk/xCAT-client/share/doc/xCAT2.pdf .

xCAT is made available as OSS under the EPL license:
http://www.opensource.org/licenses/eclipse-1.0.php

(This file is not packaged with the xCAT RPMs.  It is only here for those that look
at the source in SVN and want to know how to get started.  The README that is packaged
with xCAT is in perl-xCAT-2.0/README.)
Description
xCAT -- eXtreme Cloud Administration Toolkit. This is a mirror from git://git.code.sf.net/p/xcat/xcat-core
Readme 176 MiB
Languages
Perl 79.3%
Shell 10%
JavaScript 8.4%
Python 0.6%
PHP 0.4%
Other 1.1%