Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Eric Robinson
> > Here are the constraints... > > > > [root@ha09a ~]# pcs constraint --full > > Location Constraints: > > Ordering Constraints: > > promote p_drbd0-clone then start p_vdo0 (kind:Mandatory) (id:order- > p_drbd0-clone-p_vdo0-mandatory) > > promote p_drbd1-clone then start p_vdo1 (kind:Mandatory

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Eric Robinson
> Now, that's becoming ridiculous. Nobody said "use whatever upstream > ships" because upstream probably never intended it to be used in a cluster > environment. But if you are going to write your own LSB/OCF script anyway, > you can just as well write your own service. Which is much simpler at thi

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Strahil Nikolov
Also,pacemaker has a very fine grain control mechanisms when and where to run your resources (and even with which resourses to colocate). Best Regards,Strahil Nikolov On Tue, May 18, 2021 at 12:43, Strahil Nikolov wrote: >That was the first thing I tried. The systemd service does not work

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Strahil Nikolov
>That was the first thing I tried. The systemd service does not work because it >wants to stop and start all vdo devices, but mine are on different nodes.  That's why I mentioned to create your own version of the systemd service. Best Regards,Strahil Nikolov

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Strahil Nikolov
And why don't you use your own systemd service ? Best Regards,Strahil Nikolov___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Andrei Borzenkov
On Tue, May 18, 2021 at 11:43 AM Eric Robinson wrote: > > But really, the most simple would be to use systemd service. Then you do > > not really need to monitor anything. Resource is assumed to be active when > > service is started. That is enough to quickly get it going. > > > > That was the fir

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Andrei Borzenkov
_FLUSH: > supported, REQ_FUA: supported > May 17 22:16:55 ha09b kernel: kvdo0:dmsetup: Using write policy async > automatically. > May 17 22:16:55 ha09b kernel: kvdo0:dmsetup: loading device 'vdo0' > May 17 22:16:55 ha09b kernel: kvdo0:dmsetup: zones: 1 logical, 1 physical, 1

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Eric Robinson
> -Original Message- > From: Users On Behalf Of Andrei > Borzenkov > Sent: Tuesday, May 18, 2021 3:19 AM > To: Cluster Labs - All topics related to open-source clustering welcomed > > Subject: Re: [ClusterLabs] DRBD + VDO HowTo? > > On Tue, May 18, 202

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Andrei Borzenkov
d to monitor anything. Resource is assumed to be active when service is started. That is enough to quickly get it going. > > > -Original Message- > > From: Users On Behalf Of Andrei > > Borzenkov > > Sent: Tuesday, May 18, 2021 12:22 AM > > To: users@clusterl

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-18 Thread Eric Robinson
target. How would I check for the existence of the device mapper target for vdo0? > -Original Message- > From: Users On Behalf Of Andrei > Borzenkov > Sent: Tuesday, May 18, 2021 12:22 AM > To: users@clusterlabs.org > Subject: Re: [ClusterLabs] DRBD + VDO HowTo?

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Andrei Borzenkov
using in resource agent for at least two reasons - it relies on existing configuration files and does not really scan system for VDO devices. "VDO volume foo not found" really means "not found in configuration file". At the same time vdo tools accepts configuration file as argument.

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Eric Robinson
vice-mapper event daemon. May 17 22:16:55 ha09b dmeventd[3931]: dmeventd ready for processing. May 17 22:16:55 ha09b UDS/vdodmeventd[3930]: INFO (vdodmeventd/3930) VDO device vdo0 is now registered with dmeventd for monitoring May 17 22:16:55 ha09b lvm[3931]: Monitoring VDO pool vdo0. May 17 22:16:56

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Eric Robinson
tus on ha09b Should it report something else? > -Original Message- > From: Users On Behalf Of Eric Robinson > Sent: Monday, May 17, 2021 1:37 PM > To: Cluster Labs - All topics related to open-source clustering welcomed > > Subject: Re: [ClusterLabs] DRBD + VDO HowTo? &

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Eric Robinson
o0 vdo1 > -Original Message- > From: Users On Behalf Of Eric Robinson > Sent: Monday, May 17, 2021 1:28 PM > To: Cluster Labs - All topics related to open-source clustering welcomed > > Subject: Re: [ClusterLabs] DRBD + VDO HowTo? > > Andrei -- > > Sorry for the n

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Eric Robinson
MY_HOSTNAME" exit 5 fi if [ "$R" == "online" ]; then echo "$VOL started on $MY_HOSTNAME" exit 0 #--lsb: success else echo

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Andrei Borzenkov
> Sent: Monday, May 17, 2021 5:09 AM > To: kwenn...@redhat.com; Klaus Wenninger ; Cluster Labs > - All topics related to open-source clustering welcomed > ; Eric Robinson > Subject: Re: [ClusterLabs] DRBD + VDO HowTo? > > Have you tried to set VDO in async mode ? > > Best

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Eric Robinson
lt;mailto:eric.robin...@psmnv.com>; Cluster Labs - All topics related to open-source clustering welcomed <mailto:users@clusterlabs.org> Subject: RE: [ClusterLabs] DRBD + VDO HowTo? Are you sure that the DRBD is working properly ? Best Regards, Strahil Nikolov On Mon, May 17

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-17 Thread Strahil Nikolov
e the vdo devices are not present. All kinds of issues.     From: Users On Behalf Of Eric Robinson Sent: Friday, May 14, 2021 3:55 PM To: Strahil Nikolov ; Cluster Labs - All topics related to open-source clustering welcomed Subject: Re: [ClusterLabs] DRBD + VDO HowTo?    

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-16 Thread Klaus Wenninger
fine. *From:* Strahil Nikolov *Sent:* Sunday, May 16, 2021 6:06 PM *To:* Eric Robinson ; Cluster Labs - All topics related to open-source clustering welcomed *Subject:* RE: [ClusterLabs] DRBD + VDO HowTo? Are you sure that the DRBD is working properly ? Best Regards, Strahil Nikolov O

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-16 Thread Eric Robinson
Yes, DRBD is working fine. From: Strahil Nikolov Sent: Sunday, May 16, 2021 6:06 PM To: Eric Robinson ; Cluster Labs - All topics related to open-source clustering welcomed Subject: RE: [ClusterLabs] DRBD + VDO HowTo? Are you sure that the DRBD is working properly ? Best Regards, Strahil

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-16 Thread Strahil Nikolov
Subject: Re: [ClusterLabs] DRBD + VDO HowTo?     Okay, I have it working now. The default systemd service definitions did not work, so I created my own.     From: Strahil Nikolov Sent: Friday, May 14, 2021 3:41 AM To: Eric Robinson ; Cluster Labs - All topics related to open

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-16 Thread Eric Robinson
to open-source clustering welcomed Subject: Re: [ClusterLabs] DRBD + VDO HowTo? Okay, I have it working now. The default systemd service definitions did not work, so I created my own. From: Strahil Nikolov mailto:hunter86...@yahoo.com>> Sent: Friday, May 14, 2021 3:41 AM To: Eric Ro

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-14 Thread Eric Robinson
lready? From: Strahil Nikolov mailto:hunter86...@yahoo.com>> Sent: Thursday, May 13, 2021 10:07 PM To: Cluster Labs - All topics related to open-source clustering welcomed mailto:users@clusterlabs.org>>; Eric Robinson mailto:eric.robin...@psmnv.com>> Subject: Re: [ClusterLabs] DRBD

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-14 Thread Strahil Nikolov
clustering welcomed ; Eric Robinson Subject: Re: [ClusterLabs] DRBD + VDO HowTo?   For DRBD there is enough info, so let's focus on VDO. There is a systemd service that starts all VDOs on the system. You can create the VDO once drbs is open for writes and then you can create your own sy

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-14 Thread Strahil Nikolov
For DRBD there is enough info, so let's focus on VDO.There is a systemd service that starts all VDOs on the system. You can create the VDO once drbs is open for writes and then you can create your own systemd '.service' file which can be used as a cluster resource. Best Regards,Strahil Nikolo

Re: [ClusterLabs] DRBD + VDO HowTo?

2021-05-13 Thread Eric Robinson
, 2021 10:07 PM To: Cluster Labs - All topics related to open-source clustering welcomed ; Eric Robinson Subject: Re: [ClusterLabs] DRBD + VDO HowTo? For DRBD there is enough info, so let's focus on VDO. There is a systemd service that starts all VDOs on the system. You can create the VDO once

[ClusterLabs] DRBD + VDO HowTo?

2021-05-13 Thread Eric Robinson
Can anyone point to a document on how to use VDO de-duplication with DRBD? Linbit has a blog page about it, but it was last updated 6 years ago and the embedded links are dead. https://linbit.com/blog/albireo-virtual-data-optimizer-vdo-on-drbd/ -Eric Disclaimer : This email and any files tr