I have been tasked with finding a way to create VMs for our existing Linux servers, as sometimes we have do deal with issues related to the entire machine (virutal hardware, OS, etc.). These are usually web servers and we (mostly) have backup systems in place, for the actual web sites. But, sometimes we need to deal lower level issues. As much as possible, we don't want to alter the running instances.
Also, we would like to keep copies of these in some offline system, so we know we have backups, independent of where the servers are ultimately hosted on. It would be nice to test and debug from a more localhost (local pc) type of environment.
I'm not specific about the which technology to use, so I'm quite to suggestions. I looked into:
- Docker - Seems you need to have your system already 'dockerized'
before you can stop copying containers about. Also, may not be enough for lower level machine issues. - VMWare - This would be nice, seems close but I can't find a way to create a vmware VM from an existing Linux server. Is this possible? how?
- Virtual Box - Couldn't find anything.
- Others?
Is this a reasonable task? Are there other ways to let us test and debug our running servers in an isolated environment?
Edit: Just getting a complete snapshot image of boot drive may be good enough, as long as there is a way to convert it to VM image.