OpenVZ Forum


Home » General » Support » vzrpm x86_64
vzrpm x86_64 [message #893] Wed, 18 January 2006 11:16 Go to next message
bards1888 is currently offline  bards1888
Messages: 10
Registered: January 2006
Junior Member
Me again,

I'm having trouble with vzrpm, I'm running centos 4.2 x86_64 and dont know which vzrpm to use, 43 or 44, it might be useful to explain why there are two versions and when we might need them or why we even need both.


Cheers,

Bards.
Re: vzrpm x86_64 [message #896 is a reply to message #893] Wed, 18 January 2006 12:24 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You would need vzrpm43 for CentOS 4. The problem is we don't yet ship vzrpmXX for x86_64 architecture Sad

There are two possible solutions:
1. Use precreated centos template
2. Hack vzyum so it will use host system rpm (requires slight code modifications, can be done in 5 minutes).



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzrpm x86_64 [message #897 is a reply to message #896] Wed, 18 January 2006 12:33 Go to previous messageGo to next message
bards1888 is currently offline  bards1888
Messages: 10
Registered: January 2006
Junior Member
Cool I think I'll use a template.

Thanks for the quick reply.
Re: vzrpm x86_64 [message #900 is a reply to message #897] Wed, 18 January 2006 12:43 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Precreated centos-4 x86_64 template is available from http://download.openvz.org/template/precreated/

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzrpm x86_64 [message #908 is a reply to message #900] Wed, 18 January 2006 14:16 Go to previous messageGo to next message
cahya_s is currently offline  cahya_s
Messages: 17
Registered: January 2006
Junior Member
And if I choose the 2nd one?
How can we hack vzyum?
Re: vzrpm x86_64 [message #914 is a reply to message #908] Wed, 18 January 2006 14:52 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It requires basic shell programming skills. Also, to make sure it will work you need to have the same RPM major version (4.2, 4.3 or 4.4) on the host system as you use inside your VPSs, otherwise you may run into rpmdb compatibility problems.

To make sure vzpkg works with host rpm not vzrpmXX, you have to do the following:

Step zero: install rpm-python package if it's not installed yet.

First, you change function get_rpm_path to return just a slash (/). This function is in /usr/share/vzpkg/functions file.

Second, you comment out everything concerning PYTHONPATH in /usr/share/vzpkg/cache-os file.



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
icon5.gif  Re: vzrpm x86_64 [message #915 is a reply to message #914] Wed, 18 January 2006 14:59 Go to previous messageGo to next message
cahya_s is currently offline  cahya_s
Messages: 17
Registered: January 2006
Junior Member
Is it going to be a problem if we just use 32 bit OS template running under x86_64?
Re: vzrpm x86_64 [message #917 is a reply to message #915] Wed, 18 January 2006 15:14 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Not at all...

The only issue is iptables will not work from inside a VPS - this is known issue that will be fixed soon. Note that iptables will still work fine from within host system.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: iso9660 support
Next Topic: vzyum x86_64
Goto Forum:
  


Current Time: Sun Jul 21 13:28:28 GMT 2024

Total time taken to generate the page: 0.02353 seconds