Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th April 2011, 12:29
i-chat i-chat is offline
Member
 
Join Date: Jan 2011
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
Default

'finaly' we experts care to disagree on a matter,

but really i have worked with cloud solutions wmware and others. some with better features for this and some with better features for that. so please lets not get in to that to much.

the fact of the matter is that running virtualisation of one particular node, just to make that single node fail-over-able (is that a correct word?) could be called in general 'bad practic' or at least a dirty hack to fix a problem that shouldn't be there.

----
i admit that i haven't spent a lot of time reviewing your code yet, since i havent had the time to ask a programmer of mine to help me with that.
so i cant 'at this point' tell you how mutch code could or should be altered / edited / or updated to implement this ' fix'


so at this point i want this to be absolutely clear;
If i say and think that with the help of some proper prammers / coders i might be able to 'fix' this 'problem' and the licence of this product permits it (wasn't it bsd?) - than i will, if it suites me or the comunity, try to do so.
- But it is not an attack on you, or your programming skills, it is not an atack on your judgement, it is an attempt to implement a feature and givving it back to a community that grants us use of great software.
So please dont tell me what cannot or will not be done
(unless the licence forbids it), because if someone 'at some point' may offer to implement it, it will not just save you a lot of work, or save you the recources spent un running virtualisation, it wil also ad a greate restore mechanism to your 'multi-server setups'

now to get beck on topic...

i never said that there are going to be 2 master servers. i said that there would going to be an 'enslaved' masters server. feel free to look up what master/slave means in the IT-dictionairy. - basicly it means that it could be a master server, but it is traped by its own master. it will do the exact same thing as its master does, at the exact (or nearly exact) same time. up until the point where its master dies, and it can 'automaticly' take over because its allready in sync.

example

webserver a b and c ar part of a mutli server setup where a is the master b is its enslaved replica and c is all the other servers...

now server a fails dies explodes or is relaced by a tech.

b will automaticly 'discover' that server a is no longer there and it will than (via the remote api telll all the c servers, that it is now there new master.. and thus that they should stop querying server a for commands but ask it (b) instead.

there you have it - your network is now fault-tolerant...

now lets say that you buy a new server d to replace server a.
step one: enslave server d to b (as b is now the master).
step two: when in sync either disable b, or tell it to revert back to slave mode - now there is no more b so d will kick in, it tells all your c servers that IT now is thair new king and ruler.

here you go, these might be the first steps in documentation about a feature that may be implemented in the near future by you or maybe some other weard guy that like to share great software with:
apt/sources/universe

Last edited by i-chat; 19th April 2011 at 12:38.
Reply With Quote
Sponsored Links
  #12  
Old 19th April 2011, 17:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
 
Default

Would be great if you want to write such a new extension and share it with the community. But I'am not sure if its nescessary to reinvent the wheel for that. Mysql provides already functions for two or more master servers (master / master replication or mysql-cluster).

For a hot standby system as you requested in your last post, you can use e.g. this:

http://dev.mysql.com/doc/refman/5.0/en/ha-drbd.html
http://dev.mysql.com/doc/refman/5.0/...beat-drbd.html

The ispconfig interface is basically a php/mysql "website". To get redundancy for the master server, you have to get redundancy of the master server mysql database. Instead of writing new mechanisms in ispconfig, you can configure mysql to be redundant and get as result a redundancy of the master server.

So there are two options, either develop a new addon for ispconfig or use the exsiting mysql tools to configure the mysql database for redundancy.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
server failover mirroring

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44


All times are GMT +2. The time now is 22:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.