On 03/16/2017 04:01 AM, Frank Fiene wrote: > OK, but with the parameter INFINITY?
Correct, that makes it mandatory, so virtual_ip can only run where there is a running instance of proxy. > I am not sure that this prevents Apache for running on the host without the > virtual IP. You configured apache as a clone, so it will run on all nodes, regardless of where the IP is -- but the IP would only be placed where apache is successfully running. >> Am 15.03.2017 um 15:15 schrieb Ken Gaillot <kgail...@redhat.com>: >> >> Sure, just add a colocation constraint for virtual_ip with proxy. >> >> On 03/15/2017 05:06 AM, Frank Fiene wrote: >>> Hi, >>> >>> Another beginner question: >>> >>> I have configured a virtual IP resource on two hosts and an apache resource >>> cloned on both machines like this >>> >>> pcs resource create virtual_ip ocf:heartbeat:IPaddr2 params ip=<ip-address> >>> op monitor interval=10s >>> pcs resource create proxy lsb:apache2 >>> statusurl="http://127.0.0.1/server-status" op monitor interval=15s clone >>> >>> >>> Will the IP failover if the Apache server on the Master has a problem? >>> The Apache is just acting as a proxy, so I thought it would be faster to >>> have it already running on both machines. >>> >>> >>> Kind Regards! Frank >>> — >>> Frank Fiene >>> IT-Security Manager VEKA Group >>> >>> Fon: +49 2526 29-6200 >>> Fax: +49 2526 29-16-6200 >>> mailto: ffi...@veka.com >>> http://www.veka.com >>> >>> PGP-ID: 62112A51 >>> PGP-Fingerprint: 7E12 D61B 40F0 212D 5A55 765D 2A3B B29B 6211 2A51 >>> Threema: VZK5NDWW >>> >>> VEKA AG >>> Dieselstr. 8 >>> 48324 Sendenhorst >>> Deutschland/Germany >>> >>> Vorstand/Executive Board: Andreas Hartleif (Vorsitzender/CEO), >>> Dr. Andreas W. Hillebrand, Bonifatius Eichwald, Elke Hartleif, Dr. Werner >>> Schuler, >>> Vorsitzender des Aufsichtsrates/Chairman of Supervisory Board: Ulrich Weimer >>> HRB 8282 AG Münster/District Court of Münster _______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org