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
sikorsky
65af2acb5d
Accept comments in {profile}.pkglist and {profile}.exlist.
...
This can be useful to mark what is which package for, who requested it etc.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:16:15 +00:00
nott
3e376077eb
Add support to nimnodeset for multiple installp_bundle and script resources.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:14:07 +00:00
nott
6cae820e8f
Misc. cleanup for mknimimage and nimnodeset.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 13:53:00 +00:00
jbjohnso
66bddcad5d
-Switch to using symbolic rather than hard links as possible
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 22:28:30 +00:00
lissav
c185b7fddc
add comments only coded by Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 15:45:40 +00:00
lissav
ceefd9eb06
fix to work on AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 15:31:50 +00:00
lissav
cbb3e9250b
update to support AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 14:03:06 +00:00
lissav
1535e481f8
Add check to service node plugins that are not to run on AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 12:31:27 +00:00
jbjohnso
fd5fef885c
-Provide error message when passwd table being messed up precludes makedhcp from performing an operation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 23:12:41 +00:00
linggao
5a4cb12978
make updatenode to take noderange as the first parameter.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 20:59:07 +00:00
linggao
6ff1602d8e
added feature to install extra 3rd party rpms during cluster install process or after the fact (usning updatenode command).
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 18:54:30 +00:00
jbjohnso
28a84cd465
-Implement criteria similar to nodles to restrict nodech
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 20:43:03 +00:00
jbjohnso
010436cd68
-Allow // around regexes in nodels criteria selection
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:33:47 +00:00
jbjohnso
d0dc5dd96a
-Implement table selection criteria for nodels.
...
table.column==value will only show nodes where table.column is exactly value
table.column!=value will mask out nodes where table.column is exactly value
table.column=~regex will only show nodes where the table.column value matches regex
table.column!~regex will mask out nodes where the table.column value matches regex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 16:31:56 +00:00
jbjohnso
58eaf5f7ee
-Have copycds prefer udf when image has both iso9660 and udf (like MS media seems to)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 03:27:58 +00:00
jbjohnso
869ccb9f5f
-Finally check for IPMIv2 support (needs test against x336)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 03:22:40 +00:00
jbjohnso
45e3290cae
-Server side implementation of BMC config host based authentication
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:41:48 +00:00
jbjohnso
c428cafb63
-Give errors on makedns on certain evidently frequent weird things being tried unintentionally
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 21:55:07 +00:00
jbjohnso
f247b8293c
-Fix problem where terminal server conserver entries were not being done
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 21:49:25 +00:00
jbjohnso
939f1b91c9
-More enhancements for reventlog based on most recent IPMI markup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 19:09:49 +00:00
jbjohnso
d92ffbd000
-Enhance IPMI eventlog decoding of extra data in SEL
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 18:22:55 +00:00
jbjohnso
6ab7c3bf27
-IPMI reventlog 'all' now returns data as collected rather than all at the end
...
-IPMI reventlog reads are no longer susceptible to 'Invalid or cancelled reservation ID', only writes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 16:17:01 +00:00
jbjohnso
e615d58bf7
-Add in a number of IPMI 2.0 added event descriptions, and be more informative than 'No mappings found' in the event of unknown events
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 14:48:24 +00:00
jbjohnso
886b0dc575
-Change Xen default disk setup to create IDE drives for some Xen BIOSes and Windows stability
...
-Have dhcpd recognize Etherboot clients and presume x86 (Xen net boot support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:36:23 +00:00
lissav
a597e12173
fix missing library include
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-29 13:20:01 +00:00
jbjohnso
7784222627
-Implement power reset for Xen DomUs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-28 13:20:25 +00:00
nott
868d8f8282
Fix bug with creating mksysb defs.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-22 15:56:14 +00:00
nott
487b70b1d6
Misc. code cleanup.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-22 14:07:55 +00:00
jbjohnso
76b71bac72
-More verbose logging to prevent silent or vague errors
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-20 16:51:06 +00:00
jbjohnso
d7d36bd23f
-Have Xen plugin populate virtual disks from vm table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-20 16:48:23 +00:00
jbjohnso
1a19305701
-Implement memory based on table values
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-19 17:40:24 +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
e98cd07abe
-Fix xen cons error output formatting
...
-Change ipmi cons method to not query tables directly. This dramatically decreases DB load.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-16 13:41:14 +00:00
jbjohnso
a5f7beaffc
-Correct typo in previous checkin, give bind plugin a break for now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-14 20:27:39 +00:00
jbjohnso
2f900ff875
-Fix problem where makedns would fail without arguments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-14 12:47:48 +00:00
linggao
2a0c3001c7
changes in the RMC node status monitoring and HMC monitoring
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-13 16:00:04 +00:00
jbjohnso
aa07dbc4e5
-Change xen console and backend plugin relationship to use a specific command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 17:15:48 +00:00
jbjohnso
d1bd976a67
-Fix problem where copycds interrupted would not unmount images
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-11 18:36:10 +00:00
jbjohnso
400c655ae4
-Fix problem in 2.1 where noderm fails due to strict violation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-08 17:20:32 +00:00