48 Commits

Author SHA1 Message Date
jbjohnso
8b476545d6 -Change places in blade and ipmi plugin where error output was not treated like error output
-Add wvid support for certain service processor builds in ipmi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 18:33:59 +00:00
jbjohnso
1e5a470fdd -Fix the new boot devices for blade boot sequence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-21 14:44:54 +00:00
jbjohnso
2e27fa0a62 -Update blade plugin with parameters in newer firmware mib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-21 12:53:29 +00:00
jbjohnso
b9f440262f -Have blade plugin die a little more gracefully in a hypothetical failure in SNMP processing, still needs to be more specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-01 00:07:20 +00:00
jbjohnso
c52ece42d8 -Fix typo in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-21 20:57:32 +00:00
jbjohnso
2e4ad2d442 -Fix problem where snmp destinations could not be set once the SNMP was up and running on AMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-21 20:52:09 +00:00
jbjohnso
86124e90bd -Add another URL used by AMM firmware to present wvid parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-21 20:20:44 +00:00
jbjohnso
6e1fdd0c2b -Reformat temperatures coming from a BladeCenter to conform to the look of the IPMI plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 20:52:15 +00:00
jbjohnso
e2a7fa2a53 -Preclude sending of ba parameter for rvid (too risky)
-Block attempts to use the BPET42T compatible code (requires insecure behavior, mandate BPET46C or newer)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-10 18:28:08 +00:00
jbjohnso
2bf09e3e76 -Fix passing of port argument
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-09 20:51:37 +00:00
jbjohnso
57528d3822 -Fix to work with BPET42R and 46C with all required parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-09 20:40:25 +00:00
jbjohnso
342ac47dd3 -Accomodate disparate AMMs a bit more readily in rvid
-Accomodate a few more AMM firmware revisions


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-09 16:26:40 +00:00
jbjohnso
05b4df7c71 -Add rvid for AMM (BPET46C tested)
-Have nodech implement explicit blank override of group level attributes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-09 15:23:12 +00:00
jbjohnso
e95f4c53e9 -Add softoff to blade and ipmi rpower implementations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-13 15:16:41 +00:00
linggao
183eef7202 handle no-op situation for node status update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-03 17:46:31 +00:00
linggao
e2a4902ef1 more on node status update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-02 21:25:57 +00:00
linggao
7e52eff678 more on node status. supports aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 23:07:45 +00:00
linggao
1f661e7f08 added function for showing node status in nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-25 03:04:56 +00:00
jbjohnso
922b1b4a55 -Rework blade LED code to be less wordy when LEDs out and faster in retrieving them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-13 20:17:17 +00:00
jbjohnso
080b4338e5 -Rework the fanpack query, put them in blade output (PSU fans feed side intakes of blades with high speed daughtercards, so it's relevant)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-13 18:56:27 +00:00
jbjohnso
0f4b93c735 -Work blower status back into per-blade output, but only interregate chassis once for the data.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-13 16:32:22 +00:00
jbjohnso
201309330b -Suppress empty lines commonly used to denote lack of data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 01:16:59 +00:00
jbjohnso
12e44ea015 -Significant speedup for vitals query on blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 01:11:45 +00:00
jbjohnso
6b8b8117f6 -Someone used windows to edit the file... Un-mess it up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 01:08:49 +00:00
sakolish
19a8596b90 Fixed rspconfig primary/redundant MM problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 18:22:29 +00:00
jbjohnso
7852b3ca62 -Negative/zero slot ids have been used by some to indicate a management module, may not be the best way, but provide compatibility for those scenarios, part 2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 02:26:39 +00:00
jbjohnso
71ec72fa49 -Negative/zero slot ids have been used by some to indicate a management module, may not be the best way, but provide compatibility for those scenarios
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 02:18:58 +00:00
sikorsky
580ba6bea2 Improved rvitals for blades . Now can differentiate between blade node and blade AMM (each has different vitals). More vitals supported (ie. leds, cooling, power etc.).
TODO: update man page (how?)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:04:33 +00:00
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