<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p><strong>Greetings Debian HA maintainers,</strong></p>
<p><strong>I extracted your list email address from <a href="https://tracker.debian.org/pkg/resource-agents">https://tracker.debian.org/pkg/resource-agents</a>.</strong></p>
<p><strong>Gratitude to you! We successfully now have a live high-availability drive nfs-ganesha over glusterfs over zfs!<br />There were a couple of patches required to make things correct on debian 12.</strong></p>
<p><strong>I am not sure of your procedures for submitting patches,<br />but here they are in raw form. I made patches to:<br /><br />/usr/lib/ocf/resource.d/heartbeat/ganesha_mon<br /><br />and</strong></p>
<p><strong>/usr/lib/ocf/resource.d/heartbeat/portblock</strong></p>
<p><strong>Wondering how you would like me to proceed.</strong></p>
<p><strong>THANKS FOR THE BEST DISK DRIVE WE EVER HAVE HAD.</strong></p>
<p><strong>Jim</strong></p>
<p><br /></p>
<p><strong>p.s. Here is the info in raw form:</strong></p>
<p><strong>vi /usr/lib/ocf/resource.d/heartbeat/ganesha_mon<br /> # 13.0.11.7.10-t6 jimays debian<br /> # local pid_file="/var/run/ganesha.pid"<br /> local pid_file="/run/ganesha/ganesha.pid"<br /></strong></p>
<p><br /></p>
<p><strong>vi /usr/lib/ocf/resource.d/heartbeat/portblock<br /> active_grep_pat()<br /> {<br /> # 13.0.11.9.2-t12 jimays according to chat gpt...<br /> # In Red Hat-based distributions like CentOS and Fedora, the iptables -n -L command displays the protocol<br /> # as names like tcp, udp, or icmp, representing TCP, UDP, and ICMP protocols respectively.<br /> # However, in Debian-based distributions like Debian itself and Ubuntu, the iptables -n -L command displays<br /> # the protocol as numbers. For example, 6 represents TCP, 17 represents UDP, and 1 represents ICMP.<br /> if [ "$1" = "tcp" ]; then<br /> prot=6<br /> elif [ "$1" = "udp" ]; then<br /> prot=17<br /> else<br /> prot=x<br /> fi<br /> w="[ ][ ]*"<br /> any="0\\.0\\.0\\.0/0"<br /> src=$any dst=$3<br /> if [ "$4" = "s" ]; then<br /> local src=$3<br /> local dst=$any<br /> fi<br /> # echo "^DROP${w}${1}${w}--${w}${src}${w}${dst}${w}multiport${w}${4}ports${w}${2}$"<br /> echo "^DROP${w}${prot}${w}--${w}${src}${w}${dst}${w}multiport${w}${4}ports${w}${2}$"<br /> }<br /><br /> tickle_remote()<br /> {<br /> [ -z "$OCF_RESKEY_tickle_dir" ] && return<br /> # 13.0.11.9.1-t11 jimays "NOTE: net.ipv4.tcp_tw_recycle has been removed from Linux in 4.12."<br /> # gratitude https://stackoverflow.com/questions/6426253/tcp-tw-reuse-vs-tcp-tw-recycle-which-to-use-or-both<br /> # gratitude https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4396e46187ca5070219b81773c4e65088dac50cc<br /> # echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle<br /> f=$OCF_RESKEY_tickle_dir/$OCF_RESKEY_ip<br /> [ -r $f ] || return<br /> $TICKLETCP -n 3 < $f<br /> }<br /></strong></p>
</body></html>