xcat-core/xCAT-server/share/xcat/netboot/sles
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
..
compute.exlist
compute.pkglist
compute.postinstall Added sles/compute.postinstall example script (for genimage patch in rev 2119) 2008-09-10 14:40:45 +00:00
compute.repolist Added {profile}.repolist functionality. 2008-09-10 14:38:27 +00:00
copy_profile.sh Added share/xcat/netboot/sles/copy_profile.sh. 2008-09-10 14:46:59 +00:00
genimage 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
genimage.yum more on installing extra packages 2008-09-09 23:52:04 +00:00
geninitrd
service.exlist
service.pkglist