Re: [Pacemaker] How to configure the openais.conf

2009-11-09 Thread lepace
Hi, First, thanks everyone for your suggestions I consider I made a wrong design, I am a newbie,I have some question below: 1. what does the quorum, cluster-glue,resource-agent,openais,pacemaker or corosync? In RHCS, a failover domain can be defined, does the failover domain use a less time to vo

[Pacemaker] Remote Access not Working

2009-11-09 Thread Colin
Hi All, just tried to get the remote access to the cluster up-and-running, but with more error than success... Starting point was a working cluster installation. Then I did # cibadmin --modify -X '' # /etc/init.d/corosync stop # /etc/init.d/corosync start to get the listener, erm, listening: #

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-11-09 Thread Andrew Beekhof
On Mon, Nov 9, 2009 at 4:11 PM, Colin wrote: > On Sun, Oct 18, 2009 at 10:33 AM, Andrew Beekhof wrote: >> On Fri, Oct 16, 2009 at 10:54 AM, Raoul Bhatia [IPAX] >> wrote: >>> On 10/16/2009 09:59 AM, Matthew Palmer wrote: If this were a single-machine service, I'd completely agree with you.

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-11-09 Thread Colin
On Sun, Oct 18, 2009 at 10:33 AM, Andrew Beekhof wrote: > On Fri, Oct 16, 2009 at 10:54 AM, Raoul Bhatia [IPAX] > wrote: >> On 10/16/2009 09:59 AM, Matthew Palmer wrote: >>> If this were a single-machine service, I'd completely agree with you. >>> Unfortunately, a cluster service like pacemaker

Re: [Pacemaker] Issue with controlling which nodes a resource runs from.

2009-11-09 Thread Dejan Muhamedagic
Hi, On Mon, Nov 09, 2009 at 11:23:03AM +0100, Andrew Beekhof wrote: > On Fri, Nov 6, 2009 at 5:27 PM, Judd Tracy wrote: > > I am attempting to create a cluster of nodes for running mysql, nfs, web in > > a redundant fashion and am having problems getting the configuration to work > > correctly. 

Re: [Pacemaker] Issue with controlling which nodes a resource runs from.

2009-11-09 Thread Andrew Beekhof
On Fri, Nov 6, 2009 at 5:27 PM, Judd Tracy wrote: > I am attempting to create a cluster of nodes for running mysql, nfs, web in > a redundant fashion and am having problems getting the configuration to work > correctly.  I started out first with setting up a mysql cluster of mysql > nodes.  I have

Re: [Pacemaker] RFC: Compacting constraints

2009-11-09 Thread Andrew Beekhof
On Fri, Nov 6, 2009 at 10:13 PM, Colin wrote: >> conjoin dummies-dep base-clone {dummy1, dummy2, dummy3, ...} \ >>        meta score_collocation=infinity score_order=0 > > Suppose we allow regular expressions: > > order dummy(\d+)-o 0: base-clone dummy#1 > > (Where \d is a digit, and #1 inserts th

Re: [Pacemaker] How to use gdb to debug "pcmk_startup" function?

2009-11-09 Thread Andrew Beekhof
On Mon, Nov 9, 2009 at 10:01 AM, wrote: > HI all: > > I have built pacemaker(with corosync-1.1.0) from source. You need a minimum of 1.1.2 > > And I know the "pcmk_startup" function is called by this sentence in > corosync-1.1.0/exec/service.c,171 line: > res = service->exec_init_fn (coros

Re: [Pacemaker] Suggestions/questions for Pacemaker

2009-11-09 Thread Andrew Beekhof
On Mon, Nov 9, 2009 at 8:15 AM, Colin wrote: > On Fri, Nov 6, 2009 at 12:56 PM, Andrew Beekhof wrote: >> On Fri, Nov 6, 2009 at 12:16 PM, Colin wrote: >>> 7) The naming convention for the XML config seems more difficult than >>> necessary with the mixed use of underscores and dashes as >>> word-

Re: [Pacemaker] Resource capacity limit

2009-11-09 Thread Michael Schwartzkopff
Am Freitag, 6. November 2009 08:49:06 schrieb Andrew Beekhof: > On Fri, Nov 6, 2009 at 8:31 AM, Michael Schwartzkopff wrote: > > Am Donnerstag, 5. November 2009 21:37:23 schrieb Andrew Beekhof: > >> On Thu, Nov 5, 2009 at 8:50 PM, Michael Schwartzkopff > >> > > > > wrote: > >> > Hi, > >> > > >>

[Pacemaker] How to use gdb to debug "pcmk_startup" function?

2009-11-09 Thread xin . liang
HI all:I have built pacemaker(with corosync-1.1.0) from source.And I know the "pcmk_startup" function is called by this sentence in corosync-1.1.0/exec/service.c,171 line: res = service->exec_init_fn (corosync_api); I start gdb with corosync: gdb corosyncThen, I use gdb to set a breakpoint: