Commit Graph

4 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
f2b253617b -Fix destination to follow xCAT 2.0 location
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-11 20:45:06 +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