Actually, looks like I'm wrong here:

In get_lrm_resource() I see:

        char rid[64];

Which is clearly wrong.

On Mon, Sep 20, 2010 at 11:57 AM, Andrew Beekhof <[email protected]> wrote:
> On Fri, Sep 17, 2010 at 3:58 PM, Alain.Moulle <[email protected]> wrote:
>> Hi,
>>
>> just for info :
>> it seems that there is a limit on the number of characters for names in
>> Pacemaker,
>> I had two resources names of 67 characters, gathered in a group, and the
>> resources
>> remain always ORPHANED , without clear reason. I've cut the names to get
>> 47 characters
>> and it works fine . I don't know where is exactly the limit but ,
>
> #define RID_LEN         128
>
> Subtract the length of the group name from that and this _should_ be the 
> limit.
>
>> I mention this only because crm could perhaps refuse the configuration
>> of resources if the
>> name is too long. For now, it is accepted by crm configure, and then it
>> is hard for the user
>> to know why resources are ORPHANED...
>>
>> But perhaps it is already taken in account in further releases ... I'm
>> working with :
>> pacemaker-1.1.2-2.el6
>>
>> Regards.
>> Alain
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to