Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Etch

Ubuntu

Load-Balanced High-Availability Web Cluster With 2 Xen Servers On Ubuntu 8.04

Post date: October 12, 2008, 12:10 Category: Installing Views: 2964 Comments
Tutorial quote: In this howto we will build a load-balanced and high-availability web cluster on 2 real servers with Xen, hearbeat and ldirectord. The cluster will do http, mail, DNS, MySQL database and will be completely monitored. This is currently used on a production server with a couple of websites. The goal of this tutorial is to achieve load balancing & high availability with as few real servers as possible and of course, with open-source software. More servers means more hardware & hosting cost.
Debian

Server Monitoring With munin And monit On Debian Etch

Post date: May 13, 2007, 21:05 Category: System Views: 3791 Comments
Tutorial quote: In this article I will describe how you can monitor your Debian Etch server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that let you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.
Openfiler

Installing and Configuring Openfiler with DRBD and Heartbeat

Post date: October 26, 2008, 13:10 Category: Installing Views: 11382 Comments
Tutorial quote: Openfiler is a high performance operating system tailored for use as a SAN/NAS appliance. This configuration will enable two Openfiler appliances to work in an active/passive high availability scenario.
Debian

Virtual Machine Replication & Failover with VMWare Server & Debian Etch (4.0)

Post date: August 17, 2007, 22:08 Category: Miscellaneous Views: 2758 Comments
Tutorial quote: This tutorial provides step-by-step instructions about how to create a highly available VMware Server environment on a Debian Etch system. With this tutorial, you will be able to create Virtual Machines that will be available on multiple systems with failover/failback capabilities.
Debian

How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1

Post date: June 17, 2008, 09:06 Category: Installing Views: 3327 Comments
Tutorial quote: This tutorial shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster).
Debian

Setting Up Master-Master Replication With MySQL 5 On Debian Etch

Post date: October 25, 2007, 11:10 Category: Miscellaneous Views: 3133 Comments
Tutorial quote: Since version 5, MySQL comes with built-in support for master-master replication, solving the problem that can happen with self-generated keys. In former MySQL versions, the problem with master-master replication was that conflicts arose immediately if node A and node B both inserted an auto-incrementing key on the same table. The advantages of master-master replication over the traditional master-slave replication are that you do not have to modify your applications to make write accesses only to the master, and that it is easier to provide high-availability because if the master fails, you still have the other master.
Debian

Installing Nginx With PHP5 And MySQL Support On Debian Etch

Post date: December 7, 2008, 13:12 Category: Installing Views: 2882 Comments
Tutorial quote: Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Etch server with PHP5 support (through FastCGI) and MySQL support.
Debian

Integrating XCache Into PHP5 (Debian Etch & Apache2)

Post date: April 3, 2008, 12:04 Category: Installing Views: 2768 Comments
Tutorial quote: This guide explains how to integrate XCache into PHP5 on a Debian Etch system (with Apache2). From the XCache project page: "XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load." It's similar to other PHP opcode cachers, such as eAccelerator and APC.
Debian

Caching With Apache's mod_cache On Debian Etch

Post date: January 27, 2009, 12:01 Category: Installing Views: 2709 Comments
Tutorial quote: This article explains how you can cache your web site contents with Apache's mod_cache on Debian Etch. If you have a high-traffic dynamic web site that generates lots of database queries on each request, you can decrease the server load dramatically by caching your content for a few minutes or more (that depends on how often you update your content).
Debian

Setting Up A Highly Available NFS Server

Post date: April 1, 2006, 05:04 Category: Network Views: 6265 Comments
Tutorial quote: In this tutorial I will describe how to set up a highly available NFS server that can be used as storage solution for other high-availability services like, for example, a cluster of web servers that are being loadbalanced. If you have a web server cluster with two or more nodes that serve the same web site(s), than these nodes must access the same pool of data so that every node serves the same data, no matter if the loadbalancer directs the user to node 1 or node n. This can be achieved with an NFS share on an NFS server that all web server nodes (the NFS clients) can access.

As we do not want the NFS server to become another "Single Point of Failure", we have to make it highly available. In fact, in this tutorial I will create two NFS servers that mirror their data to each other in realtime using DRBD and that monitor each other using heartbeat, and if one NFS server fails, the other takes over silently. To the outside (e.g. the web server nodes) these two NFS servers will appear as a single NFS server.

In this setup I will use Debian Sarge (3.1) for the two NFS servers as well as for the NFS client (which represents a node of the web server cluster).
Web-based applications and online marketing solutions - LumoLink