Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread Lars Ellenberg
On Mon, Jan 30, 2012 at 05:42:34PM -0500, William Seligman wrote: I'm trying to follow the directions for setting up a dual-primary DRBD setup with CMAN and Pacemaker. I'm stuck at an annoying spot: Pacemaker won't promote the DRBD resources to primary at either node. Here's the result

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread William Seligman
On Tue, 31 Jan 2012 00:36:23 Arnold Krille wrote: On Tuesday 31 January 2012 00:12:52 emmanuel segura wrote: But if you wanna implement dual primary i think you don't nee promote for your drbd Try to use clone without master/slave At least when you use the linbit-ra, using it without a

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread William Seligman
On Tue Jan 31 03:47:11 MST 2012 Lars Ellenberg wrote: On Mon, Jan 30, 2012 at 05:42:34PM -0500, William Seligman wrote: I'm trying to follow the directions for setting up a dual-primary DRBD setup with CMAN and Pacemaker. I'm stuck at an annoying spot: Pacemaker won't promote the DRBD

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread emmanuel segura
William try to follow the suggestion of Arnold In my case it's different because we don't use drbd we are using SAN with ocfs2 But i think for drbd in dual primary you need the attribute master-max=2 2012/1/31 William Seligman selig...@nevis.columbia.edu On Tue, 31 Jan 2012 00:36:23 Arnold

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread William Seligman
On 1/31/12 3:47 PM, emmanuel segura wrote: William try to follow the suggestion of Arnold In my case it's different because we don't use drbd we are using SAN with ocfs2 But i think for drbd in dual primary you need the attribute master-max=2 I did, or thought I did. Have I missed

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread emmanuel segura
William can you try like this primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master clone Adming AdminDrbd 2012/1/31 William Seligman selig...@nevis.columbia.edu On 1/31/12 3:47 PM, emmanuel segura wrote: William try to follow the

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread Lars Ellenberg
On Tue, Jan 31, 2012 at 10:11:23PM +0100, emmanuel segura wrote: William can you try like this primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master clone Adming AdminDrbd Nope. -- : Lars Ellenberg : LINBIT | Your Way to High

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread William Seligman
On 1/31/12 4:11 PM, emmanuel segura wrote: William can you try like this primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master clone Adming AdminDrbd Both Arnold and Lars said this wouldn't work. I just tried it. They were right. Is

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread Lars Ellenberg
On Tue, Jan 31, 2012 at 04:26:44PM -0500, William Seligman wrote: On 1/31/12 4:11 PM, emmanuel segura wrote: William can you try like this primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master clone Adming AdminDrbd Both

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread William Seligman
On 1/31/12 4:42 PM, Lars Ellenberg wrote: On Tue, Jan 31, 2012 at 04:26:44PM -0500, William Seligman wrote: On 1/31/12 4:11 PM, emmanuel segura wrote: William can you try like this primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-31 Thread Arnold Krille
On Tuesday 31 January 2012 15:54:30 William Seligman wrote: I did, or thought I did. Have I missed something? Again, from crm configure show: primitive AdminDrbd ocf:linbit:drbd \ params drbd_resource=admin \ op monitor interval=60s role=Master \ op monitor interval=59s role=Slave

[Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-30 Thread William Seligman
I'm trying to follow the directions for setting up a dual-primary DRBD setup with CMAN and Pacemaker. I'm stuck at an annoying spot: Pacemaker won't promote the DRBD resources to primary at either node. Here's the result of crm_mon: Last updated: Mon Jan 30 17:07:03 2012 Stack: cman Current DC:

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-30 Thread emmanuel segura
Sorry William But if you wanna implement dual primary i think you don't nee promote for your drbd Try to use clone without master/slave 2012/1/30 William Seligman selig...@nevis.columbia.edu I'm trying to follow the directions for setting up a dual-primary DRBD setup with CMAN and Pacemaker.

Re: [Linux-HA] cman+pacemaker+dual-primary drbd does not promote

2012-01-30 Thread Arnold Krille
On Tuesday 31 January 2012 00:12:52 emmanuel segura wrote: But if you wanna implement dual primary i think you don't nee promote for your drbd Try to use clone without master/slave At least when you use the linbit-ra, using it without a master-clone will give you one(!) slave only. When you