[ClusterLabs] Antw: [EXT] Samba failover and Windows access

2022-12-07 Thread Ulrich Windl
>>> Dave Withheld  schrieb am 08.12.2022 um 08:03 in
Nachricht
:

> In our production factory, we run a 2‑node cluster on CentOS 8 with
pacemaker, 
> a virtual IP, and drbd for shared storage with samba (among other services)

> running as a resource on the active node.  Everything works great except
when 

Did you consider using CTDB Samba and dual-primary DRBD instead? CTDB samba
replicates connection information to the nodes, so if one goes down, the other
knows about the clients...

> we fail over.  All resources are moved to the other node and start just
fine, 
> but Windows hosts that have connections to the samba shares all have to be 
> rebooted before they can reconnect.  Clients that were not connected can 
> connect.  We have samba configured for only SMB1 protocol and all Windows 
> clients are configured to allow it.
> 
> Maybe this is a question for the samba folks, but thought I'd try here first

> since it's only a problem when the other node takes over the samba resource.
 
> Anyone seen this problem and solved it?



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

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


Re: [ClusterLabs] Samba failover and Windows access

2022-12-07 Thread Klaus Wenninger
On Thu, Dec 8, 2022 at 8:03 AM Dave Withheld 
wrote:

> In our production factory, we run a 2-node cluster on CentOS 8 with
> pacemaker, a virtual IP, and drbd for shared storage with samba (among
> other services) running as a resource on the active node.  Everything works
> great except when we fail over.  All resources are moved to the other node
> and start just fine, but Windows hosts that have connections to the samba
> shares all have to be rebooted before they can reconnect.  Clients that
> were not connected can connect.  We have samba configured for only SMB1
> protocol and all Windows clients are configured to allow it.
>
> Did you test if it is samba/smb-client related or windows IP-stack related
- like ping the samba-host from the windows machines?
Is the virtual IP using the physical MAC address of the interface - like
windows missing the gratuitous ARP?

Klaus

> Maybe this is a question for the samba folks, but thought I'd try here
> first since it's only a problem when the other node takes over the samba
> resource.  Anyone seen this problem and solved it?
> ___
> 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/


[ClusterLabs] Samba failover and Windows access

2022-12-07 Thread Dave Withheld
In our production factory, we run a 2-node cluster on CentOS 8 with pacemaker, 
a virtual IP, and drbd for shared storage with samba (among other services) 
running as a resource on the active node.  Everything works great except when 
we fail over.  All resources are moved to the other node and start just fine, 
but Windows hosts that have connections to the samba shares all have to be 
rebooted before they can reconnect.  Clients that were not connected can 
connect.  We have samba configured for only SMB1 protocol and all Windows 
clients are configured to allow it.

Maybe this is a question for the samba folks, but thought I'd try here first 
since it's only a problem when the other node takes over the samba resource.  
Anyone seen this problem and solved it?
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

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


[ClusterLabs] Antw: [EXT] mdraid ‑ pacemaker resource agent

2022-12-07 Thread Ulrich Windl
>>> Ulrich Windl schrieb am 08.12.2022 um 07:55 in Nachricht <63918A51.502 :
161 :
60728>:
 "Jelen, Piotr"  schrieb am 07.12.2022 um
11:44 in
> Nachricht
>
 om>
> 
> > Hi ClusterLabs team ,
> > 
> > I would like to ask if this resource agent was tested and if it can be use

> > in production?
> 
> Hi!
> 
> We use it in production for more than 10 years now. Of course it requires a

> little it of thinking when configuring it cluster-wide.

s/ it / bit / # the first one

> We also had used the clustered-RAID variant for a year or so.
> 
> What made you think it does not work?
> 
> Regards,
> Ulrich
> 
> > resource‑agents/mdraid at main * ClusterLabs/resource‑agents * 
> >
GitHub ra 
> >id>
> > 
> > Thank you
> > Piotr Jelen
> > Senior Systems Platform Engineer
> > 
> > Mastercard
> > Mountain View, Central Park  | Leopard
> > [cid:image001.png@01D90A28.C8BE8900]
> > 
> > 
> > CONFIDENTIALITY NOTICE This e‑mail message and any attachments are only
for 
> > the use of the intended recipient and may contain information that is 
> > privileged, confidential or exempt from disclosure under applicable law.
If 
> > you are not the intended recipient, any disclosure, distribution or other

> use 
> > of this e‑mail message or attachments is prohibited. If you have received

> this 
> > e‑mail message in error, please delete and notify the sender immediately.

> > Thank you.
> 
> 
> 
> 



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

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


[ClusterLabs] Antw: [EXT] mdraid ‑ pacemaker resource agent

2022-12-07 Thread Ulrich Windl
>>> "Jelen, Piotr"  schrieb am 07.12.2022 um 11:44
in
Nachricht


> Hi ClusterLabs team ,
> 
> I would like to ask if this resource agent was tested and if it can be use 
> in production?

Hi!

We use it in production for more than 10 years now. Of course it requires a
little it of thinking when configuring it cluster-wide.
We also had used the clustered-RAID variant for a year or so.

What made you think it does not work?

Regards,
Ulrich

> resource‑agents/mdraid at main * ClusterLabs/resource‑agents * 
>
GitHubid>
> 
> Thank you
> Piotr Jelen
> Senior Systems Platform Engineer
> 
> Mastercard
> Mountain View, Central Park  | Leopard
> [cid:image001.png@01D90A28.C8BE8900]
> 
> 
> CONFIDENTIALITY NOTICE This e‑mail message and any attachments are only for

> the use of the intended recipient and may contain information that is 
> privileged, confidential or exempt from disclosure under applicable law. If

> you are not the intended recipient, any disclosure, distribution or other
use 
> of this e‑mail message or attachments is prohibited. If you have received
this 
> e‑mail message in error, please delete and notify the sender immediately. 
> Thank you.



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

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


Re: [ClusterLabs] mdraid - pacemaker resource agent

2022-12-07 Thread Roger Zhou via Users

On 12/7/22 18:44, Jelen, Piotr wrote:

Hi ClusterLabs team ,

I would like to ask if this resource agent was tested and if it can be use in 
production?
resource-agents/mdraid at main · ClusterLabs/resource-agents · GitHub 





Yes. Why not ;). We don't see big missing piece, though might have some 
improvement for the certain scenario. Anyway, you could report the issue, or 
provide improvement code, if any.


Cheers,
Roger



Thank you

*Piotr Jelen*

Senior Systems Platform Engineer

Mastercard

Mountain View, Central Park  | Leopard

[mastercard.com] 


CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the 
use of the intended recipient and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are not the 
intended recipient, any disclosure, distribution or other use of this e-mail 
message or attachments is prohibited. If you have received this e-mail message 
in error, please delete and notify the sender immediately. Thank you.


___
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/


[ClusterLabs] mdraid - pacemaker resource agent

2022-12-07 Thread Jelen, Piotr
Hi ClusterLabs team ,

I would like to ask if this resource agent was tested and if it can be use in 
production?
resource-agents/mdraid at main * ClusterLabs/resource-agents * 
GitHub

Thank you
Piotr Jelen
Senior Systems Platform Engineer

Mastercard
Mountain View, Central Park  | Leopard
[cid:image001.png@01D90A28.C8BE8900]


CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the 
use of the intended recipient and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are not the 
intended recipient, any disclosure, distribution or other use of this e-mail 
message or attachments is prohibited. If you have received this e-mail message 
in error, please delete and notify the sender immediately. Thank you.
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

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