Latest Entries »

Load balancing (failover) between two Webmail Servers

Automaticlly back up and sync tool

Webpage

An example webpage was created, so the customer can see, that it is possible, to implement a webpage to the system. The page has been made in html.

Loadbalance

What is Loadbalance:

Load balancing is a computer networking methodology to distribute workload across multiple computers or a computer cluster, network links, central processing units, disk drives, or other resources, to achieve optimal resource utilization, maximize throughput, minimize response time, and avoid overload. Using multiple components with load balancing, instead of a single component, may increase reliability through redundancy. The load balancing service is usually provided by dedicated software or hardware, such as a multilayer switch or a Domain Name System server.

In this diagram we have the Schoo Network and the ADSL  Network to count on for the loadbalance.

So that if you cut one wire / cable the other router will take over. Like nothing was happent.

For the loadbalance to this project we did use the Asus router in the class and the School network.

What did we do :

We change the setup inside the Asus Router to work like a middleman between the School Network and our servers.

So if the school network goes down we can change our network to use the ADSL insted.

Ip Overview :

Asus Router : 10.128.17.170

Mask                : 255.255.252.0

DNS 1               : 194.239.134.83

DNS 2              : 193.162.153.164

New network diagram

Network Diagram

This is how we want it to look like

( Changes can come )

Task : Load Balancieing

The next task we be tot look at the Load Balancieing with 2 ISP’s

Static DHCP

Static DHCP (aka DHCP reservation) is a useful feature which makes the DHCP server on your router always assign the same IP address to a specific computer on your LAN.

We did this with a DDWRT and the Asus RT-N16 Router in the Class that we use for this Project.


As you can see we recerve 2 IP’s  so that belong to the Weberver and the Mailserver.

We allso made a test to se if we cod catch the Mailserver for a client


http://www.dd-wrt.com/wiki/index.php/Static_DHCP

Basic WebMail-Server

Basic WebMail-Server is already running on Ubuntu OS. At this time there are few users with @backup.eal domain. Also, the vendor’s request, only administrator can create user. Simple user have possibility to open web page, check received and send mails.
Mail server built on Postfix with Courier IMAP. Also, it cooperates with Mysql database for autohtication using sasl. Mail server secured with sharowall, who provides only required connection for mail server. Also, this server use encryption service.


 

Time table for Demonstrations

Presentation – 12 /4

Demo 1  – 14 / 4

Demo 2 – 29/4

Demo 3 – 6/5