Re: automatically restart ethernet ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, Feb 25, 2017 at 11:39 AM, fred roller <fredroller66@xxxxxxxxx> wrote:
Look into "heartbeat".

"heartbeat" has been deprecated for several years now and is no longer supported. There are no longer heartbeat packages in the F25 repos. The supported way to do HA on Linux is now corosync with pacemaker. But this is a pretty big thing to swallow just for restarting a net connection. You might want to try a script that you can run more often than hourly that first checks to see if the net is up (maybe with a ping to your default gateway?), and only restarts NetworkManager if it's not. There are also other monitoring applications such as "monit", but that's a pretty complex beast as well.

I presume you've looked into why your server keeps losing the net connection? That could be a bad cable, a bad switch port, or a bad NIC. Hardware issues tend to get worse over time; if that's what it is, even a cron kludge may eventually not work any more.

--Greg

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux