* ocf-shellfuncs: fix version regex in ocf_local_nodename() * azure-events-az: update to API versions, add retry functionality for metadata requests, update tests * Mid: storage-mon: Add logging to daemon mode. * outscale: new resource agent (#1938) * Azure-lb fails if IPv6 disabled (#1939) * Filesystem: fail when leading or trailing whitespace is present in device or directory parameters * AWS agents: use curl_retry() * Filesystem: fail when incorrect device mounted on mountpoint, and dont unmount the mountpoint in this case, or if mountpoint set to "/" * ocf-shellfuncs: add curl_retry() * build: update ChangeLog for 4.14.0 * doc: writing-python-agents: add description of is_probe() and distro() * build: update ChangeLog for 4.14.0-rc1 * db2: fix OCF_SUCESS name in db2_notify (#1933) * docs: writing-python-agents: update required Python version to 3.6+ * findif.sh: fix corner cases * portblock: remove write to tcp_tw_recycle - Normalize log format from RAs with one of Pacemaker (bsc#1217456) - Remove unsupported RAs from resource-agents package (jsc#PED-5577) (jsc#PED-8232) add-patch: drop-deprecated-agents.patch remove-patch: 0001-LVM-Default-partial_activation-to-true-in-SLE-HAE.patch OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/resource-agents?expand=0&rev=44
12 lines
497 B
Diff
12 lines
497 B
Diff
--- heartbeat/portblock.orig 2024-06-07 08:35:56.538587042 +0200
|
|
+++ heartbeat/portblock 2024-06-07 08:36:36.086905689 +0200
|
|
@@ -328,6 +328,8 @@ save_tcp_connections()
|
|
tickle_remote()
|
|
{
|
|
[ -z "$OCF_RESKEY_tickle_dir" ] && return
|
|
+ [ -f "/proc/sys/net/ipv4/tcp_tw_recycle" ] && echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
|
|
+ [ -f "/proc/sys/net/ipv4/tcp_tw_reuse" ] && echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
|
|
f=$OCF_RESKEY_tickle_dir/$OCF_RESKEY_ip
|
|
[ -r $f ] || return
|
|
$TICKLETCP -n 3 < $f
|