Hi, On Sun, Jun 21, 2009 at 11:53:52PM +0200, Christoph Lechner wrote: > Hi all, > > I want my active/standby heartbeat setup (Version 2.1.4, CRM enabled) to > run a specific resource on the standby node only. The resource is a > Postfix null-client, that is the Postfix mailer is configured to accept > mail from port 25 over the loopback interface only, so programs running > on the machine don't see any difference when sending mail. So I can get > notification when the RAID status changes, etc. > > I guess I need a location constraint, but I wasn't able to figure out > what exactly to do.
Just make a location constraint with the score of -INFINITY for the active node. Then it won't ever run there. Thanks, Dejan > > - Christoph > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
