[Pacemaker] Clone resource question
Michael Schwartzkopff
misch at multinet.de
Thu Jul 23 11:23:13 UTC 2009
Am Donnerstag, 23. Juli 2009 13:11:50 schrieb Pablo Florencio:
> 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.
How do you shut down the clone of the first node? Did you try to put the node
to shutdown and watch for the result?
When you want to build a HA firewall, did you read:
http://www.multinet.de/HAFirewall/HAFirewall.pdf
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: misch at multinet.de
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
More information about the Pacemaker
mailing list