571c1bae2d
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 |
||
---|---|---|
.. | ||
dsh/Context | ||
monitoring | ||
plugins | ||
shfunctions |