Compare commits
8 commits
fix/nfs-st
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 9edc2a6030 | |||
| 707f795931 | |||
| 0403dd7fc7 | |||
| 4fa6a9b0a0 | |||
| b288aeb8ed | |||
| 89dd3dc203 | |||
| 69e46939e6 | |||
| 568ead9b87 |
4 changed files with 18 additions and 1 deletions
6
nfs-stability.yml
Normal file
6
nfs-stability.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- name: NFS and mergerfs stability
|
||||||
|
hosts: emby-sascha:emby-chris:arrapps
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- nfs_stability
|
||||||
|
|
@ -40,7 +40,7 @@ n8n ansible_host=10.4.1.113
|
||||||
hermes ansible_host=10.4.1.100
|
hermes ansible_host=10.4.1.100
|
||||||
monitoring ansible_host=10.1.1.111
|
monitoring ansible_host=10.1.1.111
|
||||||
automation1 ansible_host=10.5.85.5
|
automation1 ansible_host=10.5.85.5
|
||||||
outline ansible_host=10.1.1.100
|
|
||||||
satisfactory ansible_host=10.3.1.120
|
satisfactory ansible_host=10.3.1.120
|
||||||
|
|
||||||
[communication]
|
[communication]
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ usage() {
|
||||||
echo -e " ${C}wstunnel${N} [host] wstunnel + WireGuard deployen"
|
echo -e " ${C}wstunnel${N} [host] wstunnel + WireGuard deployen"
|
||||||
echo -e " ${C}sshfs${N} [host] SSHFS Mounts einrichten"
|
echo -e " ${C}sshfs${N} [host] SSHFS Mounts einrichten"
|
||||||
echo -e " ${C}tune${N} <host> Sysctl Netzwerk-Tuning"
|
echo -e " ${C}tune${N} <host> Sysctl Netzwerk-Tuning"
|
||||||
|
echo -e " ${C}nfs${N} <host> NFS-/mergerfs-Stabilisierung ausrollen"
|
||||||
echo -e " ${C}pvetune${N} [host] Proxmox Host Tuning (sysctl, resolv, hosts)"
|
echo -e " ${C}pvetune${N} [host] Proxmox Host Tuning (sysctl, resolv, hosts)"
|
||||||
echo -e " ${C}tc${N} [host] tc per-flow Rate-Limit (50 Mbit/s pro Connection)"
|
echo -e " ${C}tc${N} [host] tc per-flow Rate-Limit (50 Mbit/s pro Connection)"
|
||||||
echo -e " ${C}watchdog${N} Network Watchdog deployen (Whitelist aus Ansible)"
|
echo -e " ${C}watchdog${N} Network Watchdog deployen (Whitelist aus Ansible)"
|
||||||
|
|
@ -103,6 +104,10 @@ case "$CMD" in
|
||||||
[ -z "$HOST" ] && echo -e "${R}Fehler: Host angeben${N}" && exit 1
|
[ -z "$HOST" ] && echo -e "${R}Fehler: Host angeben${N}" && exit 1
|
||||||
run sysctl.yaml -l "$HOST"
|
run sysctl.yaml -l "$HOST"
|
||||||
;;
|
;;
|
||||||
|
nfs)
|
||||||
|
[ -z "$HOST" ] && echo -e "${R}Fehler: Host angeben${N}" && exit 1
|
||||||
|
run nfs-stability.yml -l "$HOST"
|
||||||
|
;;
|
||||||
pvetune)
|
pvetune)
|
||||||
if [ -n "$HOST" ]; then
|
if [ -n "$HOST" ]; then
|
||||||
run sysctl-proxmox.yaml -l "$HOST"
|
run sysctl-proxmox.yaml -l "$HOST"
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,12 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
- name: Run the safe helper once to recover mounts left missing by the legacy loop
|
||||||
|
ansible.builtin.command:
|
||||||
|
argv:
|
||||||
|
- /usr/local/sbin/remount-nfs-safe
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Verify systemd unit dependency graph
|
- name: Verify systemd unit dependency graph
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue