[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 Lars Marowsky-Bree
On 2013-03-13T19:38:57, Riccardo Bicelli r.bice...@gmail.com wrote: Hello, does anyone know if it is possible to have, in CIB declaration, a set of parameters with different value per node? Yes. For example, I have an RA which is dealing with SCSI target on infiniband HCA card. on node1

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

Re: [Pacemaker] Writing RAs - Parameters per node

2013-03-13 Thread Andrew Beekhof
On Thu, Mar 14, 2013 at 6:22 AM, Riccardo Bicelli r.bice...@gmail.com wrote: Hello, This is possible (you can have rules for the instance attributes), Could you provide me an example? This should do it: