Share container's HD space over servers [message #45091] |
Sat, 14 January 2012 17:10 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
Marc Olive
Messages: 7 Registered: March 2011
|
Junior Member |
|
|
Hello,
I've setup a mirrored GlusterFs to share container's disc space and to
have a spare fisical server in case it's needed.
I only share the "private" directory over two servers, is it OK or I
should share whole "lib/vz" directory? Now I switched from original HN
to it's backup, most of CT works fine, but others not, but I don't know
if it's due the shared disc space or it's related to the new HN
configuration.
Can I share vz disc space over two servers and switch from one to
another? What directory should I share?
Thanks,
--
Marc Olivé
Blau Advisors
marc.olive@blauadvisors.com
C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507
www.blauadvisors.com
|
|
|
Re: Share container's HD space over servers [message #45149 is a reply to message #45091] |
Wed, 01 February 2012 20:36 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
![](https://forum.openvz.org/images/custom_avatars/125.jpg) |
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
Blau,
----- Original Message -----
> I've setup a mirrored GlusterFs to share container's disc space and to
> have a spare fisical server in case it's needed.
> I only share the "private" directory over two servers, is it OK or I
> should share whole "lib/vz" directory? Now I switched from original HN
> to it's backup, most of CT works fine, but others not, but I don't know
> if it's due the shared disc space or it's related to the new HN configuration.
> Can I share vz disc space over two servers and switch from one to
> another? What directory should I share?
OpenVZ doesn't really support this sort of thing with any features that it offers... and any solution you come up with, you'll have to engineer yourself. Of course that doesn't mean that there aren't a number of OpenVZ users out there who have done such a thing. I haven't done it and I don't know anyone who has.
I occasionally see people trying to do the shared storage type thing with NFS and to the best of my knowledge, that doesn't work well... but then again, the last time I saw someone trying it was quite a while ago so maybe it is doable now.
So to answer your question... I don't know. If you figure it out, please write up a wiki post on the openvz website to share the information with others. I believe some are using drbd and there is a wiki page for that... but I haven't read it and I don't know if that is the same use case or not.
Good luck. Sorry I didn't have any answers for you.
TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
--
TYL, Scott Dowdle
Belgrade, Montana, USA
|
|
|