Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-15 Thread RSCL Mumbai
On Sat, Sep 3, 2011 at 1:56 AM, Jeff LaCoursiere j...@sunfone.com wrote:


 On Thu, 1 Sep 2011, RSCL Mumbai wrote:


 I tried and failed with VirtualBox too.  Timing seemed impossible to
 maintain, even on beefy hardware (hexacore)
 with plenty of RAM (16G), and nothing else going on (single instance).  I
 don't think VirtualBox is up to real-time
 stuff.

 We use LXC now, and it is fantastic.

 j


 Thx Jeff.

 Kindly share some more details on the kind of hardware you are using, LXC
 parameters and the kind of load the system can
 handle.

 I am sure this will help me and more like myself.

 Thx
 Sanjay


 My main interest of being on Virtual platform is portability / Backup.
 In case of any h/w issues, or crashes, simply copy the VM on to another
 box and you are up in minutes.


 Sanjay



 Hi Sanjay,

 LXC is more of a quasi-virtual platform - it doesn't give you hardware
 virtualization, but instead lets you share the kernel of the host between
 multiple instances.  To me this allows for multiple efficiencies and
 advantages that you don't get with hardware virtualization:

 1) the host's memory is shared between all instances
 2) the host's disk is shared between all instances
 3) a shell on the host has access to the files in all of the instances

 So an instance that is truly idle is taking up very little resource on the
 host.  Versus a traditional hardware virt, which even when idle has an
 appreciable chunk of RAM and CPU in use all the time.

 For hosting lots of asterisk instances this is VERY efficient.

 We have it setup such that the host runs an asterisk image that is the
 PSTN gateway and has dahdi loaded for timing and access to interface
 cards.  It accepts calls for subscribed DIDs and routes them to the
 appropriate instance.

 Each instance has an asterisk process that is dedicated to a customer,
 which includes their own instance of FreePBX.  The dedicated asterisk
 instance uses a SIP peer connection to the asterisk running on the host
 which is its outbound access to the PSTN (or other instances).  The one
 gotcha I ran into was configuring the instance to allow access to the dahdi
 kernel module of the host, which is needed for timing for meetme (we still
 run 1.4).  The conf file needs to contain:

 # dahdi
 lxc.cgroup.devices.allow = c 196:0 rwm
 lxc.cgroup.devices.allow = c 196:253 rwm
 lxc.cgroup.devices.allow = c 196:254 rwm
 lxc.cgroup.devices.allow = c 196:255 rwm

 This is still in proof-of-concept mode for us, but we do have a half dozen
 customers representing about fifty seats running on it in beta.  No
 complaints in over two months, and the load average may as well be zero.

 The machine is a quad core Xeon (X3450 @ 2.66Ghz) with 8G RAM, running
 Ubuntu 11.04.

 Each instance is a subtree of the host's filesystem, by default (at least
 in Ubuntu) under /var/lib/lxc.  We created a template with a full asterisk
 and FreePBX installation.  To create a new instance we simply untar the
 template and run a sed script over a set of files to give it an IP address,
 hostname, and minor edits to various asterisk config files.  I haven't done
 it yet, but I intend to create a mirror of the host machine on another box
 with rsync, which will serve as the backup.  At some point I would like to
 have the instances running on both mirrors with failover.

 LXC docs basically suck.  If you do go down this road, you will have to be
 prepared to glean as much as possible from notes various people have posted.
  I settled on Ubuntu 11.04 as a base because a lot of LXC specific scripts
 have been created to help with management.  Even so its kind of flaky
 shutting down and rebooting the instances.  Once they are running as you
 like it is stable, but I had a lot of weird things happen along the way as I
 was tweaking.

 OpenVZ is the older and more mature equivalent, and may be a better choice
 to start, but it is not built into the kernel as LXC is.  I don't have an
 real comparisons to provide operationally, but I can vouch for LXC being
 stable enough for production use so far.  I haven't stress tested it yet to
 see how many instances we can provide on a single host, but am hoping it to
 be a function of the number of simultaneous calls rather than the number of
 instances...

 Would love to hear from anyone else that is using LXC, especially in
 production.

 Cheers,

 j
 --


