On 08-03-11 11:11, "Dejan Muhamedagic" <[email protected]> wrote:
>Hi, > >On Tue, Mar 08, 2011 at 07:05:04AM +0000, Arthur B. Olsen wrote: >> But it will still give me an action failed for those nodes where fx >>nfs-kernel-server is not installed. And when both nfs nodes are down it >>will try to get it running on the sql servers > >Pacemaker will never try to run a resource on a node for which >its score is negative. Do you also get errors on probes >(monitor)? If so, then that should be either fixed in the RA or >you can just install nfs server packages. I get these errors on my mysql hosts: ERROR: lsb:nfs-common: could not parse meta-data: ERROR: lsb:nfs-common: no such resource agent ERROR: lsb:nfs-kernel-server: could not parse meta-data: ERROR: lsb:nfs-kernel-server: no such resource agent I could install the nfs software on the mysql servers and mysql on the nfs server. But it does not seem like an elegant solution. > >Thanks, > >Dejan > >> Arthur B Olsen >> Føroya Tele >> +298 243392 >> +298 303392 >> >> On 07/03/2011, at 21.27, "Glenn Elliott" >><[email protected]<mailto:[email protected]>> wrote: >> >> Does a location rule help? >> >> node <http://node1.foo.com> node1.foo.com<http://node1.foo.com> >> node <http://node2.foo.com> node2.foo.com<http://node2.foo.com> >> primitive node1-ip ocf:heartbeat:IPaddr \ >> params ip="10.56.0.10" cidr_netmask="24" \ >> op monitor interval="10s" >> location exclude_node node1-ip -inf: <http://node1.foo.com> >>node1.foo.com<http://node1.foo.com> >> >> >> >>> On 8/03/2011 at 5:58 am, in message >><[email protected]<mailto:[email protected]>>, >>[email protected]<mailto:[email protected]> wrote: >> Beware: sorcerer's apprentice advice: >> >> What about Lars' double negation trick of having an -infinite rule >> applied to this resource living in other than the two "good" nodes ? >> >> -Carlos >> >> Arthur B. Olsen @ 07/03/2011 15:02 -0300 dixit: >> > I was wondering how to make a resource not to run on a certain host. >>I have two nfs servers an two mysql server in one cluster. Now i get >>failed actions because nfs is not installed on mysql an visa versa. >> > >> > Maybe this is trivial, but it has escaped me >> > >> > Thanks >> > >> > >> > Arthur B Olsen >> > Føroya Tele >> > +298 243392 >> > +298 303392 >> > _______________________________________________ >> > Pacemaker mailing list: <mailto:[email protected]> >>[email protected]<mailto:[email protected]> >> > <http://oss.clusterlabs.org/mailman/listinfo/pacemaker> >>http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> > >> > Project Home: <http://www.clusterlabs.org/> http://www.clusterlabs.org >> > Getting started: >><http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> >>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> > Bugs: >><http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemake >>r> >>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >> >> -- >> Carlos G Mendioroz <[email protected]<mailto:[email protected]>> LW7 >>EQI Argentina >> >> _______________________________________________ >> Pacemaker mailing list: <mailto:[email protected]> >>[email protected]<mailto:[email protected]> >> >><http://oss.clusterlabs.org/mailman/listinfo/pacemaker>http://oss.cluster >>labs.org/mailman/listinfo/pacemaker >> >> Project Home: <http://www.clusterlabs.org/> http://www.clusterlabs.org >> Getting started: >><http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> >>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: >><http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemake >>r> >>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >> >> ********************************************************************** >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they >> are addressed. If you have received this email in error please notify >> the system manager. >> >> This footnote also confirms that this email message has been virus >> scanned and although no viruses were detected by the system, St >>Vincents & >> Mater Health Sydney accepts no liability for any consequential damage >> resulting from email containing any computer viruses. >> >> Please consider the environment before printing this. >> >> ********************************************************************** >> >> _______________________________________________ >> Pacemaker mailing list: <mailto:[email protected]> >>[email protected]<mailto:[email protected]> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: <http://www.clusterlabs.org> http://www.clusterlabs.org >> Getting started: >><http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf> >>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: >><http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemake >>r> >>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > >> _______________________________________________ >> Pacemaker mailing list: [email protected] >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: >>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > >_______________________________________________ >Pacemaker mailing list: [email protected] >http://oss.clusterlabs.org/mailman/listinfo/pacemaker > >Project Home: http://www.clusterlabs.org >Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >Bugs: >http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker _______________________________________________ Pacemaker mailing list: [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
