Re: [Pacemaker] Lot of errors after update

2014-10-02 Thread Riccardo Bicelli
I'm running pacemaker-1.0.10 and glib-2.40.0-r1:2 on gentoo Il 30/09/2014 23:23, Andrew Beekhof ha scritto: On 30 Sep 2014, at 11:36 pm, Riccardo Bicelli r.bice...@gmail.com wrote: Hello, I've just updated my cluster nodes and now I see lot of these errors in syslog: Sep 30 15:32:43

[Pacemaker] Lot of errors after update

2014-09-30 Thread Riccardo Bicelli
Hello, I've just updated my cluster nodes and now I see lot of these errors in syslog: Sep 30 15:32:43 localhost cib: [2870]: ERROR: crm_abort: crm_glib_handler: Forked child 28573 to record non-fatal assert at utils.c:449 : Source ID 128394 was not found when attempting to remove it Sep 30

[Pacemaker] Resource Agent: BTIER

2014-09-25 Thread Riccardo Bicelli
Hi Folks! For those that use Pacemaker for HA storage projects I released a resource agent ocf for managing a BTIER block device. http://think-brick.blogspot.it/2014/09/btier-resource-agents-for-pacemaker.html ___ Pacemaker mailing list:

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-21 Thread Riccardo Bicelli
Sorry for spamming :) Il 19/03/2013 10:43, Lars Ellenberg ha scritto: Is that so. What for? Can you explain in more detail? I'm writing a resource agent for handling SCST in master/slave with ALUA multipath support. On Master node it has to create a SCSI LUN mapped to a real device, and map

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-20 Thread Riccardo Bicelli
Hey Lars! Il 19/03/2013 10:43, Lars Ellenberg ha scritto: Well, then use awk '/ drbd0$/ { print $3 * 1024 }' /proc/partitions It is working! But I still need a way to exchange messages between instances of ra! ___ Pacemaker mailing list:

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-20 Thread Riccardo Bicelli
:39AM +0100, Riccardo Bicelli wrote: Because I'm trying to set up an active/standby scsi cluster using alua. I need to create a dummy device in the same size of the real device. Is that so. What for? Can you explain in more detail? For getting dev size I use blockdev --getsize64 device_name

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-20 Thread Riccardo Bicelli
dev_size=$( awk '/ '$dev_name'$/ { print $3 * 1024 }' /proc/partitions ) Il 19/03/2013 10:43, Lars Ellenberg ha scritto: On Tue, Mar 19, 2013 at 08:22:39AM +0100, Riccardo Bicelli wrote: Because I'm trying to set up an active/standby scsi cluster using alua. I need to create a dummy device

Re: [Pacemaker] Exchanging data between resource agent instances

2013-03-19 Thread Riccardo Bicelli
of the device on master and report back to the slave. The alternative is to pass the device size as a parameter on the resource agent. Il giorno 18/mar/2013 22:28, Lars Ellenberg lars.ellenb...@linbit.com ha scritto: On Mon, Mar 18, 2013 at 08:49:41PM +0100, Riccardo Bicelli wrote: Hello

[Pacemaker] Exchanging data between resource agent instances

2013-03-18 Thread Riccardo Bicelli
Hello, anyone knows if is it possible to exchange data between two instances of a resource agent? I have a Master/Slave resource agent that, when slave, has to create a dummy device in same size of a given block device (DRBD) running on Master. Since the block device is not accessible when the

[Pacemaker] Writing RAs - Parameters per node

2013-03-13 Thread Riccardo Bicelli
Hello, does anyone know if it is possible to have, in CIB declaration, a set of parameters with different value per node? For example, I have an RA which is dealing with SCSI target on infiniband HCA card. on node1 the port I want to use is port1 of Infiniband card 1 on node2 the the port I

Re: [Pacemaker] Writing RAs - Parameters per node

2013-03-13 Thread Riccardo Bicelli
Hello, This is possible (you can have rules for the instance attributes), Could you provide me an example? *but* it is a really bad idea for administrative reasons. It'll be a nightmare to remember, and bite you in every single script. It's usually a lot better to rename the ports via

[Pacemaker] Shared storage

2012-12-03 Thread Riccardo Bicelli
Hello everybody and excuse me in advance for the apparently dumb question, but I havent found any answer yet! I'd want to create a gfs2 filesystem. for doing this I attached to my nodes a shared SCSI lun (shared disk in vmware). For commodity I have created a LVM volume group on it and a

[Pacemaker] Write master slave ocf ra

2012-04-21 Thread Riccardo Bicelli
Hello, I'm writing resource agents for SCST iSCSI and I'm planning to add master/slave capability on the LUN ra. I'm looking for the documentation about writing ra, does anyone knows where can I find it? P.S. RAs are current part of scst project, and they are considered stable. For the