OpenVZ Forum


Home » Mailing lists » Users » Newbie question - trying to install openvz
Newbie question - trying to install openvz [message #42239] Thu, 24 March 2011 05:17 Go to next message
ckkashyap is currently offline  ckkashyap
Messages: 9
Registered: March 2011
Location: India
Junior Member
From: *parallels.com
Hi,

I am chartered with evaluating which virtualization solution would suite our
needs. On the face of it, it looks like OpenVZ kind of compartmentalization
is exactly what we need.
I now need to do some benchmarking for which I need to install OpenVZ. The
HostOS that I have is RHEL5.3 64-bit.

As a first step, I am planning to install the base OS on a fresh hardware
and create a /vz partition. I believe that is the only pre-req for working
with OpenVZ - right?

Regards,
Kashyap
Re: Newbie question - trying to install openvz [message #42240 is a reply to message #42239] Thu, 24 March 2011 05:44 Go to previous messageGo to next message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
From: *blng.qwest.net
Greetings,

----- Original Message -----
> I now need to do some benchmarking for which I need to install
> OpenVZ. The HostOS that I have is RHEL5.3 64-bit.

RHEL 5.3? 5.6 is the current version in the 5 series. You might want to consider upgrading.

> As a first step, I am planning to install the base OS on a fresh
> hardware and create a /vz partition. I believe that is the only
> pre-req for working with OpenVZ - right?

That isn't strictly required but it is recommended.

There is a fine Quick Install guide (http://wiki.openvz.org/Quick_installation) that you can find on the front page of the openvz.org site. There is also a HOWTO page on the CentOS wiki (http://wiki.centos.org/HowTos/Virtualization/OpenVZ). The Users Guide (http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf) is a bit dated but good too.

The installation is actually quite easy.

Make sure SELinux is off.
Add the openvz repo.
Install the ovzkernel.
Edit /etc/sysctl.conf.
Reboot to the ovzkernel.
Install the vzctl and vzquota.
Download some OS Templates to /vz/template/cache/.
Create some containers.

TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


--
TYL, Scott Dowdle
Belgrade, Montana, USA
Re: Newbie question - trying to install openvz [message #42241 is a reply to message #42240] Thu, 24 March 2011 06:09 Go to previous messageGo to next message
ckkashyap is currently offline  ckkashyap
Messages: 9
Registered: March 2011
Location: India
Junior Member
From: *parallels.com
Thank you very much Scott,

RHEL 5.3? 5.6 is the current version in the 5 series. You might want to
> consider upgrading.
>
>
Corporate req :(

I'll give it a shot with the quick intall gude.

Regards,
Kashyap
Re: Newbie question - trying to install openvz [message #42242 is a reply to message #42241] Thu, 24 March 2011 09:04 Go to previous messageGo to next message
ckkashyap is currently offline  ckkashyap
Messages: 9
Registered: March 2011
Location: India
Junior Member
From: *parallels.com
Okay ... I followed the steps from http://wiki.openvz.org/Quick_installation

The only thing extra I've done is moved /vz to under home and created /vz
softlink to it.

and have downloaded centos-5-x86_64-devel.tar.gz to /vz/template/cache

How do I start the centos image now?

Regards,
Kashyap
Re: Newbie question - trying to install openvz [message #42243 is a reply to message #42242] Thu, 24 March 2011 09:09 Go to previous message
ckkashyap is currently offline  ckkashyap
Messages: 9
Registered: March 2011
Location: India
Junior Member
From: *parallels.com
oops .. I jumped the gun ... there's a follow on link on the page.

Regards,
Kashyap

On Thu, Mar 24, 2011 at 2:34 PM, C K Kashyap <ckkashyap@gmail.com> wrote:

> Okay ... I followed the steps from
> http://wiki.openvz.org/Quick_installation
>
> The only thing extra I've done is moved /vz to under home and created /vz
> softlink to it.
>
> and have downloaded centos-5-x86_64-devel.tar.gz to /vz/template/cache
>
> How do I start the centos image now?
>
> Regards,
> Kashyap
>
Previous Topic: Feedback on Using VLAN's for production Voice VE's
Next Topic: kernel-debuginfo ovz-kernel; kernel panic
Goto Forum:
  


Current Time: Tue Aug 14 14:22:31 GMT 2018