Differences between revisions 47 and 80 (spanning 33 versions)
Revision 47 as of 2017-12-28 08:22:17
Size: 1533
Comment:
Revision 80 as of 2021-04-02 21:24:06
Size: 2685
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Its all about uptime! = = It is all about uptime! =
Line 3: Line 3:
The main goal is to go as close to no downtime as possible. System uptime and availability is being increasingly important. Various services are expected to be accessibly at all times. The challenge is to configure and maintain such a system, with minimal downtime, and preferable no downtime at all. At first this sounds like a very complicated task, but breaking it down to its components makes it possible. Configuring and deploying one component at a time, in a redundant way, allows for added complexity in a simple way, which increasingly builds on a stable redundant platform, keeping the redundancy all the way through the component stack. As the system is comprised of redundant components, it is ensured that any component at any time can be taken down for maintenance, without compromising the uptime and availabilty of the system.
Line 5: Line 5:
== These are our worst foes == == The Challenge ==

Many factors affects such a system, and usually we are not controlling all of them.
Line 12: Line 14:
To get around this a redundant system has to be built. Realizing that a redundant system consists of many redundant parts, virtualization naturally comes to mind. Redundancy for all factors will be very expensive, so here we will focus on the software redundancy, and the physical hardware the software runs on.

Realizing that a redundant system consists of many redundant parts, virtualization naturally comes to mind.
Line 38: Line 42:
 * [[HA-proxy|HA-proxy]]
 * [[Corosync|Corosync]]
 * [[Corosync and HA-proxy|Corosync and HA-proxy]]
 * [[Mariadb|Mariadb]]
 * [[Redis|Redis]]
Line 41: Line 46:
 * [[Mariadb|Mariadb]]
Line 45: Line 49:
 * [[ownCloud|ownCloud]]  * [[Nextcloud|Nextcloud]]
 * [[OPNsense|OPNsense]]
Line 47: Line 52:
== Troubleshooting == == Configure a Service ==
Line 49: Line 54:
* [[Troubleshooting Disk IO|Troubleshooting Disk IO]]  * [[Syncthing|Syncthing]]
 * [[Minidlna|Minidlna]]
 * [[Checkmk|Checkmk]]
 * [[Mumble|Mumble]]
 * [[Ansible|Ansible]]
Line 51: Line 60:
== Tools ==
Line 52: Line 62:
''This project is based on the GNU/Linux software packaged by Debian, currently the stretch release. The information provided here will most likely work on other GNU/Linux systems as well. Basic knowledge of GNU/Linux commandline tools, file editing, network etc. is required to use and understand this guide.'' === Networking ===

 * [[nethogs|nethogs]]
 * [[bwm-ng|bwm-ng]]

''This project is based on the GNU/Linux software packaged by Debian. KVM hosts are running on Buster, guests are for the most part running on Buster. The information provided here will most likely work on other GNU/Linux systems as well. Basic knowledge of GNU/Linux commandline tools, file editing, network etc. is required to use and understand this guide.''

It is all about uptime!

System uptime and availability is being increasingly important. Various services are expected to be accessibly at all times. The challenge is to configure and maintain such a system, with minimal downtime, and preferable no downtime at all. At first this sounds like a very complicated task, but breaking it down to its components makes it possible. Configuring and deploying one component at a time, in a redundant way, allows for added complexity in a simple way, which increasingly builds on a stable redundant platform, keeping the redundancy all the way through the component stack. As the system is comprised of redundant components, it is ensured that any component at any time can be taken down for maintenance, without compromising the uptime and availabilty of the system.

The Challenge

Many factors affects such a system, and usually we are not controlling all of them.

  • Power outage
  • Internet access
  • Hardware malfunction
  • Software updates

Redundancy for all factors will be very expensive, so here we will focus on the software redundancy, and the physical hardware the software runs on.

Realizing that a redundant system consists of many redundant parts, virtualization naturally comes to mind.

Configure your system

Manage Virtual Domains

Network Planning

Configure a Redundant Service

Configure a Service

Tools

Networking

This project is based on the GNU/Linux software packaged by Debian. KVM hosts are running on Buster, guests are for the most part running on Buster. The information provided here will most likely work on other GNU/Linux systems as well. Basic knowledge of GNU/Linux commandline tools, file editing, network etc. is required to use and understand this guide.

TODO

None: Uptime (last edited 2021-12-31 11:46:57 by Kristian Kallenberg)