Commit Graph

223 Commits

Author SHA1 Message Date
jbjohnso
2c1d5a3bcb -Add plugin to facilitate bmcsetup-time fru rewrite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 23:14:14 +00:00
jbjohnso
96f440bf65 -Change 'writefrue' to 'rfrurewrite'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 22:57:53 +00:00
jbjohnso
78138f5a07 Add comment to ipmi.pm fru process explanation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 22:56:42 +00:00
jbjohnso
0797ff747f -Fix problem where period was not considered a valid character
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 20:01:54 +00:00
jbjohnso
3c8cd46525 -Have nodeset install prepare to deplay a captured image with imagex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-21 17:08:49 +00:00
nott
d6f525c949 fix no SPOT creation due to conflicting variable names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-21 14:38:33 +00:00
jbjohnso
4b0e3db9ea -Add 'nodeset winshell' to be like nodeset shell, but start an inferior OS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-20 22:26:48 +00:00
jbjohnso
3c3c75d237 Remove some debug statements from FRU manipulation code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-20 00:06:25 +00:00
jbjohnso
3750da296b -Implement writefru ipmi at last
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 21:15:01 +00:00
lissav
c83af0e76f fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 17:29:08 +00:00
jbjohnso
439175c675 -Update IPMI SDR cache version to force rebuild for SDR changes
-Further work on FRU reconstruction


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 14:41:14 +00:00
jbjohnso
88d2bd7b2d -Fix off-by-one extraction of FRU sections, come close to rewrite FRU feature completion (needs product area
reconstruction)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 03:31:20 +00:00
jbjohnso
4832ba0035 -Switch rinv over to new FRU area parsing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 00:38:58 +00:00
jbjohnso
d4cc7055bc -More FRU parsing updates (not hooked into any user-standard commands yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 20:54:08 +00:00
jbjohnso
98ccc3898a -Fix incorrect quote syntax in windows plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:47:20 +00:00
jbjohnso
301462ccbd -Strip a piece of debug output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:32:20 +00:00
jbjohnso
41700ddcb0 -Further fix formula manipulation flaw for non-type-1 sensors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:31:01 +00:00
jbjohnso
cc8ee4d81f -Fix a few perl sanity issues with sensor parsing.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:20:52 +00:00
jbjohnso
d3705c844e -Begin overhaul of IPMI standard FRU parsing to be more thorough and robust
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 03:48:13 +00:00
linggao
d6e89916a6 prepare for the new node status for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-17 19:06:45 +00:00
jbjohnso
31fe506e91 -Add Windows image capture support (deployment to follow)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-17 18:40:23 +00:00
jbjohnso
6d2b2cedad -Retry get channel authentication capabilities command without the IPMI 2.0 bit
if the first one receives '0xCC'.  The x336 BMC, for one, checks the values 
 of the 'reserved' bits instead of ignoring them.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-17 16:52:28 +00:00
jbjohnso
d7575664f5 -Fix IPMI plugin problem where a null chassis FRU would induce an unproductive error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 20:12:44 +00:00
linggao
d0280bf9a2 bug fix in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 15:31:17 +00:00
saiprakash
03b6bde737 PCP plugin: not tested in hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 15:25:26 +00:00
lissav
d704e968f2 remove preprocess
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 14:10:06 +00:00
saiprakash
41e1ea816b modified Ganglia plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 13:55:31 +00:00
lissav
94c1e24af8 remove preprocess
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 12:53:11 +00:00
lissav
1d16446c27 add checks for AIX remote shell setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-15 13:07:23 +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
linggao
9502050fec changes for first using /install/custom/.. directories for seaching the package list and template files for mkinstall and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 22:40:15 +00:00
jbjohnso
d0011e6ff8 -Fix problem where Table API called incorrectly by conserver with noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 15:12:03 +00:00
jbjohnso
9beaef4c8c -Fix malformed dhcpd configuration file creation by dhcp plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 13:56:48 +00:00
jbjohnso
2f3ab2c6c2 -Revert Table write/retrieval at nodeset time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 13:54:14 +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
lissav
a54c5cc27a change remote shell default to use rsh on AIX, if ssh is not installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 18:45:54 +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
linggao
49b8f12af5 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 04:43:33 +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
14600652bf Added special expressions for database table columns. Currently supported are "{hostname}", "{xcatmaster}". Any expression in braces is evaluated and replaced with some interpolated value. If expression is not defined, it's replaces by itself (ie. braces are deleted).
This feature helps keep database very clean and allows easier move of xCAT master from one host to another (define xcatmaster hostname on as few places as possible). Also will help HA setup.
Backwards compatible if not used. Has to be tested if used with service nodes.
In our environment we wanted to make xCAT highly available. Instead of some cluster solution we decided to install two independent xCAT masters. Using this feature we can have exactly the same xCAT database on two dirrefent nodes, so it's possible do backup on on node and restore on other node.
Usage example is in HA cookbook (TBD).


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:19:02 +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
nott
235c6de8f8 Add preprocess_request for service node support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:51:29 +00:00
sakolish
d48aee4d9e Added OpenSLP support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:44:45 +00:00
sikorsky
36121ff298 If option "conserverondemand" in site table is set to yes then start all consoles on demand.
This helps eliminate many ssh connections to blade AMM which seems to kill AMMs occasionally.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:07:26 +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