Re: [ClusterLabs] pacemaker systemd resource

2020-07-23 Thread Хиль Эдуард
Thx Andrei, and to all of you guys for your time, i appreciate that! Yeah, it’s very sad to see that. Looks like a bug described here: https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1869751 https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1881762 Well, for me no other way, but

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Ken Gaillot
On Wed, 2020-07-22 at 17:04 +0300, Andrei Borzenkov wrote: > > > On Wed, Jul 22, 2020 at 4:58 PM Ken Gaillot > wrote: > > On Wed, 2020-07-22 at 10:59 +0300, Хиль Эдуард wrote: > > > Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on > > > ubuntu 20 + 1 qdevice. I want to define

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Reid Wahl
On Wed, Jul 22, 2020 at 10:57 AM Andrei Borzenkov wrote: > 22.07.2020 12:46, Хиль Эдуард пишет: > > > > Hey, Andrei! Thanx for ur time! > > A-a-and there is no chance to do something? :( > > The pacemaker’s log below. > > > > Resource was started: > > ... > > Jul 22 12:38:36 node2.local

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Andrei Borzenkov
22.07.2020 12:46, Хиль Эдуард пишет: > > Hey, Andrei! Thanx for ur time! > A-a-and there is no chance to do something? :(  > The pacemaker’s log below. >   Resource was started: ... > Jul 22 12:38:36 node2.local pacemaker-execd     [1721] (log_execute)      > info: executing - rsc:dummy.service

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Andrei Borzenkov
On Wed, Jul 22, 2020 at 4:58 PM Ken Gaillot wrote: > On Wed, 2020-07-22 at 10:59 +0300, Хиль Эдуард wrote: > > Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on > > ubuntu 20 + 1 qdevice. I want to define new resource as systemd > > unit dummy.service : > > > > [Unit] > >

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Ken Gaillot
On Wed, 2020-07-22 at 10:59 +0300, Хиль Эдуард wrote: > Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on > ubuntu 20 + 1 qdevice. I want to define new resource as systemd > unit dummy.service : > > [Unit] > Description=Dummy > [Service] > Restart=on-failure >

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Хиль Эдуард
Hey, Andrei! Thanx for ur time! A-a-and there is no chance to do something? :(  The pacemaker’s log below.     Jul 22 12:38:36 node2.local pacemaker-based     [1719] (cib_process_request)     info: Forwarding cib_apply_diff operation for section 'all' to all (origin=local/cibadmin/2) Jul 22

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Хиль Эдуард
Hi Klaus! Thank you for your attention, but isn’t work. I have added  Type=simple and there is no changes. I think problem not in service. As we can see from logs, the service is starting (Jul 21 15:53:42 node2.local dummy[9330]: hello world 1) but for the some reason pacemaker isn’t see it

[ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Хиль Эдуард
Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on ubuntu 20 + 1 qdevice. I want to define new resource as systemd unit  dummy.service :   [Unit] Description=Dummy [Service] Restart=on-failure StartLimitInterval=20 StartLimitBurst=5 TimeoutStartSec=0 RestartSec=5

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Andrei Borzenkov
On Wed, Jul 22, 2020 at 10:59 AM Хиль Эдуард wrote: > Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on ubuntu 20 > + 1 qdevice. I want to define new resource as systemd unit *dummy.service > *: > > [Unit] > Description=Dummy > [Service] > Restart=on-failure >

Re: [ClusterLabs] pacemaker systemd resource

2020-07-22 Thread Klaus Wenninger
On 7/22/20 9:59 AM, Хиль Эдуард wrote: > Hi there! I have 2 nodes with Pacemaker 2.0.3, corosync 3.0.3 on > ubuntu 20 + 1 qdevice. I want to define new resource as systemd > unit *dummy.service *: >   > [Unit] > Description=Dummy > [Service] Type=simple That could do the trick. Actually I thought