问题原文
原帖链接 · Andy · CC BY-SA 4.0
I am soon teaching a hands-on class for which I need to spin around 20 VMs for each student. It's sort of a lab. I have about 15 students in my class. You can guess how fast this can go out of control. Running over 230+ VMs requires a lot of resources for which my university refuses to pay for. What I would like to achieve, if possible is to have one single machine as a base OS which in one way replicates itself 15 times. I want each student to share the same system, but also have a an isolated environment with a dedicated IP address:
- Base OS Windows or Linux
- Student one connects to it on 192.168.1.2
- Student two connects to it on 192.168.1.3
- Each student share the same host however has some layers of isolation so that they don't interact with each other.
All machines will run as VM and some will be Linux and some will be Windows. I know some of you might say Docker but is not really quite what I'm looking for. Any ideas?
社区高分解答
原帖链接 · sla3k · CC BY-SA 4.0
I'd say go with OpenVZ, available only on Linux (tested by me on Centos 6.X host), this piece of software is used worldwide when it comes to VPS'es (Virtual Private Servers). You can spin an instance of guest operating systems from this link here. All the guest OS'es will be isolated from each other but share resources on the host system. If you are looking for Windows based guests, then KVM can do that but I am not sure how efficiently (I am more of a Linux person).
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
