Commit Graph

20 Commits

Author SHA1 Message Date
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
jbjohnso
aebae7ac44 -Correct table name for password query
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-18 21:18:39 +00:00
jbjohnso
dfb5424f4c Change blade console method to avoid direct Table access, to alleviate SQL load and be throttled like other xCAT accesses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-16 14:44:41 +00:00
jbjohnso
04c1fda49e -Correct bug where rpower reset on blade would say 'on reset'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 13:50:01 +00:00
jbjohnso
b2a0709e44 -Correct assumption made in previous fix, have rpower stat work on blades again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 13:45:25 +00:00
jbjohnso
2f302250be -Fix rpower output to error on unsupported subcommands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 13:26:09 +00:00
jbjohnso
dc036fb59e -Fix problem where extremely large Bladecenter configurations could fail to execute a hardware management command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-21 17:41:23 +00:00
jbjohnso
e6d779fe5c -Correct a number of issues that 'use warnings' calls out. The rest requires lsslp changes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 20:21:33 +00:00
sakolish
e033970822 Fixed "rspconfig mm sshcfg" problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-09 14:07:19 +00:00
jbjohnso
dea60262d8 -Modify getNodesAttribs to have a listref per node instead of one hashref
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-07 19:08:26 +00:00
jbjohnso
21f3299737 -Modify blade plugin to use getNodesAttribs everywhere but getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-30 21:02:30 +00:00
sakolish
f21c59a272 Send telent commands (if any) before we open SNMP session
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-26 17:57:40 +00:00
sakolish
90ba172438 Removed "rspconfig build". Retrieving firmware level is already supported with "rinv firm"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 13:43:29 +00:00
jbjohnso
093f85a1eb -Quick hack for the new AMM BPET42D format and getmacs. However, increasingly, the blade situation is also getting too complex for the simple 'getmacs' type of functionality
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-17 23:29:15 +00:00
jbjohnso
ef2d4ada6b -Handle AMM BPET 42D firmware representation of JS-22 mac addresses for discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-17 23:25:47 +00:00
sakolish
dc81842370 More changes for multiple keys in "deps" table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-13 15:49:08 +00:00
sakolish
7781061fcf Added multiple keys to "deps" table (node,cmd)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-13 14:01:46 +00:00
jbjohnso
d349ea977b -Fix event log retrieval of bladecenter management modules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-12 02:19:27 +00:00
sakolish
25fae0de19 Modified telnetcmd() function to allow lsslp to call it to configure MMs after discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 19:10:38 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00