This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=SR-IOV VF Watchdog for BCM57810 SR-IOV VMs | |
| After=pve-guests.service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/local/bin/sriov-watchdog.sh | |
| # Prevent FD/env leaks to child processes | |
| PrivateTmp=true | |
| # Kill any leftover children when the script exits (belt + suspenders) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================================ | |
| # SR-IOV VF Watchdog for Proxmox VE | |
| # ============================================================================ | |
| # Monitors VMs using SR-IOV VFs from a BCM57810 PF for network degradation. | |
| # When detected, gracefully stops affected VMs, resets SR-IOV VFs, and | |
| # restarts them. | |
| # | |
| # Root cause: bnx2x VF PCIe link can degrade to Width x0, causing transmit | |
| # timeouts, RCU stalls, and cascading failures inside the VM. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/php | |
| <?php | |
| declare(strict_types=1); | |
| /* | |
| * OPNsense HA Failover Script - FINAL CORRECTED VERSION | |
| * Makes targeted changes for WAN, Tunnels, and Services. | |
| * Controls services that are not CARP-aware. | |
| * Correctly handles default route on backup node. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\QoS\exefile.exe] | |
| "Application Name"="exefile.exe" | |
| "DSCP Value"="46" | |
| "Local IP Prefix Length"="*" | |
| "Local IP"="*" | |
| "Local Port"="*" | |
| "Protocol"="*" | |
| "Remote IP Prefix Length"="*" |