Re: [ClusterLabs] Offtopic - role migration

2023-04-18 Thread Ken Gaillot
On Tue, 2023-04-18 at 19:50 +0200, Vladislav Bogdanov wrote: > Btw, an interesting question. How much efforts would it take to > support a migration of a Master role over the nodes? An use-case is > drbd, configured for a multi-master mode internally, but with master- > max=1 in the resource

Re: [ClusterLabs] manner in which cluster migrates VirtualDomain - ?

2023-04-18 Thread Ken Gaillot
On Tue, 2023-04-18 at 19:36 +0200, lejeczek via Users wrote: > > On 18/04/2023 18:22, Ken Gaillot wrote: > > On Tue, 2023-04-18 at 14:58 +0200, lejeczek via Users wrote: > > > Hi guys. > > > > > > When it's done by the cluster itself, eg. a node goes 'standby' - > > > how > > > do clusters

[ClusterLabs] Offtopic - role migration

2023-04-18 Thread Vladislav Bogdanov
Btw, an interesting question. How much efforts would it take to support a migration of a Master role over the nodes? An use-case is drbd, configured for a multi-master mode internally, but with master-max=1 in the resource definition. Assuming that resource-agent supports that flow - 1. Do

Re: [ClusterLabs] manner in which cluster migrates VirtualDomain - ?

2023-04-18 Thread lejeczek via Users
On 18/04/2023 18:22, Ken Gaillot wrote: On Tue, 2023-04-18 at 14:58 +0200, lejeczek via Users wrote: Hi guys. When it's done by the cluster itself, eg. a node goes 'standby' - how do clusters migrate VirtualDomain resources? 1. Call resource agent migrate_to action on original node 2. Call

Re: [ClusterLabs] manner in which cluster migrates VirtualDomain - ?

2023-04-18 Thread Ken Gaillot
On Tue, 2023-04-18 at 14:58 +0200, lejeczek via Users wrote: > Hi guys. > > When it's done by the cluster itself, eg. a node goes 'standby' - how > do clusters migrate VirtualDomain resources? 1. Call resource agent migrate_to action on original node 2. Call resource agent migrate_from action on

Re: [ClusterLabs] NFS mount fails to stop if NFS server is lost

2023-04-18 Thread Miro Igov
Force -f is improper in situations when NFS server is gone. I have node intranet-test2 with nfs mount and nas-sync-test2 with NFS server and export resources. I made following experiment: 1. Paused the VM running nas-sync-test2 so cluster lost the member 2. Executed umount -f /folder

[ClusterLabs] manner in which cluster migrates VirtualDomain - ?

2023-04-18 Thread lejeczek via Users
Hi guys. When it's done by the cluster itself, eg. a node goes 'standby' - how do clusters migrate VirtualDomain resources? Do users have any control over it and if so then how? I'd imagine there must be some docs - I failed to find Especially in large deployments one obvious question would