Re: [Linux-HA] Assymetric Clustering

2009-04-24 Thread Andrew Beekhof
On Tue, Apr 21, 2009 at 21:54, fsalas  wrote:
>
> First of all, thanks for prompt anwers
>
>
>
>
>> On Mon, 20 Apr 2009 14:11:22 -0700:
>>
>> 8.10 has 2.1.3 which is not a good choice. use at least 2.1.4 or
>> heartbeat 2.99.2 / pacemaker 1.0.3 . maybe you have to compile it
>> yourself.
>>
>>
>
> Ok, I will have a look into it, to see if I can upgrade to those versions
> Ive found that creating the missing lsb script with a dummy one with just an
> exit 5 in it, partially solve the problem, as the resources are no more in
> failed state, but stills logs a lot of errors trying to monitor it
>
>
> Thomas Mueller-14 wrote:
>>
>>
>> is the "symmetric-cluster" option true (shell: "cibadmin -Q | grep
>> symmetric" - no output means "true")?
>>
>>
>
> Ive forgotten to mention that Ive already set that option to false.
>
> Anyone knows if  2.99 or 2.1.4 version behaves different ?

well yeah, 2.99 doesn't include the crm anymore.
thats why you need pacemaker
___
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


Re: [Linux-HA] Assymetric Clustering

2009-04-23 Thread fsalas

First of all, thanks for prompt anwers




> On Mon, 20 Apr 2009 14:11:22 -0700:
> 
> 8.10 has 2.1.3 which is not a good choice. use at least 2.1.4 or 
> heartbeat 2.99.2 / pacemaker 1.0.3 . maybe you have to compile it 
> yourself. 
> 
> 

Ok, I will have a look into it, to see if I can upgrade to those versions
Ive found that creating the missing lsb script with a dummy one with just an
exit 5 in it, partially solve the problem, as the resources are no more in
failed state, but stills logs a lot of errors trying to monitor it


Thomas Mueller-14 wrote:
> 
> 
> is the "symmetric-cluster" option true (shell: "cibadmin -Q | grep 
> symmetric" - no output means "true")? 
> 
> 

Ive forgotten to mention that Ive already set that option to false.

Anyone knows if  2.99 or 2.1.4 version behaves different ?

thanks for all

Fernando
-- 
View this message in context: 
http://www.nabble.com/Assymetric-Clustering-tp23144951p23163659.html
Sent from the Linux-HA mailing list archive at Nabble.com.

___
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


Re: [Linux-HA] Assymetric Clustering

2009-04-22 Thread Dominik Klein
fsalas wrote:
> Hi, I'm quite new to clustering and HeartBeat, but as far as I know, a very
> nice packages.
> 
> Well, here is my problem, I'm willing to setup a cluster for an small
> enterprise that will have several services located in virtual machines, to
> make it simpler, let's say we have four nodes in the cluster, in two nodes
> will run service A and in the other two nodes will run service B. I would
> like to make it in one cluster and not in two miniclusters because of later
> migration posibilities, easier administration,etc.
> 
> I'm working with Ubuntu server 8.10 , with heartbeat-2 distrib packages.
> 
> Now, Ive setup the first two nodes, with service A with no problem , service
> A is lsb, in my test is simply an apt-proxy with a virtual IP and a drbd for
> shared storage. After learning how to do it, it works flawesly, crm_verify
> didn't complain , all just fine.
> 
> I've setup location rules to only let service A to run in these two nodes
> 
> Then I decided to add the other two nodes to the cluster, to continue with
> service B, and here is the problem, even if these new nodes aren't allowed
> to run service A, it seems that the CRM tells the LRM to monitor service A
> on these nodes, as apt-proxy and drbd are not even installed there, it
> complains with errors with drbd, and failed on apt-proxy. AM I missing
> something here, or those test shouldn't be there, as location forbids those
> nodes for running this services.:,(
> 
> I would really appreciate any light you can bring on this, as Im struggling
> with it for the last days.
> 
> thanx in advance, and my apologies if my english is not as good as it
> should!
> 
> :-D

We can only guess if you dont share configuration files and logs, but I
guess what you see is the probe operations returning "not installed". A
probe is run on every node to find out in which state the resource is
there before doing anything to the resource.

Regards
Dominik
___
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


Re: [Linux-HA] Assymetric Clustering

2009-04-21 Thread Dejan Muhamedagic
Hi,

On Mon, Apr 20, 2009 at 02:11:22PM -0700, fsalas wrote:
> 
> Hi, I'm quite new to clustering and HeartBeat, but as far as I know, a very
> nice packages.
> 
> Well, here is my problem, I'm willing to setup a cluster for an small
> enterprise that will have several services located in virtual machines, to
> make it simpler, let's say we have four nodes in the cluster, in two nodes
> will run service A and in the other two nodes will run service B. I would
> like to make it in one cluster and not in two miniclusters because of later
> migration posibilities, easier administration,etc.
> 
> I'm working with Ubuntu server 8.10 , with heartbeat-2 distrib packages.
> 
> Now, Ive setup the first two nodes, with service A with no problem , service
> A is lsb, in my test is simply an apt-proxy with a virtual IP and a drbd for
> shared storage. After learning how to do it, it works flawesly, crm_verify
> didn't complain , all just fine.
> 
> I've setup location rules to only let service A to run in these two nodes
> 
> Then I decided to add the other two nodes to the cluster, to continue with
> service B, and here is the problem, even if these new nodes aren't allowed
> to run service A, it seems that the CRM tells the LRM to monitor service A
> on these nodes, as apt-proxy and drbd are not even installed there, it
> complains with errors with drbd, and failed on apt-proxy. AM I missing
> something here, or those test shouldn't be there, as location forbids those
> nodes for running this services.:,(
> 
> I would really appreciate any light you can bring on this, as Im struggling
> with it for the last days.
> 
> thanx in advance, and my apologies if my english is not as good as it
> should!

Which heartbeat version do you run? It could be that this has
been fixed in the meantime:

changeset:   12294:1bf4fbbd0582
user:Dejan Muhamedagic 
date:Fri Aug 15 21:06:07 2008 +0200
summary: Low: lrm: fix return values on RA missing

If you can't upgrade, then you'll probably have to install the
missing software packages on all nodes.

Thanks,

Dejan

> :-D
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Assymetric-Clustering-tp23144951p23144951.html
> Sent from the Linux-HA mailing list archive at Nabble.com.
> 
> ___
> 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] Assymetric Clustering

2009-04-21 Thread fsalas

Hi, I'm quite new to clustering and HeartBeat, but as far as I know, a very
nice packages.

Well, here is my problem, I'm willing to setup a cluster for an small
enterprise that will have several services located in virtual machines, to
make it simpler, let's say we have four nodes in the cluster, in two nodes
will run service A and in the other two nodes will run service B. I would
like to make it in one cluster and not in two miniclusters because of later
migration posibilities, easier administration,etc.

I'm working with Ubuntu server 8.10 , with heartbeat-2 distrib packages.

Now, Ive setup the first two nodes, with service A with no problem , service
A is lsb, in my test is simply an apt-proxy with a virtual IP and a drbd for
shared storage. After learning how to do it, it works flawesly, crm_verify
didn't complain , all just fine.

I've setup location rules to only let service A to run in these two nodes

Then I decided to add the other two nodes to the cluster, to continue with
service B, and here is the problem, even if these new nodes aren't allowed
to run service A, it seems that the CRM tells the LRM to monitor service A
on these nodes, as apt-proxy and drbd are not even installed there, it
complains with errors with drbd, and failed on apt-proxy. AM I missing
something here, or those test shouldn't be there, as location forbids those
nodes for running this services.:,(

I would really appreciate any light you can bring on this, as Im struggling
with it for the last days.

thanx in advance, and my apologies if my english is not as good as it
should!

:-D


-- 
View this message in context: 
http://www.nabble.com/Assymetric-Clustering-tp23144951p23144951.html
Sent from the Linux-HA mailing list archive at Nabble.com.

___
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