[Linux-HA] where does the custom xml config (cib.xml?) go?

Alan Robertson alanr at unix.sh
Sun Aug 14 20:05:26 MDT 2005


Ken Chase wrote:
> Hopefully the moderator deletes my held posts. Posted from the wrong
> address and i've written a less frustrated and shorted post :)
> 
> The documentation isnt clear where you put all your xml directives
> for location constraints and what not. cib.xml seems to be machine
> generated.
> 
> The documentation talks about converting your haresources file, but
> apparently the new format isnt the xml like in the cib.xml file (again,
> a generated file in /var).
> 
> So I am wondering where all these xml directives of location constraints
> and rules and all the rest go, if we're not to touch cib.xml. The
> documentation doesnt seem to mention it ever at all, it just says
> "here's a config for active/active" but doesnt say where to put it.
> 
> (I figured out it doesnt go into haresources the hard way -
> the startup of the ResourceManager script causes it to barf on the
> haresources file when it has xml in it :(
> 
> Seems like a pretty simple thing, but here I am very stuck on this silly
> issue. Hopefully there's a simple place in the online docs that someone
> will give me where I smack myself in the head and go "doh! how did I
> miss that!" cuz I've really looked around the site (my excuse is that
> im working on a canadian holiday and have been at work > 12 hrs now... :(
> 


For getting started, just put it in the /var/lib/heartbeat/crm 
directory.  It is machine generated - once you start things up.  So, 
shut things down, get rid of all copies, replace one of them with yours, 
and away you go.

 From then on, you should use the cibadmin tool to modify it - or you 
have to shut the whole cluster down.

ResourceManager is for R1-style-clusters only.

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the Linux-HA mailing list