Commit Graph

6 Commits

Author SHA1 Message Date
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
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
bb9f393537 -Further nodeset 'netboot' improvements. moncfgmaster is the bulk of time now. moncfgmaster speedups are the next logical step. At scale setNodesAttribs call would be the one following that. Without moncfgmaster, the nodeset for 541 servers is now 15 seconds (mostly due to lack of setNodesAttribs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-11 19:02:39 +00:00
jbjohnso
e61fa1f2c3 -Speed up nodeset a small amount, still not hitting the lions share of the load yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-11 14:12:05 +00:00
jbjohnso
2b14f70321 -Add disc ids for CentOS5.2 copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-26 19:12:56 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00