[Pacemaker] Clone resource question

Pablo Florencio pabloflorencio at cica.es
Thu Jul 23 07:11:50 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I'm trying to configure a clone resource that will
run in 2 nodes at the same time. After reading the
documentation I realized that I must setup it with
following options:

clone-max 2
clone-node-max 1

It seems to be working ok, however, when manually shutdown
this resource in first node, the same happens in the second one,
but I need it to keep running.

Am I using the wrong attrinutes? Any help will be very usefull.
This is the configuration of my clone resource:

<clone id="iptables_clone">
        <meta_attributes id="iptables_clone-meta_attributes">
          <nvpair id="iptables_clone-meta_attributes-target-role"
name="target-role" value="started"/>
          <nvpair id="iptables_clone-meta_attributes-clone-max"
name="clone-max" value="2"/>
        <nvpair id="iptables_clone-meta_attributes-clone-node-max"
name="clone-node-max" value="1"/></meta_attributes>
        <primitive class="lsb" id="iptables_service" type="iptables">
          <operations id="iptables_service-operations">
            <op id="iptables_service-op-monitor-15" interval="15"
name="monitor" start-delay="15" timeout="15"/>
          </operations>
          <meta_attributes id="iptables_service-meta_attributes">
            <nvpair id="iptables_service-meta_attributes-target-role"
name="target-role" value="started"/>
          </meta_attributes>
        </primitive>
      </clone>

Thank you so much.

- --
Pablo Florencio Jiménez     Área de Seguridad Informática
Centro Informático Científico de Andalucía (CICA)
Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)
Tfno.: +34 955 056 601 / FAX: +34 955 056 650
Consejería de Innovación, Ciencia y Empresa
Junta de Andalucía
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkpoRXYACgkQmDO16Fqz+/3TVACfZr2q//2HA6wO7ajR5ES+S+Mv
T/0AoMxSfr5/ozbiiBNK4SxgUDVvHnMh
=qHuA
-----END PGP SIGNATURE-----




More information about the Pacemaker mailing list