Commit Graph

128 Commits

Author SHA1 Message Date
lissav
5a590d9762 fix handling of tables that have a reserved word as an attribute ( non- key attribute) as in the prodkey table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 12:32:23 +00:00
zhanx
c03a2eb120 Add ppctimeout, maxssh, ppcretry, fsptimeout for site table in Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-25 07:06:56 +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
lissav
17ec0a6889 assorted fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-24 19:17:35 +00:00
jbjohnso
0205d2b9dc -Fix problem in MacMap where unfinished SNMPv3 work caused existing SNMPv1 to fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 20:03:02 +00:00
jbjohnso
0d7b477ede -Change version to allow a short variant for some purposes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 17:39:06 +00:00
lissav
6dacf2db56 more fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 17:32:20 +00:00
jbjohnso
9e4dca69b2 -Remove duplicate definition of Version function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 17:25:24 +00:00
jbjohnso
eaae5e1051 -Check in barely enough code to remind about SNMPv3 switch support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 15:41:52 +00:00
jbjohnso
3d08b64cf1 -Change the place for the build script to modify
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 15:27:06 +00:00
jbjohnso
1c16855ef5 -Prepare to add svn rev/datecode to --version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-19 14:44:35 +00:00
jbjohnso
337cfe9d41 -Remove obsolete migration script from before 2.0 ever released
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 18:53:19 +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
9cac93c6a5 -Remove 2.0.x deprecated columns (were deprecated before 2.0 release)
-Add vpd.asset for storing an asset tag sort of value


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-17 18:44:10 +00:00
lissav
d1a6c61163 add callback to messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 14:11:50 +00:00
lissav
45d4ee4606 update usage message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 13:04:12 +00:00
lissav
abc0a55e5b minor fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-16 12:50:30 +00:00
lissav
57550eda6b add routine to stop/start xcatd on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-15 18:15:42 +00:00
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