hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Webmin/Virtualmin with 2 Machines
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

Webmin/Virtualmin with 2 Machines

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-18-2011, 02:53 PM
atlarep atlarep is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Posts: 58
*

Webmin/Virtualmin with 2 Machines


Hello,
I was wondering if somebody could help me accomplish this.
I am using a CentOS server, installed Webmin/Virtualmin to run a website, everything's fabulous.
I decided to add a second server to the equation for DNS, redundancy and fail-over, etc.

How do I include the second server into this? (I already set NS2.mydomain.com at the registrar)
Do I have to install everything on the second server as well?

Please advise.

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 02-18-2011, 03:07 PM
mellow-h mellow-h is offline
a lazy evangelist ...
 
Join Date: Nov 2005
Location: /etc/fstab
Posts: 1,145
Webmin does support Clustering:
http://doxfer.webmin.com/Webmin/ClusterWebminServers

I am not sure about the DNS clustering, but as far I can see, it should be a file clustering. You would probably need to sync the zone files and write a custom script to generate the dns configuration file each time a new zone is added.

__________________
Mellowhost - Affordable Cpanel and WHM Reseller Hosting
R1Soft, RVSitebuilder, RVSkin, Softaculous, Fantastico, Domain Reseller and many more ...
Learn Hosting

Reply With Quote
  #3  
Old 02-18-2011, 04:41 PM
atlarep atlarep is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Posts: 58
Do I have to install Vrutalmin on the second server as well?

Reply With Quote
Sponsored Links
  #4  
Old 02-22-2011, 06:19 PM
atlarep atlarep is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Posts: 58
Anyone else who can help me with this?

Reply With Quote
  #5  
Old 02-22-2011, 08:59 PM
tchen tchen is offline
Web Hosting Master
 
Join Date: Jan 2011
Location: Canada
Posts: 800
The webmin cluster isn't really for this. Just install BIND on the second server as well and follow one of the many HowTo slave DNS guides out there.

http://www.virtualmin.com/documentat...-configuration

Reply With Quote
  #6  
Old 02-23-2011, 03:41 PM
SwellJoe SwellJoe is offline
Junior Guru Wannabe
 
Join Date: May 2002
Location: Austin, Texas
Posts: 82
There are nearly infinite options, depending on your requirements. Virtualmin can automate some of the steps, some need to be addressed by your applications, and some can be handled by MySQL replication.

DNS should be setup according to the docs tchen linked you to, and will be fully automated once configured.

There's also documentation covering a backup mail relay configuration here: http://www.virtualmin.com/documentat...ld-and-forward

MySQL replication can be setup according to the MySQL documentation (and Virtualmin can manage either remote or local databases without trouble). Virtualmin doesn't have any facilities for setting up MySQL replication at this time, but there's a new Cloudmin plugin is getting MySQL replica management in a month or so (Cloudmin, by itself, doesn't deal with databases), which Virtualmin can talk to. The current version of that plugin allows many Virtualmin servers to share a single (possibly replicated) MySQL database server.

Whether you need Virtualmin on both servers depends on whether you want both to be Virtualmin servers.

If you just want database and DNS on the other server, you'd only need Webmin. If you want the mail backup features, you'd need Virtualmin. If you want a fully functional "hot spare", you'd need Virtualmin (and a cronjob to keep the homes and user data synced; though DNS and databases will already be synced via the slave relationships). If you want load balanced servers, you'd also need a load balancer (HAProxy, perlbal, Varnish, etc. are all good options).

But, keep in mind that in any reasonably complex web application, the real scaling and clustering work generally happens in your own code and not in the management tools. If you need to scale databases, you probably need to shard rather than just replicating, and your application will have to be aware of that sharding and know how to deal with it.

Reply With Quote
  #7  
Old 02-23-2011, 04:53 PM
atlarep atlarep is offline
Junior Guru Wannabe
 
Join Date: Mar 2009
Posts: 58
Thank you. Both replies were excellent.
I am now fully using them at the DNS and backup level.
I will start setting it up (second server) as a hot spare next week, so it can jump right it in and take over if something happens to the first one.

Thanks.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
True RAM of VPS webmin - Virtualmin webmin khucthuydu Hosting Security and Technology 4 04-11-2010 10:10 PM
Webmin / Virtualmin nostra999 Dedicated Server 0 04-03-2007 03:48 AM
Webmin/Virtualmin Help... Shin Asuka Hosting Security and Technology 3 09-11-2004 10:57 PM
help with webmin/Virtualmin kks787 Hosting Software and Control Panels 0 09-08-2004 04:11 AM

Related posts from TheWhir.com
Title Type Date Posted
50e186c4-7de8-4bcc-a4db-5c5645a79981 Listing 2013-03-05 18:26:11
50d1e332-2e40-4602-9add-676545a79981 Listing 2013-03-05 18:23:57
Web Host 1&1 Internet Adds Server Restoration Tool for Virtual Machines Web Hosting News 2012-11-07 15:45:16
VMware Launches Virtualization Software Workstation 9 with Windows 8 Support Web Hosting News 2012-08-24 10:20:33
Cloud Management Firm ScaleXtreme Supports Windows Azure Virtual Machines Web Hosting News 2012-06-07 10:30:05


Tags
centos, dns, hosting, webmin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?