@Jeff, @Tarek,

I finally decided to move away from Virtualization.
I have read a lot of posts on various forums which suggests VB is not fully
ready for a real time application like Asterisk, and I have been facing
issues all the way.
LXC was a bit complicated for me and I was short on time.

Did a bare metal install and its working good.
My Quad Xeon 2.3 GHz CPU hardly hits 10% with 20 concurrent calls
I have only 2GB RAM for now and its 50% used.

Created a CloneZilla image last night, plan to install it on another similar
hardware later today.

I am wondering how to resolve ethernet conflict while 

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-15 Thread amit anand
Hi

What about OpenVZ. Its good

On Thu, Sep 15, 2011 at 12:38, RSCL Mumbai rscl.mum...@gmail.com wrote:

 On Sat, Sep 3, 2011 at 1:56 AM, Jeff LaCoursiere j...@sunfone.com wrote:


 On Thu, 1 Sep 2011, RSCL Mumbai wrote:


 I tried and failed with VirtualBox too.  Timing seemed impossible to
 maintain, even on beefy hardware (hexacore)
 with plenty of RAM (16G), and nothing else going on (single instance).  I
 don't think VirtualBox is up to real-time
 stuff.

 We use LXC now, and it is fantastic.

 j


 Thx Jeff.

 Kindly share some more details on the kind of hardware you are using, LXC
 parameters and the kind of load the system can
 handle.

 I am sure this will help me and more like myself.

 Thx
 Sanjay


 My main interest of being on Virtual platform is portability / Backup.
 In case of any h/w issues, or crashes, simply copy the VM on to another
 box and you are up in minutes.


 Sanjay



 Hi Sanjay,

 LXC is more of a quasi-virtual platform - it doesn't give you hardware
 virtualization, but instead lets you share the kernel of the host between
 multiple instances.  To me this allows for multiple efficiencies and
 advantages that you don't get with hardware virtualization:

 1) the host's memory is shared between all instances
 2) the host's disk is shared between all instances
 3) a shell on the host has access to the files in all of the instances

 So an instance that is truly idle is taking up very little resource on the
 host.  Versus a traditional hardware virt, which even when idle has an
 appreciable chunk of RAM and CPU in use all the time.

 For hosting lots of asterisk instances this is VERY efficient.

 We have it setup such that the host runs an asterisk image that is the
 PSTN gateway and has dahdi loaded for timing and access to interface
 cards.  It accepts calls for subscribed DIDs and routes them to the
 appropriate instance.

 Each instance has an asterisk process that is dedicated to a customer,
 which includes their own instance of FreePBX.  The dedicated asterisk
 instance uses a SIP peer connection to the asterisk running on the host
 which is its outbound access to the PSTN (or other instances).  The one
 gotcha I ran into was configuring the instance to allow access to the dahdi
 kernel module of the host, which is needed for timing for meetme (we still
 run 1.4).  The conf file needs to contain:

 # dahdi
 lxc.cgroup.devices.allow = c 196:0 rwm
 lxc.cgroup.devices.allow = c 196:253 rwm
 lxc.cgroup.devices.allow = c 196:254 rwm
 lxc.cgroup.devices.allow = c 196:255 rwm

 This is still in proof-of-concept mode for us, but we do have a half dozen
 customers representing about fifty seats running on it in beta.  No
 complaints in over two months, and the load average may as well be zero.

 The machine is a quad core Xeon (X3450 @ 2.66Ghz) with 8G RAM, running
 Ubuntu 11.04.

 Each instance is a subtree of the host's filesystem, by default (at least
 in Ubuntu) under /var/lib/lxc.  We created a template with a full asterisk
 and FreePBX installation.  To create a new instance we simply untar the
 template and run a sed script over a set of files to give it an IP address,
 hostname, and minor edits to various asterisk config files.  I haven't done
 it yet, but I intend to create a mirror of the host machine on another box
 with rsync, which will serve as the backup.  At some point I would like to
 have the instances running on both mirrors with failover.

 LXC docs basically suck.  If you do go down this road, you will have to be
 prepared to glean as much as possible from notes various people have posted.
  I settled on Ubuntu 11.04 as a base because a lot of LXC specific scripts
 have been created to help with management.  Even so its kind of flaky
 shutting down and rebooting the instances.  Once they are running as you
 like it is stable, but I had a lot of weird things happen along the way as I
 was tweaking.

 OpenVZ is the older and more mature equivalent, and may be a better choice
 to start, but it is not built into the kernel as LXC is.  I don't have an
 real comparisons to provide operationally, but I can vouch for LXC being
 stable enough for production use so far.  I haven't stress tested it yet to
 see how many instances we can provide on a single host, but am hoping it to
 be a function of the number of simultaneous calls rather than the number of
 instances...

 Would love to hear from anyone else that is using LXC, especially in
 production.

 Cheers,

 j
 --


 @Jeff, @Tarek,

 I finally decided to move away from Virtualization.
 I have read a lot of posts on various forums which suggests VB is not fully
 ready for a real time application like Asterisk, and I have been facing
 issues all the way.
 LXC was a bit complicated for me and I was short on time.

 Did a bare metal install and its working good.
 My Quad Xeon 2.3 GHz CPU hardly hits 10% with 20 concurrent calls
 I have only 2GB RAM for now and its 50% used.

 Created a CloneZilla image last night, 

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-13 Thread Tarek Sawah

i did do some Asterisk tests on SUN VBOX .. works like a charm but you need to 
dedicate some good resources to the virtual box!



Tarek Sawah

Information Technology  Adviser

Integrated Digital Systems

CCNP, MCSE, RHCE, TELECOM

USA: +1 386 492 9993




 From: zhulizh...@live.com 
 To: asterisk-users@lists.digium.com 
 Date: Fri, 2 Sep 2011 08:37:55 + 
 Subject: Re: [asterisk-users] Anyone using Asterisk on VirtualBox ? 
  
 hi: 
 please check the redfone solution. 
  
 Best regards, 
 James.zhu 
 Doing asterisk/PRI/ss7/dahdi, linux, asterisk cards,  
 gateway(fxs/fxo/pri-SIP). 
 website: www.voipviews.com 
  
  
   From: aster...@a-domani.nl 
   To: asterisk-users@lists.digium.com 
   Date: Thu, 1 Sep 2011 23:48:46 +0200 
   Subject: Re: [asterisk-users] Anyone using Asterisk on VirtualBox ? 
   
   On Thu, 2011-09-01 at 21:32 +0530, RSCL Mumbai wrote: 
   


My main interest of being on Virtual platform is portability / Backup. 
In case of any h/w issues, or crashes, simply copy the VM on to 
another box and you are up in minutes. 


Sanjay 
-- 
   Doing that right now, although in my case i use XEN. 
   Besides being hw independant, it is easier to play with a different 
   version for a while (1.4 / 1.6.0 / 1.6.1 / 1.6.2 / 1.8.0) and being able 
   to switch back in minutes. 
   
   hw 
   
   -- 
   _ 
   -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
   New to Asterisk? Join us for a live introductory webinar every Thurs: 
   http://www.asterisk.org/hello 
   
   asterisk-users mailing list 
   To UNSUBSCRIBE or update options visit: 
   http://lists.digium.com/mailman/listinfo/asterisk-users 
  
 --  
 _ --  
 Bandwidth and Colocation Provided by http://www.api-digital.com -- New  
 to Asterisk? Join us for a live introductory webinar every Thurs:  
 http://www.asterisk.org/hello asterisk-users mailing list To  
 UNSUBSCRIBE or update options visit:  
 http://lists.digium.com/mailman/listinfo/asterisk-users 
  
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-02 Thread James zhu

hi:
please check the redfone solution.

