Commit Graph

110 Commits

Author SHA1 Message Date
jbjohnso
09c9b1110f -Revert expression modification to Table for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 13:47:09 +00:00
linggao
8c143d78a6 allow user to add customization of pkg lists under /install/custom dir. more work on installing extra packages in xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 22:03:01 +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
98aa5626fd Correct the scope of ''
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 01:57:01 +00:00
jbjohnso
7be4bcfbd8 -Specify scope of 'out' variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 01:53:44 +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
sakolish
ec546f9e76 Added new "lsslp" option switchs for OpenSLP support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 15:51:47 +00:00
linggao
42a4fb0e5e more work on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 00:20:02 +00:00
linggao
2f4f7acab5 more on installing extra packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 21:08:48 +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
d97bf616bc -Fix problem in Table caching where nodelist table tramples it's own cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-07 21:08:13 +00:00
jbjohnso
6be291dae8 Add switches table to configure the paramaters to interrogate switches with
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:13:56 +00:00
jbjohnso
2852956e88 -Change noderes column that would be used for expanding a nodes 'default' name from nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:05:59 +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
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
2066d2619a -Fix SQLite functionality to work with new MySQL friendly Table schema syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:40:01 +00:00
lissav
4218cc27fd default some options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-29 13:18:49 +00:00
lissav
58e8372613 improve help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-29 12:14:16 +00:00
jbjohnso
31da9cc399 -Fix problem where invalid SQL was generated in previous Table update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-27 21:19:18 +00:00
jbjohnso
215e7bd7e3 -Add cmdinterface column to noderes table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-27 19:09:10 +00:00
lissav
e3f2a2df37 Change to support MySQL
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-26 13:43:31 +00:00
lissav
2c1ca63a3d change calls to syslog to MsgUtils interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-22 16:22:58 +00:00
nott
6b83f0d1fb Fix bug reading stanza file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-22 14:13:28 +00:00
lissav
731378dbf1 Add comments about Reserved words
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-20 17:48:40 +00:00
jbjohnso
6636fb1fca -Fix regular expression without arithmetic expansion in |||
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-20 16:47:39 +00:00
jbjohnso
a65bb3d85c Fix typo in sensor event decoding for IPMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-14 12:49:25 +00:00
jbjohnso
9c0da486aa -Change MsgUtils function to not fork logger
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 17:21:08 +00:00
lissav
6239f76d54 fix error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 14:00:31 +00:00
lissav
ef5f9c598b Change to using logger for syslog instead of perl interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-10 12:47:08 +00:00
lissav
f04e454432 add sinv basic function working, needs work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-08 13:20:20 +00:00
linggao
4073a1f692 fixed spec files so that the rpms can be built on Redhat and Fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-04 14:25:15 +00:00
bp-sawyers
deda80a245 Major updates to man pages and linux cookbook, including addition of object definition man pages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-02 16:18:07 +00:00
nott
739ca852f7 fix lsdef group output to give regex - and not exanded value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-01 16:44:58 +00:00
lissav
347eff6788 Remove incorrect comment about supporting only SQLite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-30 12:55:42 +00:00
jbjohnso
0cc1c7f198 -Fix Table bug where things that weren't a regex were treated as such
-Add columns to track serial console pointer and rvid pointer in VM table
-Clean up Xen rpower, store system serial and video information


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-30 03:10:08 +00:00
nott
3e322fd630 add mgtifname to network definition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-29 17:51:33 +00:00
jbjohnso
58a0b0dddf -Add a UUIDv4 genUUID utility function
-Add a tentative vm table for comments/review
-Start a Xen plugin (requires Sys::Virt to actually work)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-28 13:48:15 +00:00
lissav
b3cc3d8ae1 add use strict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-24 14:36:56 +00:00
memotype
5eabe8b8bc some minor clean-up...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 19:36:25 +00:00
sakolish
6c68e04dc5 Fix [2017647] rpower report "Node not defined in 'nodetype' database"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 12:33:27 +00:00
nott
593ba85f62 Add mkAIXsnap build script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-22 13:37:19 +00:00
lissav
5635e5c421 fix bad comment in isMN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-21 18:03:47 +00:00
lissav
ffe2b0d16f mark IPV6TODP for routines that will not work under IPV6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 13:44:38 +00:00
lissav
cbd62c91be add use strict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 12:30:22 +00:00
lissav
d3d963f6fb add use strict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 12:03:02 +00:00
lissav
e93617e36f add use strict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 12:02:22 +00:00
jbjohnso
cde3cf828e -Change noderange to make , lower precedence operator than @
-Have xCAT metapackage ensure the expected permissions on ssh public key on the postscripts section.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-17 13:44:56 +00:00
jbjohnso
058cceb692 -Add floppy parameter to rsetboot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-14 15:33:06 +00:00
jbjohnso
8da81ece39 -Fix syntax error in Table.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-14 14:35:54 +00:00