DRBD inside a container [message #46273] |
Tue, 08 May 2012 10:42  |
Mark Olliver
Messages: 11 Registered: September 2011
|
Junior Member |
|
|
Hi,
I need to create two openvz guests which have access to the DRBD.ko kernel module.
The first will be a drbd proxy guest, so it just needs to be able to load the module to access /proc/drbd after which it will be running the drbd proxy software to give us a drbd HA guest.
The second will be a drbd backup server so it will need to load the drbd module and run drbd inside the container talking to the lower level /dev/sda3 block device.
1, Is there a way to enable the guest to use the DRBD module?
2, I believe I can pass the sda3 device to the guest using vzctl set 101 --devnodes sda3:rw
Thanks for your help
Mark
|
|
|
Re: DRBD inside a container [message #46276 is a reply to message #46273] |
Tue, 08 May 2012 12:10  |
svensirk
Messages: 9 Registered: March 2012 Location: Hamburg
|
Junior Member |
|
|
Hi,
Why trouble around with activating DRBD in the CT ?
If you have the CTs running on 2 different Hosts let the Hosts do the
DRBD stuff and simply mount the DRBD partitions into the CTs.
I might be misunderstanding your request. So please forgive me if this
advise total rubbish :-)
regards,
Sirk
2012/5/8 Mark Olliver <mark.olliver@thermeon.com>:
> Hi,
>
> I need to create two openvz guests which have access to the DRBD.ko kernel module.
>
> The first will be a drbd proxy guest, so it just needs to be able to load the module to access /proc/drbd after which it will be running the drbd proxy software to give us a drbd HA guest.
>
> The second will be a drbd backup server so it will need to load the drbd module and run drbd inside the container talking to the lower level /dev/sda3 block device.
>
> 1, Is there a way to enable the guest to use the DRBD module?
>
> 2, I believe I can pass the sda3 device to the guest using vzctl set 101 --devnodes sda3:rw
>
> Thanks for your help
>
> Mark
>
>
>
>
--
Satzmedia GmbH
Altonaer Poststraße 9
22767 Hamburg
Tel: +49 (0) 40 - 1 888 969 - 140
Fax: +49 (0) 40 - 1 888 969 - 200
E-Mail: s.johannsen@satzmedia.de
E-Business-Lösungen: http://www.satzmedia.de
Amtsgericht Hamburg, HRB 71729
Ust-IDNr. DE201979921
Geschäftsführer:
Dipl.-Kfm. Christian Satz
Dipl.-Inform. Markus Meyer-Westphal
--
|
|
|