Re: [Pacemaker] constraint colocation or resource group

2014-01-03 Thread Patrick Lists
On 01/03/2014 01:52 AM, Luc Paulin wrote: $cat /etc/redhat-release CentOS release 6.4 (Final) $rpm -qa | grep -i pcs pcs-0.9.26-10.el6_4.1.noarch So look like I might have an older version of pcs .. If you update to CentOS 6.5 you automatically get pcs 0.9.90: $ cat /etc/centos-release

Re: [Pacemaker] constraint colocation or resource group

2014-01-03 Thread Luc Paulin
Great thank, I have updated my centos to 6.5 and now I have been able to run the pcs constraint colocation set Thanx! -Luc -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: paulinster(at)gmail.com Skype:

[Pacemaker] constraint colocation or resource group

2014-01-02 Thread Luc Paulin
Hi Everyone, First I want to wish everyone an happy new year. I am trying figure out in which case I should be using a constraint colocation or the resource group. At the end it look that both will result in the same result, the resource will be running on the same host. As an example I am

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Kristoffer Grönlund
On Thu, 2 Jan 2014 09:49:40 -0500 Luc Paulin paulins...@gmail.com wrote: I am trying figure out in which case I should be using a constraint colocation or the resource group. At the end it look that both will result in the same result, the resource will be running on the same host. As an

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Luc Paulin
Thanx for quick reply, That make sense to use the colocation. So I guess that I should define a master resource and tell each other resource that they should colocated on the same node at the master resource. pcs constraint colocation add resourceA master_resource INFINITY pcs constraint

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Lars Marowsky-Bree
On 2014-01-02T11:22:01, Luc Paulin paulins...@gmail.com wrote: That make sense to use the colocation. So I guess that I should define a master resource and tell each other resource that they should colocated on the same node at the master resource. You could also use a resource set to achieve

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Chris Feist
On 01/02/2014 10:37 AM, Lars Marowsky-Bree wrote: On 2014-01-02T11:22:01, Luc Paulin paulins...@gmail.com wrote: That make sense to use the colocation. So I guess that I should define a master resource and tell each other resource that they should colocated on the same node at the master

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Luc Paulin
Thanx for the syntax, however it does not seem to work. When I try it, it immediately return the help syntax menu, as if the command not suported. [root@fwcorp-01 (NEW FW HOST) ~]$pcs constraint colocation set vip_v253_178 vip_v253_179 vip_v253 Usage: pcs constraint [constraints]... Manage

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Chris Feist
On 01/02/2014 01:54 PM, Luc Paulin wrote: Thanx for the syntax, however it does not seem to work. When I try it, it immediately return the help syntax menu, as if the command not suported. [root@fwcorp-01 (NEW FW HOST) ~]$pcs constraint colocation set vip_v253_178 vip_v253_179 vip_v253 Which

Re: [Pacemaker] constraint colocation or resource group

2014-01-02 Thread Luc Paulin
$cat /etc/redhat-release CentOS release 6.4 (Final) $rpm -qa | grep -i pcs pcs-0.9.26-10.el6_4.1.noarch So look like I might have an older version of pcs .. -- ! ( o o ) --oOO(_)OOo-- Luc Paulin email: