Re: Linux version host/guest [message #28219 is a reply to message #27914] |
Tue, 11 March 2008 20:10 |
|
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
Just to clarify... there is one and only one kernel running period... and that is on the host node. You can install all of the kernels you want inside the containers... but you are never going to be able to run them... as there is only one kernel running. While it may be possible to change what kernel a container reports as running... that's just a cosmetic thing.
To get a better picture, understand that OpenVZ is OS virtualization and not machine virtualization. A container is nothing more than a grouping of processes together... with their own resources and filesystem.
From the host node do "pstree -nup". You'll see a number of init processes and children processes under them. The init process with PID 1 is the real init process for the host node and the other init processes are the init processes for each container.
Please note that a container is the init process and its children processes... and the virtualized resources that the OpenVZ kernel provides to isolate these groups of processes. There is only one kernel running.
If you want, you can delete all kernels from your containers... I imagine the kernel packages are installed because they were needed to satisfy package dependencies by the package manager inside of your container. Normally a container doesn't have a kernel package installed.
--
TYL, Scott Dowdle
Belgrade, Montana, USA
[Updated on: Tue, 11 March 2008 20:13] Report message to a moderator
|
|
|