Re: [Pacemaker] Loosing corosync communication clusterwide

2014-11-12 Thread Daniel Dehennin
Tomasz Kontusz  writes:

> Hanging corosync sounds like libqb problems: trusty comes with 0.16,
> which likes to hang from time to time. Try building libqb 0.17.

It was already reported on Ubuntu tracker[1]

Regards.

Footnotes: 
[1]  https://bugs.launchpad.net/ubuntu/+source/libqb/+bug/1341496

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
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://bugs.clusterlabs.org


Re: [Pacemaker] batch-limit with many resources

2014-11-12 Thread Matthias Teege
Andrew Beekhof 
writes:

>> On 8 Nov 2014, at 10:22 pm, Matthias Teege  wrote:

Hallo,

>> same monitoring intervalls. Is it necessary to increase the
>> batch-limit to allow pacemaker to run all monitoring scripts in
>> parallel?
>
> Short version... it shouldn't be.
> Which pacemaker version are you on btw?  I would recommend 1.1.12 for 
> something that size.

I'm on 1.1.6 but after that mail I have to setup a migration project
to 1.1.12.

Thanks,
Matthias


___
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://bugs.clusterlabs.org


[Pacemaker] resource-discovery question

2014-11-12 Thread Vladislav Bogdanov
Hi David, all,

I'm trying to get resource-discovery="never" working with cd7c9ab, but still
get "Not installed" probe failures from nodes which does not have
corresponding resource agents installed.

