| Re: Linux version host/guest [message #27905 is a reply to message #27893] |
Sun, 02 March 2008 04:25   |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
| jmelyn wrote on Sat, 01 March 2008 05:08 | First of all, I want to thank you all spending time to explain things.
As I understand, the guests run the same kernel as their host. I've read that it was possible to run different distros on the same host, but the restriction of the kernel was not clearly written. Now it's simpler: If we need to upgrade the kernel of a guest, we have to upgrade the host and then all the guests will be automatically upgraded. Is that correct? This is another constraint: If we want to upgrade the kernel, we have to wait you (as the OpenVZ developers) make the new ovzkernel package available. Fortunately we use a RHEL5 based distro and last time the package has been out just one month after the official RedHat update.
|
Yes, you are right. When you update the host's ovzkernel on the host, then reboot, then the hosts will boot in the new kernel, so the guests will also be using this new kernel.
jmelyn wrote on Sat, 01 March 2008 05:08
Some information about what I do:
We need to be able to install, re-install, update or retrieve previous installations in an easy and automatic way because we have many, many servers. At the present moment I have almost finished the scripts of installation, with all our specific stuff. It can be very fast: Less than one minute for a full installation and start of a guest. Installation of a host is now automatic with its guest installations (common and specific stuff); creation of the default cache is done as well. Changing the automatic installation of a guest from one host to another is just changing a sym link. I've not yet made a GUI, but others sys admins are fond of script commands :).
[/quote |
I use vzdump a lot to do that. You can creste some master image then copy and restore them easily.
Next steps will be: (1) dynamic management of guest resources, (2) alarms and (3) check-pointing. So you will receive questions from time to time, sometime just stupid...
|
Ok, please read the doc and wiki and hang around on this forum, maybe a lot of answers are already there. See my signature for links.
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|
|