Re: [ClusterLabs] DLM, cLVM, GFS2 and OCFS2 managed by systemd instead of crm ?

2019-10-16 Thread Roger Zhou
Hi Bernd,

Apart from Ken's insights.

I try to put it simple between systemd vs. pacemaker:

pacemaker does manage dependencies among nodes, well, systemd just not.

Cheers,
Roger

On 10/16/19 5:16 AM, Ken Gaillot wrote:
> On Tue, 2019-10-15 at 21:35 +0200, Lentes, Bernd wrote:
>> Hi,
>>
>> i'm a big fan of simple solutions (KISS).
>> Currently i have DLM, cLVM, GFS2 and OCFS2 managed by pacemaker.
>> They all are fundamental prerequisites for my resources (Virtual
>> Domains).
>> To configure them i used clones and groups.
>> Why not having them managed by systemd to make the cluster setup more
>> overseeable ?
>>
>> Is there a strong reason that pacemaker cares about them ?
>>
>> Bernd
> 
> Either approach is reasonable. The advantages of keeping them in
> pacemaker are:
> 
> - Service-aware recurring monitor (if OCF)
> 
> - If one of those components fails, pacemaker will know to try to
> recover everything in the group from that point, and if necessary,
> fence the node and recover the virtual domain elsewhere (if they're in
> systemd, pacemaker will only know that the virtual domain has failed,
> and likely keep trying to restart it fruitlessly)
> 
> - Convenience of things like putting a node in standby mode, and
> checking resource status on all nodes with one command
> 
> If you do move them to systemd, be sure to use the resource-agents-deps
> target to ensure they're started before pacemaker and stopped after
> pacemaker.
> 
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


Re: [ClusterLabs] DLM, cLVM, GFS2 and OCFS2 managed by systemd instead of crm ?

2019-10-15 Thread Gang He
Hello Lentes,o

In the cluster environment, usually we need to fence(or dynamically add/delete) 
node,
the full stacks provided by packmaker/corosync can help to complete it 
automatically/integrally.


Thanks
Gang


From: Users  on behalf of Lentes, Bernd 

Sent: Wednesday, October 16, 2019 3:35 AM
To: Pacemaker ML 
Subject: [ClusterLabs] DLM, cLVM, GFS2 and OCFS2 managed by systemd instead of 
crm ?

Hi,

i'm a big fan of simple solutions (KISS).
Currently i have DLM, cLVM, GFS2 and OCFS2 managed by pacemaker.
They all are fundamental prerequisites for my resources (Virtual Domains).
To configure them i used clones and groups.
Why not having them managed by systemd to make the cluster setup more 
overseeable ?

Is there a strong reason that pacemaker cares about them ?

Bernd

--

Bernd Lentes
Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.len...@helmholtz-muenchen.de
phone: +49 89 3187 1241
phone: +49 89 3187 3827
fax: +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg

Perfekt ist wer keine Fehler macht
Also sind Tote perfekt


Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Re: [ClusterLabs] DLM, cLVM, GFS2 and OCFS2 managed by systemd instead of crm ?

2019-10-15 Thread Ken Gaillot
On Tue, 2019-10-15 at 21:35 +0200, Lentes, Bernd wrote:
> Hi,
> 
> i'm a big fan of simple solutions (KISS).
> Currently i have DLM, cLVM, GFS2 and OCFS2 managed by pacemaker.
> They all are fundamental prerequisites for my resources (Virtual
> Domains).
> To configure them i used clones and groups.
> Why not having them managed by systemd to make the cluster setup more
> overseeable ?
> 
> Is there a strong reason that pacemaker cares about them ?
> 
> Bernd 

Either approach is reasonable. The advantages of keeping them in
pacemaker are:

- Service-aware recurring monitor (if OCF)

- If one of those components fails, pacemaker will know to try to
recover everything in the group from that point, and if necessary,
fence the node and recover the virtual domain elsewhere (if they're in
systemd, pacemaker will only know that the virtual domain has failed,
and likely keep trying to restart it fruitlessly)

- Convenience of things like putting a node in standby mode, and
checking resource status on all nodes with one command

If you do move them to systemd, be sure to use the resource-agents-deps 
target to ensure they're started before pacemaker and stopped after
pacemaker.
-- 
Ken Gaillot 

___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] DLM, cLVM, GFS2 and OCFS2 managed by systemd instead of crm ?

2019-10-15 Thread Lentes, Bernd
Hi,

i'm a big fan of simple solutions (KISS).
Currently i have DLM, cLVM, GFS2 and OCFS2 managed by pacemaker.
They all are fundamental prerequisites for my resources (Virtual Domains).
To configure them i used clones and groups.
Why not having them managed by systemd to make the cluster setup more 
overseeable ?

Is there a strong reason that pacemaker cares about them ?

Bernd 

-- 

Bernd Lentes 
Systemadministration 
Institut für Entwicklungsgenetik 
Gebäude 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.len...@helmholtz-muenchen.de 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/idg 

Perfekt ist wer keine Fehler macht 
Also sind Tote perfekt
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/