The only difference in my location constraints comparing to what is committed 
in #589
is that they are rule-based (to match #kind). Is that supposed to work with the
current master or still TBD?

My location constraints look like:

  

  

  

Do I miss something?

Best,
Vladislav

___
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://bugs.clusterlabs.org


Re: [Pacemaker] resource-discovery question

2014-11-12 Thread Vladislav Bogdanov
12.11.2014 22:04, Vladislav Bogdanov wrote:
> Hi David, all,
> 
> I'm trying to get resource-discovery="never" working with cd7c9ab, but still
> get "Not installed" probe failures from nodes which does not have
> corresponding resource agents installed.
> 
> The only difference in my location constraints comparing to what is committed 
> in #589
> is that they are rule-based (to match #kind). Is that supposed to work with 
> the
> current master or still TBD?

Yep, after I modified constraint to a rule-less syntax, it works:



But I'd prefer to that killer feature to work with rules too :)
Although resource-discovery="exclusive" with score 0 for multiple nodes should 
probably
also work for me, correct? I cannot test that on a cluster with one cluster 
node and one
remote node.

> 
> My location constraints look like:
> 
>resource-discovery="never">
> 
>id="vlan003-on-cluster-nodes-rule-expression"/>
> 
>   
> 
> Do I miss something?
> 
> Best,
> Vladislav
> 
> ___
> 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://bugs.clusterlabs.org
> 


___
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://bugs.clusterlabs.org


Re: [Pacemaker] resource-discovery question

2014-11-12 Thread David Vossel


- Original Message -
> 12.11.2014 22:04, Vladislav Bogdanov wrote:
> > Hi David, all,
> > 
> > I'm trying to get resource-discovery="never" working with cd7c9ab, but
> > still
> > get "Not installed" probe failures from nodes which does not have
> > corresponding resource agents installed.
> > 
> > The only difference in my location constraints comparing to what is
> > committed in #589
> > is that they are rule-based (to match #kind). Is that supposed to work with
> > the
> > current master or still TBD?
> 
> Yep, after I modified constraint to a rule-less syntax, it works:

ahh, good catch. I'll take a look!

> 
>  node="rnode001" resource-discovery="never"/>
> 
> But I'd prefer to that killer feature to work with rules too :)
> Although resource-discovery="exclusive" with score 0 for multiple nodes
> should probably
> also work for me, correct?

yep it should.

> I cannot test that on a cluster with one cluster
> node and one
> remote node.

this feature should work the same with remote nodes and cluster nodes.

I'll get a patch out for the rule issue. I'm also pushing out some documentation
for the resource-discovery option. It seems like you've got a good handle on it
already though :)

> > 
> > My location constraints look like:
> > 
> >>   resource-discovery="never">
> > 
> >>   id="vlan003-on-cluster-nodes-rule-expression"/>
> > 
> >   
> > 
> > Do I miss something?
> > 
> > Best,
> > Vladislav
> > 
> > ___
> > 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://bugs.clusterlabs.org
> > 
> 
> 

___
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://bugs.clusterlabs.org


Re: [Pacemaker] resource-discovery question

2014-11-12 Thread Vladislav Bogdanov
12.11.2014 22:57, David Vossel wrote:
> 
> 
> - Original Message -
>> 12.11.2014 22:04, Vladislav Bogdanov wrote:
>>> Hi David, all,
>>>
>>> I'm trying to get resource-discovery="never" working with cd7c9ab, but
>>> still
>>> get "Not installed" probe failures from nodes which does not have
>>> corresponding resource agents installed.
>>>
>>> The only difference in my location constraints comparing to what is
>>> committed in #589
>>> is that they are rule-based (to match #kind). Is that supposed to work with
>>> the
>>> current master or still TBD?
>>
>> Yep, after I modified constraint to a rule-less syntax, it works:
> 
> ahh, good catch. I'll take a look!
> 
>>
>> > node="rnode001" resource-discovery="never"/>
>>
>> But I'd prefer to that killer feature to work with rules too :)
>> Although resource-discovery="exclusive" with score 0 for multiple nodes
>> should probably
>> also work for me, correct?
> 
> yep it should.
> 
>> I cannot test that on a cluster with one cluster
>> node and one
>> remote node.
> 
> this feature should work the same with remote nodes and cluster nodes.
> 
> I'll get a patch out for the rule issue. I'm also pushing out some 
> documentation
> for the resource-discovery option. It seems like you've got a good handle on 
> it
> already though :)

Oh, I see new pull-request, thank you very much!

One side question: Is default value for clone-max influenced by
resource-discovery value(s)?


> 
>>>
>>> My location constraints look like:
>>>
>>>   >>   resource-discovery="never">
>>> 
>>>   >>   id="vlan003-on-cluster-nodes-rule-expression"/>
>>> 
>>>   
>>>
>>> Do I miss something?
>>>
>>> Best,
>>> Vladislav
>>>
>>> ___
>>> 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://bugs.clusterlabs.org
>>>
>>
>>


___
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://bugs.clusterlabs.org


Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-11-12 Thread Sihan Goi
Hi,

getenforce returns "Enforcing"
ls -dZ /var/www/html returns "drwxr-xr-x. root root
system_u:object_r:httpd_sys_content_t:s0 /var/www/html" on both nodes.

Running restorecon doesn't change the ls-dZ output.

On Wed, Nov 12, 2014 at 2:24 PM, Vladislav Bogdanov 
wrote:

> 11.11.2014 07:27, Sihan Goi wrote:
> > Hi,
> >
> > DocumentRoot is still set to /var/www/html
> > ls -al /var/www/html shows different things on the 2 nodes
> > node01:
> >
> > total 28
> > drwxr-xr-x. 3 root root  4096 Nov 11 12:25 .
> > drwxr-xr-x. 6 root root  4096 Jul 23 22:18 ..
> > -rw-r--r--. 1 root root50 Oct 28 18:00 index.html
> > drwx--. 2 root root 16384 Oct 28 17:59 lost+found
> >
> > node02 only has index.html, no lost+found, and it's a different version
> > of the file.
> >
>
> It look like apache is unable to stat its document root.
> Could you please show output of two commands:
>
> getenforce
> ls -dZ /var/www/html
>
> on both nodes when fs is mounted on one of them?
> If you see 'Enforcing', and the last part of the selinux context of a
> mounted fs root is not httpd_sys_content_t, then run
> 'restorecon -R /var/www/html' on that node.
>
> > Status URL is enabled in both nodes.
> >
> >
> > On Oct 30, 2014 11:14 AM, "Andrew Beekhof"  > > wrote:
> >
> >
> > > On 29 Oct 2014, at 1:01 pm, Sihan Goi  > > wrote:
> > >
> > > Hi,
> > >
> > > I've never used crm_report before. I just read the man file and
> > generated a tarball from 1-2 hours before I reconfigured all the
> > DRBD related resources. I've put the tarball here -
> >
> https://www.dropbox.com/s/suj9pttjp403msv/unexplained-apache-failure.tar.bz2?dl=0
> > >
> > > Hope you can help figure out what I'm doing wrong. Thanks for the
> > help!
> >
> > Oct 28 18:13:38 node02 Filesystem(WebFS)[29940]: INFO: Running start
> > for /dev/drbd/by-res/wwwdata on /var/www/html
> > Oct 28 18:13:39 node02 kernel: EXT4-fs (drbd1): mounted filesystem
> > with ordered data mode. Opts:
> > Oct 28 18:13:39 node02 crmd[9870]:   notice: process_lrm_event: LRM
> > operation WebFS_start_0 (call=164, rc=0, cib-update=298,
> > confirmed=true) ok
> > Oct 28 18:13:39 node02 crmd[9870]:   notice: te_rsc_command:
> > Initiating action 7: start WebSite_start_0 on node02 (local)
> > Oct 28 18:13:39 node02 apache(WebSite)[30007]: ERROR: Syntax error
> > on line 292 of /etc/httpd/conf/httpd.conf: DocumentRoot must be a
> > directory
> >
> > Is DocumentRoot still set to /var/www/html?
> > If so, what happens if you run 'ls -al /var/www/html' in a shell?
> >
> > Oct 28 18:13:39 node02 apache(WebSite)[30007]: INFO: apache not
> running
> > Oct 28 18:13:39 node02 apache(WebSite)[30007]: INFO: waiting for
> > apache /etc/httpd/conf/httpd.conf to come up
> >
> > Did you enable the status url?
> >
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/_enable_the_apache_status_url.html
> >
> >
> >
> > ___
> > 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://bugs.clusterlabs.org
> >
> >
> >
> > ___
> > 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://bugs.clusterlabs.org
> >
>
>
> ___
> 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://bugs.clusterlabs.org
>



-- 
- Goi Sihan
gois...@gmail.com
___
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://bugs.clusterlabs.org