OpenVZ Forum


Home » General » Support » Howto provide shared storage (as LVM VG) to CTs?
Howto provide shared storage (as LVM VG) to CTs? [message #42845] Tue, 07 June 2011 12:38 Go to previous message
ragro is currently offline  ragro
Messages: 3
Registered: June 2011
Location: Berlin
Junior Member
Hello,

I'm new to OpenVZ containers.
I was looking for a low overhead "virtualization" solution to provide a test environment for simulating Linux HA clustering.
Thanks to layer 3 venet and layer 2 veth virtual NICs that OpenVZ offers it seems feasible to use OpenVZ to this end.
However, I am missing a possibility to provide shared storage (which effectively in my test scenario simply would come from the HN CT0) preferably in Form of LVM VGs to the VEs. At least so far I haven't found a description in the OpenVZ Wiki how one would achieve this.
So far I have created to VEs with the pre-built OS template of scientific-6-i386 which I downloaded from the OpenVZ site.
When I entered a VE I couldn't issue LVM commands nor load dm kernel modules, why I believe that the chosen OS template was built without DM/LVM support and lacks an appropriate initrd.
As I want to set up test clusters from RedHat Cluster Suite as well as from the Linux Pacemaker stack with resources of shared (C)LVM storage I do need availability of these features in the VEs.
I am convinced that this can be achieved with OpenVZ though but have no idea how?
I think it will at least require me to furnish a custom OS template with built-in DM/LVM support, though in the OpenVZ Wiki it read that those sections that cover custom templating should be considered as deprecated and not followed anymore.

 
Read Message
Read Message
Read Message
Previous Topic: New Kernel RHEL6 042stab013.1 missing from yum update?
Next Topic: General questions and advice
Goto Forum:
  


Current Time: Wed Jul 30 10:30:42 GMT 2025

Total time taken to generate the page: 0.12081 seconds