[Pacemaker] check the num of pingd connect

2010-09-16 Thread jiaju liu
 1.create ping resource      crm configure primitive pingd_data ocf:pacemaker:pingd meta target-role=stopped params name=pingd_num op start timeout=90s op stop timeout=100s op monitor interval=90s timeout=100s     2.set param     crm_resource -p host_list -r pingd_data -v host_list           The

[Pacemaker] pingd problem about clone

2010-09-16 Thread jiaju liu
Clone Set: pingd_data_net      Started: [ oss3 oss2 oss1 ]           I use the command :           crm_resource -g host_list -r pingd_data_net     to check the param host_list           the result is           pingd_data_net is active on more than one node, returning the default value for     Er

Re: [Pacemaker] [PATCH 0/8 ] ha_logd and cl_log improvements

2010-09-16 Thread Dejan Muhamedagic
Hi Bernd, On Thu, Sep 16, 2010 at 12:09:11AM +0200, Bernd Schubert wrote: > Hi all, > > the following patches are to better handle bug 2470 and have some generic > improvements. I'm not sure if I shall attach it to the bugzilla or if the > mailing list is preferred. Well, ML is the right place

Re: [Pacemaker] Apache won't start on RHEL 5.3 2-node cluster

2010-09-16 Thread Brandon DeYoung
>On Thu, Sep 16, 2010 at 12:26 PM, Andrew Beekhof wrote: >Did you enable the server-status functionality in httpd.conf? No, I hadn't. That fixed it. Thanks Andrew, ~Brandon ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs

[Pacemaker] cannot append to /var/log/cluster/corosync.log permission denied

2010-09-16 Thread Alister Wong
Hi, all, I just setup a 2 node clusters in 2 RHEL server(5.5 x86_64). After I setup and it looked fine. However, I found in /var/log/messages I found some logs showed that it failed to append to corosync.log. I run the corosync as root. e.g. Sep 17 00:39:14 property01-b

Re: [Pacemaker] Apache won't start on RHEL 5.3 2-node cluster

2010-09-16 Thread Andrew Beekhof
Did you enable the server-status functionality in httpd.conf? On Thu, Sep 16, 2010 at 4:44 PM, Brandon DeYoung wrote: > Hi Pacemaker mailing list, > I'm following the "Clusters from Scratch" guide except I'm using RHEL 5.3 > instead of Fedora.  Though I doubt that is relevant for this problem, th

[Pacemaker] Problem to support NFS v3

2010-09-16 Thread Liang.Ma
Somehow this may not get through. Let me try it again. Hi There, I have setup a pair of primary/secondary servers for services such as web, ftp, samba and nfs with pacemaker 1.1.1, drdb-pacemaker 8.3.7, corosync 1.2.7 on Fedora 13. Things work well except for an old Solaris 2.7 client. The Sola

[Pacemaker] [PATCH 9/8 ] errata, only close file descriptors if that had been opened

2010-09-16 Thread Bernd Schubert
cl_log: Only close file descriptors if that had been opened This patch also could be merged with the 6th patch in the series (restore old open/write/close semantics). It fixes a valgrind warning about invalid close(). Signed-off-by: Bernd Schubert diff --git a/lib/clplumbing/cl_log.c b/lib/cl

Re: [Pacemaker] the number of node pingd connect

2010-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 16, 2010 at 04:34:19PM +0800, jiaju liu wrote: > follow is my ping command: > 1.create ping resource  > crm configure primitive pingd_data ocf:pacemaker:pingd meta > target-role=stopped params name=pingd_num op start timeout=90s op stop > timeout=100s op monitor interval=90s time

Re: [Pacemaker] OpenAIS/cman/pacemaker problem

2010-09-16 Thread Thorsten Scherf
On [Thu, 16.09.2010 11:21], Andrew Beekhof wrote: Technically the subject is incorrect - its a drbd issue. ack. :) Can someone from linbit have a look? actually this seems to be only a problem with fence_ack_manual. I've tested with a different fence_device and this worked without problem.

Re: [Pacemaker] OpenAIS/cman/pacemaker problem

2010-09-16 Thread Florian Haas
On 2010-09-16 11:21, Andrew Beekhof wrote: > Technically the subject is incorrect - its a drbd issue. > Can someone from linbit have a look? Can do! Thorsten, can I entice you to post your full /var/log/messages on pastebin? Cheers, Florian signature.asc Description: OpenPGP digital signature

Re: [Pacemaker] OpenAIS/cman/pacemaker problem

2010-09-16 Thread Andrew Beekhof
Technically the subject is incorrect - its a drbd issue. Can someone from linbit have a look? On Wed, Sep 15, 2010 at 8:43 PM, Thorsten Scherf wrote: > Hey, > > I'm currently trying latest pacemaker RPM on Fedora rawhide together with > cman/OpenAIS: > > cman-3.0.16-1.fc15.i686 > openais-1.1.4-1.

[Pacemaker] the number of node pingd connect

2010-09-16 Thread jiaju liu
follow is my ping command: 1.create ping resource  crm configure primitive pingd_data ocf:pacemaker:pingd meta target-role=stopped params name=pingd_num op start timeout=90s op stop timeout=100s op monitor interval=90s timeout=100s 2.set param crm_resource -p host_list -r pingd_data -v host_list