Commit Graph

65 Commits

Author SHA1 Message Date
jbjohnso
b849ef83e7 -Validate discovery source is in a dynamic range that xCAT controls
-Make MAC discovery contemplate the payload of a discovery packet rather than just contextual data


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 21:19:03 +00:00
jbjohnso
078aca4c5c -Correct typo in a SLES11 template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 16:35:54 +00:00
jbjohnso
21e2d129ad -Fix child handler order of operations in child reaper that caused hangs on management commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 18:42:57 +00:00
jbjohnso
20775a4377 -Have blade and ipmi plugins only decrease known child count when the child exiting belongs to it explicitly
-Have blade and ipmi plugin children wait longer for parent acknowledgement
-Ignore failure to deliver acknowledgements to children that give up and exit before that can occur


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 14:40:21 +00:00
ellen56
1b9a5bbb3d fix bug 2724400
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 09:13:01 +00:00
daniceexi
22eca9f60b reformat the response of getbladecons command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 09:23:42 +00:00
bp-sawyers
11977ffba4 - change inclusion of SNMP.pm back to a hard "use" stmt to fix bug 2691044
- a few db attr description improvements

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:39:38 +00:00
ellen56
5eb274f3a3 fixed bug2689619
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 10:03:15 +00:00
ellen56
1fe7325d56 fix bug2689625
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 09:26:30 +00:00
linggao
2779f579e1 performance tuning for node status updating for ipmi, blade,PPC, xen and kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 02:56:58 +00:00
linggao
0e6d28e1c2 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 23:56:42 +00:00
linggao
7850b36aa2 changed setting from nonodestatus to nodestatus :-)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:44:23 +00:00
linggao
cf1eb5011c added a site table attribute 'nonodestatus' so that the node status updates can be turned off during the node deployment, node discovery and node power on/off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 03:12:03 +00:00
linggao
529660fe6a removed dependencies on the xCAT-server package from perl-xCAT package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 21:36:49 +00:00
jbjohnso
0052950159 -Move more modules to load on demand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 16:00:35 +00:00
jbjohnso
c64f1f819e -Fix syntax error from previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 15:50:46 +00:00
jbjohnso
ed59575e36 -Reduce memory consumption through not moving modules into shorter lifetime
places


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 15:45:07 +00:00
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