bilal ghayyad
2010-Oct-05 10:12 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
Hi All; Did anyone try to implement (installation and configuration and running) for more than one asterisk instance (two or three instances), where each asterisk instance to work on a difference IP than the other where the server already has more than one IP address. We need to implement this situation because in case we need to do testing for any scenario of configuration, then other instances will not be effected. Is it possible without WMWare? Regards Bilal
Gordon Henderson
2010-Oct-05 10:25 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
On Tue, 5 Oct 2010, bilal ghayyad wrote:> Hi All; > > Did anyone try to implement (installation and configuration and running) > for more than one asterisk instance (two or three instances), where each > asterisk instance to work on a difference IP than the other where the > server already has more than one IP address.Yes.> We need to implement this situation because in case we need to do > testing for any scenario of configuration, then other instances will not > be effected. > > Is it possible without WMWare?Yes. I'm using LXC - which is a softer form of virtualisation - aka Containers. There's not much documentation on it though, but a good Linux sysadmin ought to be able to pick it up though. Gordon
Nikhil
2010-Oct-05 11:42 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
Hi We can run multiple instance of asterisk in same box with different IP and port. U need to install asterisk in different location eg: 1: /home/asterisk1/ 2 , : /home/asterisk2 ,and run both from that path , listen ip and port should be different. command to run: $ /home/asterisk1/usr/sbin/asterisk -g for first asterisk $ /home/asterisk2/usr/sbin/asterisk -g for second asterisk Thanks Nikhil On 10/05/2010 03:42 PM, bilal ghayyad wrote:> Hi All; > > Did anyone try to implement (installation and configuration and running) for more than one asterisk instance (two or three instances), where each asterisk instance to work on a difference IP than the other where the server already has more than one IP address. > > We need to implement this situation because in case we need to do testing for any scenario of configuration, then other instances will not be effected. > > Is it possible without WMWare? > Regards > Bilal > > > >
Zeeshan Zakaria
2010-Oct-05 15:40 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
You can use proxmox from proxmox.com. I am using it for the same reason you want to use it. I have been testing it for some time now and it works great. Proxmox is an excellent hypervisor and it is free. Easy to install and simple to setup. Install it drom its ISO. Then you can download a OenVZ CentOS 5.2 instance for it from proxmox website, install it, give it an IP address and you have your server ready. Install on it asterisk as you would on any other system. I have detailed instructions for it on my blog, which I documented when I was setting up asterisk from scratch on a CentOS instance on proxmox. Once you have asterisk all setup, you can simply copy/paste the folder with virtual machine instance using a new name, and you have a second copy of your asterisk setup. Assign it a different IP address. I created 7 copies of my main setup, each with its own IP address. Proxmox also gives you option for hardware level virtulization, called KVM. I haven't tried it. With only OpenVZ you shall not be able to use zaptel/dahdi hardware though, and I don't know if KVM allows for it. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-10-05 10:57 AM, "Steve Howes" <steve-lists at geekinter.net> wrote: On 5 Oct 2010, at 15:13, Gordon Henderson wrote:>> $ /home/asterisk1/usr/sbin/asterisk -g for firs...More than one IP on the box. Change the bind address.. Easy, no? Steve -- _____________________________________________________________________ -- Bandwidth and Colocati... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101005/f5b80e84/attachment.htm
Olivier
2010-Oct-06 11:30 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
2010/10/5 Nikhil <d.nikhil at cem-solutions.net>> Hi > We can run multiple instance of asterisk in same box with different IP > and port. U need to install asterisk in different location eg: 1: > /home/asterisk1/ 2 , : /home/asterisk2 ,and run both from that path , > listen ip and port should be different. > > command to run: > > $ /home/asterisk1/usr/sbin/asterisk -g for first asterisk > $ /home/asterisk2/usr/sbin/asterisk -g for second asterisk >How do you then dealt with /etc/init.d/asterisk scripts ? One per instance ?> > Thanks > Nikhil > > > On 10/05/2010 03:42 PM, bilal ghayyad wrote: > > Hi All; > > > > Did anyone try to implement (installation and configuration and running) > for more than one asterisk instance (two or three instances), where each > asterisk instance to work on a difference IP than the other where the server > already has more than one IP address. > > > > We need to implement this situation because in case we need to do testing > for any scenario of configuration, then other instances will not be > effected. > > > > Is it possible without WMWare? > > Regards > > Bilal > > > > > > > > > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101006/940956dd/attachment.htm
Tzafrir Cohen
2010-Oct-10 14:11 UTC
[asterisk-users] Implementing more than one asterisk instance in the same hardware machine?
On Wed, Oct 06, 2010 at 01:30:06PM +0200, Olivier wrote:> 2010/10/5 Nikhil <d.nikhil at cem-solutions.net> > > > Hi > > We can run multiple instance of asterisk in same box with different IP > > and port. U need to install asterisk in different location eg: 1: > > /home/asterisk1/ 2 , : /home/asterisk2 ,and run both from that path , > > listen ip and port should be different. > > > > command to run: > > > > $ /home/asterisk1/usr/sbin/asterisk -g for first asterisk > > $ /home/asterisk2/usr/sbin/asterisk -g for second asterisk > > > > How do you then dealt with /etc/init.d/asterisk scripts ? > One per instance ?I suppose that - yes. Note that you may also need to point the init.d script to the PID file, depending on the settings. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir