Re: [Pacemaker] Exclude resource from host

2011-03-09 Thread Arthur B. Olsen


On 08-03-11 11:11, Dejan Muhamedagic deja...@fastmail.fm wrote:

Hi,

On Tue, Mar 08, 2011 at 07:05:04AM +, 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
gelli...@stvincents.com.aumailto:gelli...@stvincents.com.au wrote:
 
 Does a location rule help?
 
 node http://node1.foo.com node1.foo.comhttp://node1.foo.com
 node http://node2.foo.com node2.foo.comhttp://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.comhttp://node1.foo.com
 
 
  On 8/03/2011 at 5:58 am, in message
4d752aef.1070...@huapi.ba.armailto:4d752aef.1070...@huapi.ba.ar,
t...@huapi.ba.armailto:t...@huapi.ba.ar 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:Pacemaker@oss.clusterlabs.org
Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
  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  t...@huapi.ba.armailto:t...@huapi.ba.ar  LW7
EQI  Argentina
 
 ___
 Pacemaker mailing list: mailto:Pacemaker@oss.clusterlabs.org
Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
 
http://oss.clusterlabs.org/mailman/listinfo/pacemakerhttp://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:Pacemaker@oss.clusterlabs.org
Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
 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: Pacemaker@oss.clusterlabs.org
 

Re: [Pacemaker] Exclude resource from host

2011-03-09 Thread Dejan Muhamedagic
On Wed, Mar 09, 2011 at 10:16:31AM +, Arthur B. Olsen wrote:
 
 
 On 08-03-11 11:11, Dejan Muhamedagic deja...@fastmail.fm wrote:
 
 Hi,
 
 On Tue, Mar 08, 2011 at 07:05:04AM +, 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

These are errors you get from the crm shell. They have nothing to
do with the issue you reported. IIRC, if your configuration
stated that this is an asymmetrical cluster (which it actually
is), the shell wouldn't complain about missing agents.

Thanks,

Dejan

 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
 gelli...@stvincents.com.aumailto:gelli...@stvincents.com.au wrote:
  
  Does a location rule help?
  
  node http://node1.foo.com node1.foo.comhttp://node1.foo.com
  node http://node2.foo.com node2.foo.comhttp://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.comhttp://node1.foo.com
  
  
   On 8/03/2011 at 5:58 am, in message
 4d752aef.1070...@huapi.ba.armailto:4d752aef.1070...@huapi.ba.ar,
 t...@huapi.ba.armailto:t...@huapi.ba.ar 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:Pacemaker@oss.clusterlabs.org
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
   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  t...@huapi.ba.armailto:t...@huapi.ba.ar  LW7
 EQI  Argentina
  
  ___
  Pacemaker mailing list: mailto:Pacemaker@oss.clusterlabs.org
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
  
 http://oss.clusterlabs.org/mailman/listinfo/pacemakerhttp://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:Pacemaker@oss.clusterlabs.org
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
  http://oss.clusterlabs.org/mailman/listinfo/pacemaker
  
  Project 

Re: [Pacemaker] Exclude resource from host

2011-03-09 Thread Arthur B. Olsen


On 09-03-11 11:28, Dejan Muhamedagic deja...@fastmail.fm wrote:

On Wed, Mar 09, 2011 at 10:16:31AM +, Arthur B. Olsen wrote:
 
 
 On 08-03-11 11:11, Dejan Muhamedagic deja...@fastmail.fm wrote:
 
 Hi,
 
 On Tue, Mar 08, 2011 at 07:05:04AM +, 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

These are errors you get from the crm shell. They have nothing to
do with the issue you reported. IIRC, if your configuration
stated that this is an asymmetrical cluster (which it actually
is), the shell wouldn't complain about missing agents.

Thanks,

Dejan

And there lies the answer to all my trouble. symmetric-cluster=false.
This was what is was looking for, but didn't know how to ask for it.

