Page 1 of 2 12 LastLast
Results 1 to 16 of 25

Thread: Running multiple VM's on one Server

  1. #1
    Senior Member
    Join Date
    Dec 2005
    Location
    Ilkeston
    Posts
    381
    Thanks
    18
    Thanked
    9 times in 7 posts
    • Pazza's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • Intel Core2 Quad Q6600
      • Memory:
      • 4.00 GB
      • Storage:
      • 1x 640GB & 2x 1TB drives
      • Graphics card(s):
      • PowerColor HD 4870 512MB GDDR5 Dual DVI HDTV
      • Case:
      • Antec P180
      • Operating System:
      • Vista x64 & Windows 7 Ultimate
      • Monitor(s):
      • Dell 24" (2408)

    Running multiple VM's on one Server

    Hi all,

    been looking around but can't seem to find a definitive answer.

    Here's what I want to do:

    I have a ProLiant ML 310 G5, 2x network cards, will be upping the RAM to 5GB, 2x 250gb drives on raid, will be installing 2x 2GB drives on raid for storage.

    I want to Run Multiple VM servers on the one physical server! Adding more when necessary.

    I want to start with 1x VM runing Home Server 2011 and 2x VM's running SBS 2011 to host website/exchange based on the domain name (both will be low-volume usage) - i.e. all traffic for one.com goes to serverone, and two.com goes to servertwo.

    I am looking at VMWARE ESXi to host the servers and create multiple VM's within ESXi - all fine up to now I think?

    But, as I am runing on one external IP address, how can I direct web traffic/mail for one.com to serverone and two.com to servertwo (including sub-domains)? Do I need a DSN server running also?

    This is purely for research purposes and not commercial.

  2. #2
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Running multiple VM's on one Server

    Quote Originally Posted by Pazza View Post

    I have a ProLiant ML 350 G5, 2x network cards, will be upping the RAM to 5GB, 2x 250gb drives on raid, will be installing 2x 2GB drives on raid for storage.

    I want to Run Multiple VM servers on the one physical server! Adding more when necessary.

    I want to start with 1x VM runing Home Server 2011 and 2x VM's running SBS 2011 to host website/exchange based on the domain name (both will be low-volume usage) - i.e. all traffic for one.com goes to serverone, and two.com goes to servertwo.

    I am looking at VMWARE ESXi to host the servers and create multiple VM's within ESXi - all fine up to now I think?
    Yep.

    Quote Originally Posted by Pazza View Post
    But, as I am runing on one external IP address, how can I direct web traffic/mail for one.com to serverone and two.com to servertwo (including sub-domains)? Do I need a DSN server running also?

    This is purely for research purposes and not commercial.
    I presume that this is not directly connected to the Internet - ie you're running this at home behind some sort of router/firewall. Assuming that this is the case, you give each VM its own IP address, and yes, you set up DNS to point www.one.com at VM1 and www.two.com to VM2.

    If you are looking to have these accessible from outside, things start to get a lot more complicated as you'll actually need to register the DNS records and have someone host at least one of them for you.

    If this is just a learning process, I would look at doing this all in isolation from Internet until you're way more confident, as you can get into a big mess very quickly otherwise.

  3. #3
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Running multiple VM's on one Server

    Oh, and if you were thinking of having this server in a datacentre directly attached to the Internet, that is a VERY bad idea.

    Usually at the most insecure implementation, this sort of set up would require 2 interfaces, one facing outwards which would be where the VMs send their web traffic, and one management address facing inwards on a management network which can only be accessed by VPN or similar, which you would send your management traffic over (VMWare console http traffic, AD traffic etc).

    There are usually extra firewalls etc in the mix to prevent naughty people doing nasty things.

  4. #4
    Senior Member
    Join Date
    Dec 2005
    Location
    Ilkeston
    Posts
    381
    Thanks
    18
    Thanked
    9 times in 7 posts
    • Pazza's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • Intel Core2 Quad Q6600
      • Memory:
      • 4.00 GB
      • Storage:
      • 1x 640GB & 2x 1TB drives
      • Graphics card(s):
      • PowerColor HD 4870 512MB GDDR5 Dual DVI HDTV
      • Case:
      • Antec P180
      • Operating System:
      • Vista x64 & Windows 7 Ultimate
      • Monitor(s):
      • Dell 24" (2408)

    Re: Running multiple VM's on one Server

    Thanks for the initial info. Yes, forgot to mention that the server will be running behind a Draytek Vigor 2910 router. Quite a simple setup I know, but just want to prove it works for now.

    And yes, I do want to open one.com and two.com to the internet for testing purposes. I already have the domain names, and I have 1x fixed IP address, so I somehow need to direct all traffic from one.com to serverone (assigned local IP address of, let's say 192.168.10.1) and two.com to 192.168.10.2) - both incomming on the same IP address! Naughty, I know - but this is all I have to work with at the moment for testing.

    So, traffic comes in, I assume I direct the usual ports to ??? which will filter/direct mail and web requests etc.. to the relevant local IP address of the relevant server. it's the ??? setup bit I am unsure of at the moment.

    Once the concept works, I will then look deeper into security aspect.

  5. #5
    Senior Member
    Join Date
    Dec 2005
    Location
    Ilkeston
    Posts
    381
    Thanks
    18
    Thanked
    9 times in 7 posts
    • Pazza's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • Intel Core2 Quad Q6600
      • Memory:
      • 4.00 GB
      • Storage:
      • 1x 640GB & 2x 1TB drives
      • Graphics card(s):
      • PowerColor HD 4870 512MB GDDR5 Dual DVI HDTV
      • Case:
      • Antec P180
      • Operating System:
      • Vista x64 & Windows 7 Ultimate
      • Monitor(s):
      • Dell 24" (2408)

    Re: Running multiple VM's on one Server

    p.s. the hosting company can route all traffic to the one IP address - no issue here, but it's the splitting of traffic once hit my exteral IP address to the desired server is where I am struggling to sort out.

  6. #6
    blueball
    Guest

    Re: Running multiple VM's on one Server

    Quote Originally Posted by Pazza View Post
    p.s. the hosting company can route all traffic to the one IP address - no issue here, but it's the splitting of traffic once hit my exteral IP address to the desired server is where I am struggling to sort out.
    I'd be intrigued to see how you do that too. Other than using different ports I can only think of doing it with one external IP per domain.

  7. #7
    Senior Member
    Join Date
    Dec 2005
    Location
    Ilkeston
    Posts
    381
    Thanks
    18
    Thanked
    9 times in 7 posts
    • Pazza's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • Intel Core2 Quad Q6600
      • Memory:
      • 4.00 GB
      • Storage:
      • 1x 640GB & 2x 1TB drives
      • Graphics card(s):
      • PowerColor HD 4870 512MB GDDR5 Dual DVI HDTV
      • Case:
      • Antec P180
      • Operating System:
      • Vista x64 & Windows 7 Ultimate
      • Monitor(s):
      • Dell 24" (2408)

    Re: Running multiple VM's on one Server

    Yes Blueball, I know it can be done, but just not sure how. I assume a dedicated DNS sever or something, but this is where I want a little insight.

  8. #8
    Senior Member
    Join Date
    Jan 2004
    Location
    Leicestershire
    Posts
    1,212
    Thanks
    7
    Thanked
    31 times in 30 posts
    • madman045's system
      • Motherboard:
      • P9X79 Pro
      • CPU:
      • I7-3820
      • Memory:
      • 32GB
      • Storage:
      • Not enough!
      • Graphics card(s):
      • HD7970
      • PSU:
      • 850w Corsair
      • Case:
      • Corsair Carbide 300R
      • Operating System:
      • Win 7 Ultimate X64
      • Monitor(s):
      • Dell U2713HM & 2007WFP
      • Internet:
      • Plusnet FTTC - 30mbit/7mbit

    Re: Running multiple VM's on one Server

    SBS 2011 has a minimal memory requirement of 8GB and the OS partition of 120GB, so your looking at 16GB and 240GB just with those two VM's
    I have SBS 2011 running on my ESXI 4.1 box and it idle's using 8GB, most would recommend 12-16GB

    From the datacentre side, to have a working scenerio of incoming mail flow, remote access etc.. you will need multiple external IP addresses and then with the Draytek, port forward the required ports to each server with its own dedicated IP.

  9. #9
    OilSheikh
    Guest

    Re: Running multiple VM's on one Server

    To have different subnets , leading to diff IP addresses for both servers.

    Use VMWARE to host one set of VM's and a VIRTUALBOX to host another set of VM's

  10. #10
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Running multiple VM's on one Server

    Well, you CAN do it on the same port, but it's a bit ugly. Your choices are to do something like:

    www.one.com : 80 (standard HTTP) and have your Draytek map it to 192.168.10.1
    www.two.com : 81 and have your Draytek map it to 192.168.10.2 on port 80

    This would handle the case where someone externally accesses to http://www.two.com:81 externally, but not internally. Internally you'd need to do something like set up a port redirection in your web server so that all traffic bound for port 81 on 192.168.10.2 81 goes to 192.168.10.2:80.

    A slightly more elegant way is to make (lets say) 192.168.10.1 a 'master' server so all traffic is passed directly to that via your Draytek and the server software on that host is then configured to pass traffic bound for www.two.com to 192.168.10.2 if necessary. For Apache HTTP you could use something like the ProxyPass directive - IIS/SBS must have something similar.

    Again this is a bit ugly though because if 192.168.10.1 goes away or is down, 192.168.10.2 doesn't receive any traffic.

    If you were to put a dedicated reverse proxy VM in front of 192.168.10.1|2 you'd still have the same single point of failure.

    In short if what you want to do is have:

    www.one.com map to 192.168.10.1
    www.two.com map to 192.168.10.2

    The only way to do it is to have 2 external IP addresses and a router which will support passthough of IP addresses.

    I have no idea if your Draytek will do that.

  11. #11
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Running multiple VM's on one Server

    Quote Originally Posted by OilSheikh View Post
    To have different subnets , leading to diff IP addresses for both servers.

    Use VMWARE to host one set of VM's and a VIRTUALBOX to host another set of VM's
    You can't do this with ESXi, it's a bare metal hypervisor. ESXi can have different subnets (on different NICs), but you're still scuppered because the PAT stuff needs to be done at the Draytek layer.

  12. Received thanks from:


  13. #12
    <<== UT3 Player spoon_'s Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    2,071
    Thanks
    113
    Thanked
    139 times in 131 posts

    Re: Running multiple VM's on one Server

    Quote Originally Posted by Pazza View Post
    p.s. the hosting company can route all traffic to the one IP address - no issue here, but it's the splitting of traffic once hit my exteral IP address to the desired server is where I am struggling to sort out.
    Which kind of traffic to you want to split? If it's web traffic you most likely want to use DMZ and then forward it to your LAN on selected ports ONLY. DMZ servers should handle any authentication and simple pass on the request like SQL or web to the internal network.

  14. #13
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Running multiple VM's on one Server

    Seems this one can:

    http://cambridge-networks.co.uk/supp...ek-2910vg.html

    "Support for non-NAT public subnets (multiple public IP addresses)"

    You wouldn't need to set up NAT on that, just give the VMs real IP addresses and only allow the access to the services you want via the firewall. If you DO go down this route, be VERY careful about exposing RDP etc.

  15. #14
    <<== UT3 Player spoon_'s Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    2,071
    Thanks
    113
    Thanked
    139 times in 131 posts

    Re: Running multiple VM's on one Server

    Quote Originally Posted by b0redom View Post
    You can't do this with ESXi, it's a bare metal hypervisor. ESXi can have different subnets (on different NICs), but you're still scuppered because the PAT stuff needs to be done at the Draytek layer.
    VirtualBox needs an OS to run, there is nothing wrong with using Windows that sits on ESXi to install it but performance might suck...

  16. #15
    Senior Member
    Join Date
    Dec 2005
    Location
    Ilkeston
    Posts
    381
    Thanks
    18
    Thanked
    9 times in 7 posts
    • Pazza's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • Intel Core2 Quad Q6600
      • Memory:
      • 4.00 GB
      • Storage:
      • 1x 640GB & 2x 1TB drives
      • Graphics card(s):
      • PowerColor HD 4870 512MB GDDR5 Dual DVI HDTV
      • Case:
      • Antec P180
      • Operating System:
      • Vista x64 & Windows 7 Ultimate
      • Monitor(s):
      • Dell 24" (2408)

    Re: Running multiple VM's on one Server

    Thanks all for so far...

    I know it's easy with multiple external IP addresses - but without going into too much detail, private customers cannot get multiple fixed IP addresses, only the one fixed for the normal connection (they say it's not fixed, but it's been the same now for several years).

    The DMZ solution might be useful if I can get a little more insight into how this would work??

    so, certain things are fixed and will not change, such as one external IP address. all traffic to go through the router/firewall. Server will run ESXi. I have a technet subscription so SBS server options are available.

    setting up the servers is not a problem, just the bloomin' routing. I though I needed a DNS server to do this, but maybe DMZ?

  17. #16
    Mostly Me Lucio's Avatar
    Join Date
    Mar 2007
    Location
    Tring
    Posts
    5,163
    Thanks
    443
    Thanked
    448 times in 351 posts
    • Lucio's system
      • Motherboard:
      • Gigabyte GA-970A-UD3P
      • CPU:
      • AMD FX-6350 with Cooler Master Seldon 240
      • Memory:
      • 2x4GB Corsair DDR3 Vengeance
      • Storage:
      • 128GB Toshiba, 2.5" SSD, 1TB WD Blue WD10EZEX, 500GB Seagate Baracuda 7200.11
      • Graphics card(s):
      • Sapphire R9 270X 4GB
      • PSU:
      • 600W Silverstone Strider SST-ST60F
      • Case:
      • Cooler Master HAF XB
      • Operating System:
      • Windows 8.1 64Bit
      • Monitor(s):
      • Samsung 2032BW, 1680 x 1050
      • Internet:
      • 16Mb Plusnet

    Re: Running multiple VM's on one Server

    Stupid question time, could you not handle it in a similar way to WMS/cPanel does? So you have one internet facing server, that then redirects the traffic internally, depending on what domain name is typed in.

    For example, someone types in www.one.com, so the server routes that to the first IP, if they type in www.two.com and thus is routes to the second IP. Your internet facing server is a VM that is solely there to re-route the traffic.

    IIRC, I think it's a 301 redirect, only you're routing it to an internal IP, instead of an external IP.

    (\___/) (\___/) (\___/) (\___/) (\___/) (\___/) (\___/)
    (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=)
    (")_(") (")_(") (")_(") (")_(") (")_(") (")_(") (")_(")


    This is bunny and friends. He is fed up waiting for everyone to help him out, and decided to help himself instead!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Looking Through Windows
    By Paul Adams in forum Software
    Replies: 16
    Last Post: 19-10-2018, 09:07 AM
  2. PS3 link to Server running Windows Server 2003
    By Pazza in forum Help! Quick Relief From Tech Headaches
    Replies: 3
    Last Post: 26-11-2009, 01:16 PM
  3. iptables and Multiple NICs (masq/fwd)
    By theoaf in forum Help! Quick Relief From Tech Headaches
    Replies: 4
    Last Post: 02-10-2007, 09:25 AM
  4. VPN Server 2003 and DG834GT
    By pcpower in forum Networking and Broadband
    Replies: 1
    Last Post: 21-08-2007, 08:37 PM
  5. Problems with setting up a DHCP server :(
    By latrosicarius in forum Networking and Broadband
    Replies: 14
    Last Post: 11-04-2006, 04:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •