Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd June 2010, 09:20
shoevring shoevring is offline
Member
 
Join Date: Feb 2010
Posts: 71
Thanks: 1
Thanked 2 Times in 2 Posts
Default Feature request: Migrating

Hello.

It would be great if there was a migrating feature between multiservers, so if one site is going up, then the ispconfig moves the site to one bigger og better performance server or if a site does not have any traffic the site is moving to server with many sites where not active...

It would be very nice!
Reply With Quote
Sponsored Links
  #2  
Old 4th June 2010, 08:26
waibaihuo waibaihuo is offline
Junior Member
 
Join Date: Jun 2010
Posts: 9
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Very nice idea. but it is a difficulent task too.
Reply With Quote
  #3  
Old 4th June 2010, 11:36
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

That's idd a nice idea, but i guess you'd need to start working with a shared storage, drbd, loadbalancers etc for this to work..

Don't forget, to move a site from a busy server you need to:
- move the website (copied from busy server)
- move the mailboxes (mysql) (copied from busy server)
- move the users (mysql) (copied from busy server)
- automagically setup configs (copied from busy server)
- change your dns records
- restart apache

Everything looks possible, though i'm stuck at the point where you need to change the dns records .. you can have a short TTL to have caching servers on the net refresh their records faster, but most won't even allow such a low TTL. They mostlikely ignore it and keep their own TTL

If you add a loadbalancer in the story, it'll make it a lot easier, you could just change the ip where the virtual ip is pointing to, reload LB and you're done.

Besided that, i don't know if you want to do all that on an already busy server. Keeping a DRBD running in the back, to keep a synced copy on the 2nd server and use that data would be much faster imho.

But again, nice idea .. it's functionality V-sphere (VMware) has There you have a pool of available resources .. and the manager will assign the virtual machines to the resources it needs and the resources who can handle it .. if it get's to busy, it can autom. move the virtual machine to another resource. all without downtime .. the package costs only a few thousand dollars though ;-)

Last edited by Mark_NL; 4th June 2010 at 11:40.
Reply With Quote
  #4  
Old 4th June 2010, 13:24
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Exclamation very very sophisticated

to migrate from one server to another is very hard to do.
to migrate the web is not the problem, but how to migrate the mail-server with no downtime (ttl of dns!)

we discussed this feature many times but at this time there is no plan to implement it, because of the heaviness of this feature.

maybe you can take a look at openvz.

openvz is supported in the monitor of the SVN-Version of ISPConfig
(DO NOT USE IT AT PRODUCTION SYSTEMS!!!)

with openvz migration from one hardware to another is no problem!

Olli
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #5  
Old 6th July 2010, 11:35
shoevring shoevring is offline
Member
 
Join Date: Feb 2010
Posts: 71
Thanks: 1
Thanked 2 Times in 2 Posts
Default

But the DNS could automatic change the A records,

Its only the web and mysql i want to change,

All my customers using the mysql/phpmyadmin.xxx.xx and the ftp the same way.

So if it could migrate it could be very nice!
Reply With Quote
  #6  
Old 6th July 2010, 12:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
But the DNS could automatic change the A records,
Of course. But you will get requests to the old and new location for up to 48 hours then as dns records are cached by the dns servers of the internet access providers.

Thats the problem that Mark_NL alreyd pointed out in #3

applications like vmware vsphere can do it as they control the network level, so they do not switch a website to another server, they move the complete VM incl. the IP to another server. Thats quite easier as you dont have to change a dns record. This kind of moving around a setup can be done with openvz as well and might be supported in the ispconfig virtual server manager as well. But moving a single website without interruption is a much more difficult task.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th July 2010, 12:44
shoevring shoevring is offline
Member
 
Join Date: Feb 2010
Posts: 71
Thanks: 1
Thanked 2 Times in 2 Posts
Default

We could just copy the data to the new server and after 48 hours we delete the data from the old server .???

So no body can see the diffent!

Cool i think?
Reply With Quote
  #8  
Old 6th July 2010, 12:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

This will not work with most modern site that use cms systems, forums, blogs etc.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 6th July 2010, 13:05
shoevring shoevring is offline
Member
 
Join Date: Feb 2010
Posts: 71
Thanks: 1
Thanked 2 Times in 2 Posts
Default

In apache vhost file link to the another server files? and delete it after 48 hours?

Doing with ftp? Shared folders, like what?!
Reply With Quote
  #10  
Old 19th July 2010, 15:37
Wojtek1 Wojtek1 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 1
Thanked 5 Times in 3 Posts
 
Default

Quote:
Originally Posted by vogelor View Post
to migrate from one server to another is very hard to do.
to migrate the web is not the problem, but how to migrate the mail-server with no downtime (ttl of dns!)
to override this simply before migrating add own IP for cursomer/site to migrate.
and then after "ttl of dns" migrate all data with IP to another machine.
i assume You are ISP with more than 1 IP network

Last edited by Wojtek1; 19th July 2010 at 15:55.
Reply With Quote
Reply

Bookmarks

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 access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
feature request: tomcat support ruede Feature Requests 0 3rd December 2008 07:39
DNSManager Bug or Feature Request jasonathowtoforge Developers' Forum 2 26th August 2008 20:37
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Logsize issue cryptic General 46 7th April 2008 22:29


All times are GMT +2. The time now is 08:43.


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