<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) Is there a way to start pacemaker and specify an xml file as the startup configuration?  Right now, I start openais/pacemaker, wait for DC election, then run cibadmin to load the file.  That&#39;s fine for now, but I want to automate this eventually.<br>

</blockquote><div> <br>I don&#39;t think it&#39;s possible.<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2) Is there any way to shorten the time for DC election?  I was hoping to be able to specify a cluster-delay shorter than 60s by loading an xml file at startup, and thereby shorten this election time.</blockquote><div><br>
crm configure property dc-deadtime=10s<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
3) I can&#39;t seem to specify either an rsc_defaults or op_defaults section in an xml file.  When I try to specify rsc_defaults for instance, syslog shows:<br>
<br>
ov 18 08:57:57 ubuntu_1 cibadmin: [27658]: info: Invoked: cibadmin --replace --xml-file 2rcordered_1_sticky.xml<br>
Nov 18 08:57:57 ubuntu_1 cib: [27081]: ERROR: Extra element rsc_defaults in interleave<br>
Nov 18 08:57:57 ubuntu_1 cib: [27081]: ERROR: Element configuration failed to validate content<br>
Nov 18 08:57:57 ubuntu_1 cib: [27081]: ERROR: Element cib failed to validate content<br>
Nov 18 08:57:57 ubuntu_1 cib: [27081]: WARN: cib_perform_op: Updated CIB does not validate against pacemaker-1.0 schema/dtd<br>
Nov 18 08:57:57 ubuntu_1 cib: [27081]: WARN: cib_diff_notify: Update (client: cibadmin, call:2): 0.7.3 -&gt; 3.29.1 (Update does not conform to the configured schema/DTD)</blockquote><div> <br>As the log suggested, the xml does not comform to pacemaker RelaxNG schema. If you look /usr/share/pacemaker/pacemaker-1.0.rng, the rsc_defaults requires element name &quot;meta_attributes&quot;. So please change it to this: </div>
<div> &lt;rsc_defaults&gt;<br>      &lt;meta_attributes id=&quot;testid&quot;&gt;<br>      
&lt;nvpair id=&quot;rsc-default-1&quot; name=&quot;resource-stickiness&quot; 
value=&quot;100&quot;/&gt;<br>      &lt;/meta_attributes&gt;<br>  &lt;/rsc_defaults&gt;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
4) I&#39;m trying to specify two collocated resources that don&#39;t have any startup dependency.  When I use the syntax:<br>
<br>
    &lt;constraints&gt;<br>
      &lt;rsc_colocation id=&quot;coloc-1&quot; score=&quot;INFINITY&quot;&gt;<br>
        &lt;resource_set id=&quot;collocated-set-1&quot; sequential=&quot;false&quot;&gt;<br>
          &lt;resource_ref id=&quot;eyes&quot;/&gt;<br>
          &lt;resource_ref id=&quot;clock&quot;/&gt;<br>
        &lt;/resource_set&gt;<br>
      &lt;/rsc_colocation&gt;<br>
    &lt;/constraints&gt;<br></blockquote><div>It does not seem correct. Please use crm configure command to configure the cluster rather than xml until you you become very famillar with it.<br>crm configure colocation coloc-1 inf: clock eyes<br>
Isn&#39;t it much simpler?<br><br> Thanks<br>hj<br></div></div><br>