Thanks



 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
 gelli...@stvincents.com.aumailto:gelli...@stvincents.com.au wrote:
  
  Does a location rule help?
  
  node http://node1.foo.com node1.foo.comhttp://node1.foo.com
  node http://node2.foo.com node2.foo.comhttp://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.comhttp://node1.foo.com
  
  
   On 8/03/2011 at 5:58 am, in message
 4d752aef.1070...@huapi.ba.armailto:4d752aef.1070...@huapi.ba.ar,
 t...@huapi.ba.armailto:t...@huapi.ba.ar 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:Pacemaker@oss.clusterlabs.org
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
   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=Pacema
ke
 r 
 
http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemak
er
  
  --
  Carlos G Mendioroz  t...@huapi.ba.armailto:t...@huapi.ba.ar  LW7
 EQI  Argentina
  
  ___
  Pacemaker mailing list: mailto:Pacemaker@oss.clusterlabs.org
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
  
 
http://oss.clusterlabs.org/mailman/listinfo/pacemakerhttp://oss.clust
er
 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=Pacema
ke
 r 
 
http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemak
er
  
  
**
  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.
  
  
**
  
  

Re: [Pacemaker] Exclude resource from host

2011-03-08 Thread Dejan Muhamedagic
Hi,

On Tue, Mar 08, 2011 at 07:05:04AM +, 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.

Thanks,

Dejan

 Arthur B Olsen
 Føroya Tele
 +298 243392
 +298 303392
 
 On 07/03/2011, at 21.27, Glenn Elliott 
 gelli...@stvincents.com.aumailto:gelli...@stvincents.com.au wrote:
 
 Does a location rule help?
 
 node http://node1.foo.com node1.foo.comhttp://node1.foo.com
 node http://node2.foo.com node2.foo.comhttp://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.comhttp://node1.foo.com
 
 
  On 8/03/2011 at 5:58 am, in message 
  4d752aef.1070...@huapi.ba.armailto:4d752aef.1070...@huapi.ba.ar, 
  t...@huapi.ba.armailto:t...@huapi.ba.ar 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:Pacemaker@oss.clusterlabs.org 
  Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
  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=Pacemaker 
  http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
 
 --
 Carlos G Mendioroz  t...@huapi.ba.armailto:t...@huapi.ba.ar  LW7 EQI  
 Argentina
 
 ___
 Pacemaker mailing list: mailto:Pacemaker@oss.clusterlabs.org 
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemakerhttp://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=Pacemaker 
 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:Pacemaker@oss.clusterlabs.org 
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
 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=Pacemaker 
 http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

 ___
 Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
 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: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] Exclude resource from host

2011-03-07 Thread Glenn Elliott
Does a location rule help?
 
node node1.foo.com
node 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: node1.foo.com
 

 On 8/03/2011 at 5:58 am, in message 4d752aef.1070...@huapi.ba.ar, 
 t...@huapi.ba.ar 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: Pacemaker@oss.clusterlabs.org 
 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 
 Bugs: 
 http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker 

-- 
Carlos G Mendioroz  t...@huapi.ba.ar  LW7 EQI  Argentina

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org 
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 
Bugs: 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.

**
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
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


Re: [Pacemaker] Exclude resource from host

2011-03-07 Thread Arthur B. Olsen
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

Arthur B Olsen
Føroya Tele
+298 243392
+298 303392

On 07/03/2011, at 21.27, Glenn Elliott 
gelli...@stvincents.com.aumailto:gelli...@stvincents.com.au wrote:

Does a location rule help?

node http://node1.foo.com node1.foo.comhttp://node1.foo.com
node http://node2.foo.com node2.foo.comhttp://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.comhttp://node1.foo.com


 On 8/03/2011 at 5:58 am, in message 
 4d752aef.1070...@huapi.ba.armailto:4d752aef.1070...@huapi.ba.ar, 
 t...@huapi.ba.armailto:t...@huapi.ba.ar 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:Pacemaker@oss.clusterlabs.org 
 Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
 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=Pacemaker 
 http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

--
Carlos G Mendioroz  t...@huapi.ba.armailto:t...@huapi.ba.ar  LW7 EQI  
Argentina

___
Pacemaker mailing list: mailto:Pacemaker@oss.clusterlabs.org 
Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemakerhttp://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=Pacemaker 
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:Pacemaker@oss.clusterlabs.org 
Pacemaker@oss.clusterlabs.orgmailto:Pacemaker@oss.clusterlabs.org
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=Pacemaker 
http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
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