Best regards,
James.zhu
Doing asterisk/PRI/ss7/dahdi, linux, asterisk cards, gateway(fxs/fxo/pri-SIP).
website: www.voipviews.com 


 From: aster...@a-domani.nl
 To: asterisk-users@lists.digium.com
 Date: Thu, 1 Sep 2011 23:48:46 +0200
 Subject: Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?
 
 On Thu, 2011-09-01 at 21:32 +0530, RSCL Mumbai wrote:
 
  
  
  My main interest of being on Virtual platform is portability / Backup.
  In case of any h/w issues, or crashes, simply copy the VM on to
  another box and you are up in minutes.
  
  
  Sanjay
  --
 Doing that right now, although in my case i use XEN.
 Besides being hw independant, it is easier to play with a different
 version for a while (1.4 / 1.6.0 / 1.6.1 / 1.6.2 / 1.8.0) and being able
 to switch back in minutes.
 
 hw
 
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
  --
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-02 Thread RSCL Mumbai
Thx @James

(1) We do not use any analog / digital phone lines. SIP based DIDs and
Softphones.
Do I still need timing source ?


(2) What does timing source do, how does ithelp ?
Any insights will help.


Thx  Rgds,
Sanjay





2011/9/2 James zhu zhulizh...@live.com

  hi:
 please check the redfone solution.

 Best regards,
 James.zhu
 Doing asterisk/PRI/ss7/dahdi, linux, asterisk cards,
 gateway(fxs/fxo/pri-SIP).
 website: www.voipviews.com


  From: aster...@a-domani.nl
  To: asterisk-users@lists.digium.com
  Date: Thu, 1 Sep 2011 23:48:46 +0200
  Subject: Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

 
  On Thu, 2011-09-01 at 21:32 +0530, RSCL Mumbai wrote:
 
  
  
   My main interest of being on Virtual platform is portability / Backup.
   In case of any h/w issues, or crashes, simply copy the VM on to
   another box and you are up in minutes.
  
  
   Sanjay
   --
  Doing that right now, although in my case i use XEN.
  Besides being hw independant, it is easier to play with a different
  version for a while (1.4 / 1.6.0 / 1.6.1 / 1.6.2 / 1.8.0) and being able
  to switch back in minutes.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-02 Thread Jeff LaCoursiere


On Thu, 1 Sep 2011, RSCL Mumbai wrote:



I tried and failed with VirtualBox too.  Timing seemed impossible to 
maintain, even on beefy hardware (hexacore)
with plenty of RAM (16G), and nothing else going on (single instance).  I 
don't think VirtualBox is up to real-time

stuff.

We use LXC now, and it is fantastic.

j


Thx Jeff.

Kindly share some more details on the kind of hardware you are using, LXC 
parameters and the kind of load the system can

handle.

I am sure this will help me and more like myself.

Thx
Sanjay


My main interest of being on Virtual platform is portability / Backup.
In case of any h/w issues, or crashes, simply copy the VM on to another box 
and you are up in minutes.



Sanjay




Hi Sanjay,

LXC is more of a quasi-virtual platform - it doesn't give you hardware 
virtualization, but instead lets you share the kernel of the host between 
multiple instances.  To me this allows for multiple efficiencies and advantages 
that you don't get with hardware virtualization:


1) the host's memory is shared between all instances
2) the host's disk is shared between all instances
3) a shell on the host has access to the files in all of the instances

So an instance that is truly idle is taking up very little resource on the 
host.  Versus a traditional hardware virt, which even when idle has an 
appreciable chunk of RAM and CPU in use all the time.


For hosting lots of asterisk instances this is VERY efficient.

We have it setup such that the host runs an asterisk image that is the PSTN 
gateway and has dahdi loaded for timing and access to interface cards.  It 
accepts calls for subscribed DIDs and routes them to the appropriate instance.


Each instance has an asterisk process that is dedicated to a customer, which 
includes their own instance of FreePBX.  The dedicated asterisk instance uses a 
SIP peer connection to the asterisk running on the host which is its outbound 
access to the PSTN (or other instances).  The one gotcha I ran into was 
configuring the instance to allow access to the dahdi kernel module of the 
host, which is needed for timing for meetme (we still run 1.4).  The conf file 
needs to contain:


