On 01/13/2012 10:34 AM, Niclas Müller wrote: > I've got it that apache and failover-ip runns on the cluster. I'm haning > on the problem that hearbeat starts apache on node1 and failover-ip on > node2 if both of them are running. Only if one node is offline, both > resources are running on the online node. > > How can i say pacemaker - run this two resources only on one node > everytime ?
you need constraints ... don't stop reading documentation ;-) Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > > > > On 01/13/2012 08:39 AM, Niclas Müller wrote: >> Is it necessary to put services like drbd, apache or mysql into >> pacemaker as a resource ? >> It worked without that, but is it better to add this as a service ? >> >> >> On 01/13/2012 01:59 AM, Andreas Kurz wrote: >> >>> Hello, >>> >>> On 01/12/2012 11:29 PM, Niclas Müller wrote: >>> >>> >>>> That the VirtualIP isn't shown by 'ifconfig -a' is realy nice, because i >>>> made my failed search on this because of this howto : >>>> >>>> http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster >>>> >>>> >>> You follow a howto from the year 2006? ... anyway, ifconfig would show >>> the IP because you used IPaddr and not IPaddr2 RA .... >>> >>> >>> >>>> >>>> >>>> Im going to understand now all. I've configurated a resource for >>>> failover-ip from your link, but get this error page. Pacemaker cannot >>>> start resource failover-ip >>>> >>>> >>> of course you already have an interface up in this network? The resource >>> agent only adds secondary addresses .... >>> >>> And you should find most logging information on your DC - node2 in >>> /var/log/{syslog,daemon.log) >>> >>> Regards, >>> Andreas >>> >>> >>> >>> >>> _______________________________________________ >>> Linux-HA mailing list >>> Linux-HA@lists.linux-ha.org >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>> See also: http://linux-ha.org/ReportingProblems >>> >> _______________________________________________ >> Linux-HA mailing list >> Linux-HA@lists.linux-ha.org >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems