Commit Graph

14 Commits

Author SHA1 Message Date
jbjohnso
722dd92743 Fix inheritance from multiple group level definitions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-26 16:10:29 +00:00
bp-sawyers
8b2fee5c16 Added descriptions to the db tables.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@545 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-21 21:10:35 +00:00
jbjohnso
ca5a8e36f0 -Stop-gap band-aid to have blade set XCATCFG for non-default operation
-Have Table attempt to fill in 'missing' columns for a result before returning undef, restoring intended behavior
-Have getAttribs return a single entry or an array depending on calling context


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-04 16:34:45 +00:00
jbjohnso
c7868bf082 -Remove error-inducing lines from templates (errors were in commented out template portions, so no functional impact).
-Revamp Table.pm to share database handles and have handles persist across object instances, avoiding numerous calls to connect in certain programmer use cases.
-Modify xfork to use the aforementioned structure rather than the generic structures which are warned as being read-only
-Remove probably deprecated interface field as a key in mac table


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 15:52:27 +00:00
jbjohnso
69e280dbf3 Fix setattribs sql statement structure for postgresql statement parse error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 22:15:26 +00:00
jbjohnso
4ff63ac90b Correct some unclosed table issues, implement a fork wrapper to clean DB handles, move NotifHandler and monitorctrl to use the aforementioned wrapper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:39:09 +00:00
jbjohnso
c8c7d356f0 -Report error on DB problems in chnode
-Fix UDP listening select semantics to allow clean exit again
-Alter lifespan of sitetab object in xcatd to avoid attempting to persist across forks (needed for PostgreSQL)
-Allow for possible quotation marks in DBI return data that happen in certain interactions with PostgreSQL
-Cleanup a few unfinished statements and unclosed tables, which might have adversely impacted DBI behavior


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 19:20:46 +00:00
jbjohnso
8836fd275d Add generic DBI attempts (oriented toward PostgreSQL so far, and not working correctly yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 02:15:55 +00:00
jbjohnso
c048ba409a Implement multi-nic discovery
-Table now returns multiple records if appropriate for getNodeAttribs (needed for switch table)
  -makedhcp moved to the ondiscover method (makedhcp not run until discovery method has a chance to modify mac table)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 22:19:17 +00:00
andywray
5653e63504 Set XCATROOT to default to /usr if no evironment variable and /opt/xcat does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 16:58:23 +00:00
linggao
b947a175a2 packaging changes. Default installation direcotry is /opt/xcat now. environmental variables XCATROOT, PATH and MANPATH got updated by installed the packages. Did not touch xCAT and xcatnbroot yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 19:15:28 +00:00
linggao
30bc521a90 added cron job functions in Utils.pm. Added monitoring table. Added status column in nodelist table. Added monserver column in noderes table. Added SetAttributesWhere function in Table.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@91 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-28 19:44:47 +00:00
jbjohnso
65bcb4e19e Fix yum repo location in rhel, check in a fix for leaking filehandles on Table object management (closing bug 1831291 on sourceforge)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@45 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-13 21:38:32 +00:00
jbjohnso
c99d72a179 Initial xCAT 2.0 import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-26 22:44:33 +00:00