# dahdi
lxc.cgroup.devices.allow = c 196:0 rwm
lxc.cgroup.devices.allow = c 196:253 rwm
lxc.cgroup.devices.allow = c 196:254 rwm
lxc.cgroup.devices.allow = c 196:255 rwm

This is still in proof-of-concept mode for us, but we do have a half dozen 
customers representing about fifty seats running on it in beta.  No complaints 
in over two months, and the load average may as well be zero.


The machine is a quad core Xeon (X3450 @ 2.66Ghz) with 8G RAM, running Ubuntu 
11.04.


Each instance is a subtree of the host's filesystem, by default (at least in 
Ubuntu) under /var/lib/lxc.  We created a template with a full asterisk and 
FreePBX installation.  To create a new instance we simply untar the template 
and run a sed script over a set of files to give it an IP address, hostname, 
and minor edits to various asterisk config files.  I haven't done it yet, but I 
intend to create a mirror of the host machine on another box with rsync, which 
will serve as the backup.  At some point I would like to have the instances 
running on both mirrors with failover.


LXC docs basically suck.  If you do go down this road, you will have to be 
prepared to glean as much as possible from notes various people have posted.  I 
settled on Ubuntu 11.04 as a base because a lot of LXC specific scripts have 
been created to help with management.  Even so its kind of flaky shutting down 
and rebooting the instances.  Once they are running as you like it is stable, 
but I had a lot of weird things happen along the way as I was tweaking.


OpenVZ is the older and more mature equivalent, and may be a better choice to 
start, but it is not built into the kernel as LXC is.  I don't have an real 
comparisons to provide operationally, but I can vouch for LXC being stable 
enough for production use so far.  I haven't stress tested it yet to see how 
many instances we can provide on a single host, but am hoping it to be a 
function of the number of simultaneous calls rather than the number of 
instances...


Would love to hear from anyone else that is using LXC, especially in 
production.


Cheers,

j--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread RSCL Mumbai
Hi,

Anyone using Asterisk on Virtualbox.

I am using and facing CPU peaking issue.

Hardware is IBM X3200 M3, Quad Core Xeon 3 GHz with 4 GB RAM (2 cores
and 2 GM RAM allocated to the asterisk VM -- thats the only VM as of
now), 64bit CentOS 5.4.
Only SIP and softphones.
Max 10 simultaneous calls.

Unable to ascertain if the problem is with Asterisk, Virtualbox,
Configuration, or the whole system should not be the way it is.

Anyone will to share their settings and help me.

Thx
Sanjay

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread Jeff LaCoursiere


On Thu, 1 Sep 2011, RSCL Mumbai wrote:


Hi,

Anyone using Asterisk on Virtualbox.

I am using and facing CPU peaking issue.

Hardware is IBM X3200 M3, Quad Core Xeon 3 GHz with 4 GB RAM (2 cores
and 2 GM RAM allocated to the asterisk VM -- thats the only VM as of
now), 64bit CentOS 5.4.
Only SIP and softphones.
Max 10 simultaneous calls.

Unable to ascertain if the problem is with Asterisk, Virtualbox,
Configuration, or the whole system should not be the way it is.

Anyone will to share their settings and help me.

Thx
Sanjay



I tried and failed with VirtualBox too.  Timing seemed impossible to 
maintain, even on beefy hardware (hexacore) with plenty of RAM (16G), and 
nothing else going on (single instance).  I don't think VirtualBox is up 
to real-time stuff.


We use LXC now, and it is fantastic.

j

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread RSCL Mumbai
On Thu, Sep 1, 2011 at 8:02 PM, Jeff LaCoursiere j...@sunfone.com wrote:


 On Thu, 1 Sep 2011, RSCL Mumbai wrote:

  Hi,

 Anyone using Asterisk on Virtualbox.

 I am using and facing CPU peaking issue.

 Hardware is IBM X3200 M3, Quad Core Xeon 3 GHz with 4 GB RAM (2 cores
 and 2 GM RAM allocated to the asterisk VM -- thats the only VM as of
 now), 64bit CentOS 5.4.
 Only SIP and softphones.
 Max 10 simultaneous calls.

 Unable to ascertain if the problem is with Asterisk, Virtualbox,
 Configuration, or the whole system should not be the way it is.

 Anyone will to share their settings and help me.

 Thx
 Sanjay


 I tried and failed with VirtualBox too.  Timing seemed impossible to
 maintain, even on beefy hardware (hexacore) with plenty of RAM (16G), and
 nothing else going on (single instance).  I don't think VirtualBox is up to
 real-time stuff.

 We use LXC now, and it is fantastic.

 j


