Thin Client and Virtual Machines Thread, Virtulalising a Webserver (on UNIX) in Technical; Hey guys, we recently had our servers installed, and thr guy putting them in, moved all our old servers from ...
22nd August 2008, 09:51 PM #1
- Rep Power
Virtulalising a Webserver (on UNIX)
Hey guys, we recently had our servers installed, and thr guy putting them in, moved all our old servers from physical to virtual volumes using ESXi from VMWare. However, we still have some other "servers" running on older equipment, as well as desktop machines, which I would like to put somewhere else around the place.
One of the desktop's is running our webserver, running on Linux. I have zilch Linux experience, and was wondering if anyone had virtualised linux using ESXi?
IDG Tech News
22nd August 2008, 10:03 PM #2
The only problem with vitalising a webserver is that it has to stay static on host machine and can't be moved when you put it in virtual mode. The Webserver should be in a DMZ for security so it will be in a separate port in the switch or even in a different switch to the rest of the network.
I can't see there being any problems with the OS being virtualised, i would just give it a go and see what happens.
22nd August 2008, 10:14 PM #3
Not on ESXi, but with Xen, and then I simply copied the Linux machine's filesystem to the new virtual machine's filesystem and booted it up. I'm guessing you might do best to boot up your new virtual machine with disks attached and with an ISO of something like SystemRescueCD pretending to be your CD-ROM drive. Then just use rsync from the command line to copy the stuff from your current webserver to the new virtual machine's disk.
Originally Posted by markwilliamson2001
23rd August 2008, 11:31 AM #4
VMWare have a free free to download ISO with VMWare Convertor on it, check there website. Virtualised loads of physical servers with it, works a dream. In fact is virtualising my last physical server as I type over this weekend!
You'll almost certainly have to re-assign the static IP to the server after it has been virtualised as it would have virtualy installed a new NIC. I can't see any probs after that so long as the static IP of the webserver is in the DMZ and is not expected to be on a different VLAN.
I havent used ESXi - ESX 3.02/3.5 here - but if it's like the other ESX's then dependent on your physical switch you can create a VSwitch and attach the new VNIC to that switch and then put that VSwitch/connection on the appropriate VLAN.
23rd August 2008, 03:38 PM #5
- Rep Power
I knew about VMware converter, but it only works on Windows physical and some third party formats (Norton save and restore) not linux.
I suppose the easiest thing would be to install a new webserver in virtualised format (as Linux from CD or ISO) and then copy the webserver files across (using rsync) or some other way.
23rd August 2008, 05:30 PM #6
Another method that's worth a try - Ghost. I've virtualised machines this way in the past when Convertor hasn't worked. Great a Ghost Image of the server in question. Create a new VM with a virtual hdd the right size. Then bring down the Ghost Image on the new virtual hdd.
23rd August 2008, 09:13 PM #7
- Rep Power
I know vmware converter can use Norton Ghost images to change them directly to vm's. I don't fancy buying Ghost just to do this, as we use WDS (legacy) normally, so might go down my previous route, maybe using Ubuntu, as I have experience of that at home.
24th August 2008, 10:06 AM #8
I'm pretty sure that you can use or convert dd images if you don't fancy buying ghost. but to be honest I think your best bet is just moving the config files over like you suggest.
By FN-GM in forum Web Development
Last Post: 15th August 2008, 09:46 AM
By ICT_GUY in forum Web Development
Last Post: 4th June 2008, 12:24 PM
By Quackers in forum Wireless Networks
Last Post: 15th August 2007, 01:15 PM
By fooby in forum Hardware
Last Post: 16th February 2006, 01:30 PM
By in forum Web Development
Last Post: 15th November 2005, 11:36 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)