xcat-core/xCAT-server
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
..
bin -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
etc -xCATd init script polish for RH functions 2008-06-26 14:45:51 +00:00
lib/xcat Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover. 2008-09-10 15:04:32 +00:00
sbin more on installing extra packages 2008-09-09 21:08:48 +00:00
share/xcat Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover. 2008-09-10 15:04:32 +00:00
LICENSE.html -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
xCAT-server.spec moved confGang from xCAT-server package to xCAT package 2008-08-18 20:04:40 +00:00
xcatd.rc -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00