Thx Jeff.

Kindly share some more details on the kind of hardware you are using, LXC
parameters and the kind of load the system can handle.

I am sure this will help me and more like myself.

Thx
Sanjay
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread RSCL Mumbai
On Thu, Sep 1, 2011 at 9:25 PM, RSCL Mumbai rscl.mum...@gmail.com wrote:

 On Thu, Sep 1, 2011 at 8:02 PM, Jeff LaCoursiere j...@sunfone.com wrote:


 On Thu, 1 Sep 2011, RSCL Mumbai wrote:

  Hi,

 Anyone using Asterisk on Virtualbox.

 I am using and facing CPU peaking issue.

 Hardware is IBM X3200 M3, Quad Core Xeon 3 GHz with 4 GB RAM (2 cores
 and 2 GM RAM allocated to the asterisk VM -- thats the only VM as of
 now), 64bit CentOS 5.4.
 Only SIP and softphones.
 Max 10 simultaneous calls.

 Unable to ascertain if the problem is with Asterisk, Virtualbox,
 Configuration, or the whole system should not be the way it is.

 Anyone will to share their settings and help me.

 Thx
 Sanjay


 I tried and failed with VirtualBox too.  Timing seemed impossible to
 maintain, even on beefy hardware (hexacore) with plenty of RAM (16G), and
 nothing else going on (single instance).  I don't think VirtualBox is up to
 real-time stuff.

 We use LXC now, and it is fantastic.

 j


 Thx Jeff.

 Kindly share some more details on the kind of hardware you are using, LXC
 parameters and the kind of load the system can handle.

 I am sure this will help me and more like myself.

 Thx
 Sanjay


My main interest of being on Virtual platform is portability / Backup.
In case of any h/w issues, or crashes, simply copy the VM on to another box
and you are up in minutes.


Sanjay
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread Tzafrir Cohen
On Thu, Sep 01, 2011 at 10:32:52AM -0400, Jeff LaCoursiere wrote:

 I tried and failed with VirtualBox too.  Timing seemed impossible to  
 maintain, even on beefy hardware (hexacore) with plenty of RAM (16G), and 
 nothing else going on (single instance).  I don't think VirtualBox is up  
 to real-time stuff.

What timing module do you use? I recall on several cases that the
pthreads timing module worked better than the timerfd one.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread Paul Belanger

On 11-09-01 03:30 PM, Tzafrir Cohen wrote:

On Thu, Sep 01, 2011 at 10:32:52AM -0400, Jeff LaCoursiere wrote:


I tried and failed with VirtualBox too.  Timing seemed impossible to
maintain, even on beefy hardware (hexacore) with plenty of RAM (16G), and
nothing else going on (single instance).  I don't think VirtualBox is up
to real-time stuff.


What timing module do you use? I recall on several cases that the
pthreads timing module worked better than the timerfd one.

1.8.7.0-rc1 should have a few fixes for timerfd.  It would be good to 
get some feedback from testers.


--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com  http://asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Anyone using Asterisk on VirtualBox ?

2011-09-01 Thread Hans Witvliet
On Thu, 2011-09-01 at 21:32 +0530, RSCL Mumbai wrote:

 
 
 My main interest of being on Virtual platform is portability / Backup.
 In case of any h/w issues, or crashes, simply copy the VM on to
 another box and you are up in minutes.
 
 
 Sanjay
 --
Doing that right now, although in my case i use XEN.
Besides being hw independant, it is easier to play with a different
version for a while (1.4 / 1.6.0 / 1.6.1 / 1.6.2 / 1.8.0) and being able
to switch back in minutes.

hw

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users