Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-05 Thread Vladislav Bogdanov
Ah, and yes, it is for iptables, not for nft or firewalld. Could be easily fixed though. And RA expects target chains to be pre-created. Vladislav Bogdanov 5 апреля 2023 г. 14:53:35 написал: Please find attached. I use it the following way: primitive vip-10-5-4-235 ocf:my-org:IPaddr2 \

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-05 Thread Vladislav Bogdanov
Please find attached. I use it the following way: primitive vip-10-5-4-235 ocf:my-org:IPaddr2 \ params ip="10.5.4.235" cidr_netmask="24" \ op start interval="0" timeout="20" \ op stop interval="0" timeout="20" \ op monitor interval="30" timeout="20" primitive vip-10

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Александр via Users
What is this agent? For iscsitarget, I only found portblock RA, in the linstor manual. Can you share the agent and setup instructions? >Среда, 5 апреля 2023, 6:09 +10:00 от Vladislav Bogdanov : >  >I know that uscsi initiators are very sensible to connection drops. That's why >in all my setups

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Александр via Users
Среда, 5 апреля 2023, 4:21 +10:00 от Reid Wahl : >See also discussion starting at this comment: >https://github.com/ClusterLabs/resource-agents/issues/1852#issuecomment-1479119045 > >Happy to see this on the mailing list :)   This is my ticket =)  ___

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Александр via Users
>Среда, 5 апреля 2023, 0:08 +10:00 от Ken Gaillot : > >That looks like a well-thought-out guide. One minor correction, since >Corosync 3, no-quorum-policy=ignore is no longer needed. Instead, set >"two_node: 1" in corosync.conf (which may be automatic depending on >what tools you're using). > >Tha

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Vladislav Bogdanov
I know that uscsi initiators are very sensible to connection drops. That's why in all my setups with iscsi I use a special m/s resource agent which in a slave mode drops all packets to/from portals. That prevents initiators from receiving FIN packets from the target when it migrates, and they u

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Reid Wahl
On Tue, Apr 4, 2023 at 7:08 AM Ken Gaillot wrote: > > On Mon, 2023-04-03 at 02:47 +0300, Александр via Users wrote: > > Pacemaker + corosync cluster with 2 virtual machines (ubuntu 22.04, > > 16 Gb RAM, 8 CPU each) are assembled into a cluster, an HBA is > > forwarded to each of them to connect to

Re: [ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-04 Thread Ken Gaillot
On Mon, 2023-04-03 at 02:47 +0300, Александр via Users wrote: > Pacemaker + corosync cluster with 2 virtual machines (ubuntu 22.04, > 16 Gb RAM, 8 CPU each) are assembled into a cluster, an HBA is > forwarded to each of them to connect to a disk shelf according to the > instructions https://netberg

[ClusterLabs] Lost access with the volume while ZFS and other resources migrate to other node (reset VM)

2023-04-02 Thread Александр via Users
P acemaker + corosync cluster with 2 virtual machines (ubuntu 22.04, 16 Gb RAM, 8 CPU each) are assembled into a cluster, an HBA is forwarded to each of them to connect to a disk shelf according to the instructions https://netbergtw.com/top-support/articles/zfs-cib /. A ZFS pool was assembled