Re: [Pacemaker] Order of resources in a group and crm_diff

2014-06-09 Thread Andrew Beekhof
On 6 Jun 2014, at 5:37 pm, Gao,Yan wrote: > > > On 06/06/14 13:21, Gao,Yan wrote: >> On 01/29/14 13:44, Andrew Beekhof wrote: >>> >>> On 28 Jan 2014, at 10:11 pm, Vladislav Bogdanov >>> wrote: >>> Hi all, Just discovered, that when I add resource to a middle of (runnin

Re: [Pacemaker] Order of resources in a group and crm_diff

2014-06-06 Thread Gao,Yan
On 06/06/14 13:21, Gao,Yan wrote: > On 01/29/14 13:44, Andrew Beekhof wrote: >> >> On 28 Jan 2014, at 10:11 pm, Vladislav Bogdanov wrote: >> >>> Hi all, >>> >>> Just discovered, that when I add resource to a middle of >>> (running) group, it is added to the end. >>> >>> I mean, if I update follo

Re: [Pacemaker] Order of resources in a group and crm_diff

2014-06-05 Thread Gao,Yan
On 01/29/14 13:44, Andrew Beekhof wrote: > > On 28 Jan 2014, at 10:11 pm, Vladislav Bogdanov wrote: > >> Hi all, >> >> Just discovered, that when I add resource to a middle of >> (running) group, it is added to the end. >> >> I mean, if I update following (crmsh syntax) >> >> group dhcp-server v

Re: [Pacemaker] Order of resources in a group and crm_diff

2014-02-18 Thread Andrew Beekhof
On 18 Feb 2014, at 7:25 pm, Vladislav Bogdanov wrote: > 29.01.2014 08:44, Andrew Beekhof wrote: > ... >> >> Thats a known deficiency in the v1 diff format (and why we need costly >> digests to detect ordering changes). >> Happily .12 will have a new and improve diff format that will handle thi

Re: [Pacemaker] Order of resources in a group and crm_diff

2014-02-18 Thread Vladislav Bogdanov
29.01.2014 08:44, Andrew Beekhof wrote: ... > > Thats a known deficiency in the v1 diff format (and why we need costly > digests to detect ordering changes). > Happily .12 will have a new and improve diff format that will handle this > correctly. Does your recent cib-performance rewrite address

Re: [Pacemaker] Order of resources in a group and crm_diff

2014-01-28 Thread Andrew Beekhof
On 28 Jan 2014, at 10:11 pm, Vladislav Bogdanov wrote: > Hi all, > > Just discovered, that when I add resource to a middle of > (running) group, it is added to the end. > > I mean, if I update following (crmsh syntax) > > group dhcp-server vip-10-5-200-244 dhcpd > > with > > group dhcp-serv

[Pacemaker] Order of resources in a group and crm_diff

2014-01-28 Thread Vladislav Bogdanov
Hi all, Just discovered, that when I add resource to a middle of (running) group, it is added to the end. I mean, if I update following (crmsh syntax) group dhcp-server vip-10-5-200-244 dhcpd with group dhcp-server vip-10-5-200-244 vip-10-5-201-244 dhcpd with 'crm configure load update', actu