OpenVZ Forum


Home » Mailing lists » Users » OpenVZ Container with a PCI ISDN Card
OpenVZ Container with a PCI ISDN Card [message #42817] Tue, 31 May 2011 11:10 Go to next message
Daniel Bauer is currently offline  Daniel Bauer
Messages: 37
Registered: February 2006
Member
Hello,

I'm new to OpenVZ and wonder if it's possible to run an asterisk inside
a container and give him full access to a digium B410 ISDN Card.

Thanks a lot for any hint
Daniel
Re: OpenVZ Container with a PCI ISDN Card [message #42855 is a reply to message #42817] Thu, 09 June 2011 07:05 Go to previous messageGo to next message
Adeel Nazir is currently offline  Adeel Nazir
Messages: 1
Registered: June 2011
Junior Member
In theory, you should be able to. from the man pages of vzctl:

--devnodes device:r|w|rw|none
Give the container an access (r - read only, w - write only, rw -
read/write, none - no access) to a device designated by the special
file /dev/device. Device file is created in a container by vzctl.

--devices b|c:major:minor|all:[r|w|rw|none]
Give the container an access to a block or character device
designated by its major and minor numbers. Device file have to be created
manually.




----- Original Message ----
From: Daniel Bauer <mlist@dsb-gmbh.de>
To: users@openvz.org
Sent: Tue, May 31, 2011 4:10:11 AM
Subject: [Users] OpenVZ Container with a PCI ISDN Card

Hello,

I'm new to OpenVZ and wonder if it's possible to run an asterisk inside a
container and give him full access to a digium B410 ISDN Card.

Thanks a lot for any hint
Daniel
Re: OpenVZ Container with a PCI ISDN Card - SOLVED [message #44379 is a reply to message #42855] Mon, 05 December 2011 07:55 Go to previous message
Daniel Bauer is currently offline  Daniel Bauer
Messages: 37
Registered: February 2006
Member
From: "Adeel Nazir" <adeel_n@yahoo.com>
> In theory, you should be able to. from the man pages of vzctl:
>
> --devnodes device:r|w|rw|none
> Give the container an access (r - read only, w - write only,
> rw -
> read/write, none - no access) to a device designated by the
> special
> file /dev/device. Device file is created in a container by
> vzctl.

it really takes a long time, but now it's solved. You're absolutly
right, my mistake was, to look for the PCI Card without any drivers
installed in the HN. After loading the correct modules, I moved the
access to the asterisk in the VPS.

Thanks
Daniel


> --devices b|c:major:minor|all:[r|w|rw|none]
> Give the container an access to a block or character
> device
> designated by its major and minor numbers. Device file have to be
> created
> manually.
>
>
>
>
> ----- Original Message ----
> From: Daniel Bauer <mlist@dsb-gmbh.de>
> To: users@openvz.org
> Sent: Tue, May 31, 2011 4:10:11 AM
> Subject: [Users] OpenVZ Container with a PCI ISDN Card
>
> Hello,
>
> I'm new to OpenVZ and wonder if it's possible to run an asterisk
> inside a
> container and give him full access to a digium B410 ISDN Card.
>
> Thanks a lot for any hint
> Daniel
Previous Topic: Is there a stable OpenVZ kernel, and which should be fit for production
Next Topic: Heavy Disk IO from a single VM can block the other VMs on the same host
Goto Forum:
  


Current Time: Sat Dec 28 07:37:32 GMT 2024

Total time taken to generate the page: 0.02577 seconds