Hi Jake,<br><br>thanks for reply!<br><br>To create my xml file I used the first configuration and this command:<br><br>cibadmin -Q &gt; Documentos/pacemaker-drbd7-02.xml<br><br>is that right? I mean, the better way.<br><br>
Thanks,<br>Felipe<br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 3:45 PM, Jake Smith <span dir="ltr">&lt;<a href="mailto:jsmith@argotec.com" target="_blank">jsmith@argotec.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
----- Original Message -----<br>
&gt; From: &quot;Felipe Gutierrez&quot; &lt;<a href="mailto:felipe.o.gutierrez@gmail.com">felipe.o.gutierrez@gmail.com</a>&gt;<br>
&gt; To: &quot;The Pacemaker cluster resource manager&quot; &lt;<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>&gt;, <a href="mailto:pacemaker@clusterlabs.org">pacemaker@clusterlabs.org</a><br>

&gt; Sent: Friday, February 22, 2013 1:38:07 PM<br>
&gt; Subject: [Pacemaker] all pacemaker configuration at one time<br>
&gt;<br>
&gt;<br>
&gt; Hi all<br>
&gt;<br>
&gt; I have on configuration that I want to push in the pacemaker at one<br>
&gt; time. How do I do it? Instead to use crm configure command and type<br>
&gt; all configurations?<br>
&gt;<br>
<br>
</div>crm configure load [replace|update] mycrmconfigfile<br>
<br>
More here:<br>
crm(live)configure# help load<br>
<br>
Load a part of configuration (or all of it) from a local file or<br>
a network URL. The `replace` method replaces the current<br>
configuration with the one from the source. The `update` tries to<br>
import the contents into the current configuration.<br>
The file may be a CLI file or an XML file.<br>
<br>
Usage:<br>
...............<br>
        load [xml] &lt;method&gt; URL<br>
<br>
        method :: replace | update<br>
...............<br>
Example:<br>
...............<br>
        load xml update myfirstcib.xml<br>
        load xml replace <a href="http://storage.big.com/cibs/bigcib.xml" target="_blank">http://storage.big.com/cibs/bigcib.xml</a><br>
...............<br>
<br>
crm(live)configure#<br>
<br>
<br>
HTH<br>
<br>
Jake<br>
<div><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; # crm configure property no-quorum-policy=ignore<br>
&gt; # crm configure property stonith-enabled=false<br>
&gt;<br>
&gt;<br>
&gt; primitive net_conn ocf:pacemaker:ping \<br>
&gt; params pidfile=&quot;/var/run/ping.pid&quot; \<br>
&gt; host_list=&quot;192.168.188.1&quot; \<br>
&gt; op start interval=&quot;0&quot; timeout=&quot;60s&quot; \<br>
&gt; op stop interval=&quot;0&quot; timeout=&quot;20s&quot; \<br>
&gt; op monitor interval=&quot;10s&quot; timeout=&quot;60s&quot;<br>
&gt;<br>
&gt; primitive cluster_ip ocf:heartbeat:IPaddr2 \<br>
&gt; params ip=&quot;192.168.188.20&quot; cidr_netmask=&quot;32&quot;\<br>
&gt; op monitor interval=&quot;10s&quot;<br>
&gt; primitive cluster_mon ocf:pacemaker:ClusterMon \<br>
&gt; params pidfile=&quot;/var/run/crm_mon.pid&quot;<br>
&gt; htmlfile=&quot;/var/tmp/crm_mon.html&quot;\<br>
&gt; op start interval=&quot;0&quot; timeout=&quot;20s&quot;\<br>
&gt; op stop interval=&quot;0&quot; timeout=&quot;20s&quot;\<br>
&gt; op monitor interval=&quot;10s&quot; timeout=&quot;20s&quot;<br>
&gt;<br>
&gt; primitive drbd_r8 ocf:linbit:drbd \<br>
&gt; params drbd_resource=&quot;r8&quot;\<br>
&gt; op monitor interval=&quot;60s&quot; role=&quot;Master&quot;\<br>
&gt; op monitor interval=&quot;59s&quot; role=&quot;Slave&quot;<br>
&gt;<br>
&gt; primitive drbd_r8_fs ocf:heartbeat:Filesystem \<br>
&gt; params device=&quot;/dev/drbd8&quot; directory=&quot;/mnt/drbd8&quot; fstype=&quot;ext3&quot;<br>
&gt;<br>
&gt; clone clone_net_conn net_conn \<br>
&gt; meta clone-node-max=&quot;1&quot; clone-max=&quot;2&quot;<br>
&gt;<br>
&gt; ms drbd_r8_ms drbd_r8 \<br>
&gt; meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot;<br>
&gt; clone-node-max=&quot;1&quot; notify=&quot;true&quot;<br>
&gt; location ms_drbd_r8-no-conn drbd_r8_ms \<br>
&gt; rule $id=&quot;ms_drbd_r8-no-conn-rule&quot; $role=&quot;Master&quot; -inf: not_defined<br>
&gt; pingd or pingd number:lte 0<br>
&gt; colocation fs_on_drbd inf: drbd_r8_fs drbd_r8_ms:Master<br>
&gt; order fs_after_drbd inf: drbd_r8_ms:promote drbd_r8_fs:start<br>
&gt;<br>
&gt; Thanks in advance!<br>
&gt; Felipe<br>
&gt;<br>
&gt; --<br>
&gt; --<br>
&gt; -- Felipe Oliveira Gutierrez<br>
&gt; -- <a href="mailto:Felipe.o.Gutierrez@gmail.com">Felipe.o.Gutierrez@gmail.com</a><br>
&gt; -- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a><br>
</div></div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started:<br>
&gt; <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b>