Page 1 of 1

Install Vicibox in Virtual Server

PostPosted: Wed Dec 19, 2018 2:34 am
by tanvirmcc
Is it possible to install Vicibox into a virtual server (KVM) for production of 5 seated call center ? is there any performance issue?

/BR
Tanvir

Re: Install Vicibox in Virtual Server

PostPosted: Wed Dec 19, 2018 4:39 pm
by williamconley
http://www.vicidial.org/VICIDIALforum/v ... =2&t=35289

http://www.vicidial.org/VICIDIALforum/v ... =4&t=35693

IMHO: Virtual Vicidial is ONLY viable for testing or for a single agent.

Note that "KVM" is not related to "Virtual". KVM can be used to access a physical-hardware-based server or a virtual server. Hosted, colocated, virtual: All may have KVM access. Be sure you know what you are getting. 8-)

Re: Install Vicibox in Virtual Server

PostPosted: Wed Jan 02, 2019 7:08 pm
by dspaan
I have been running vicidial on dedicated hardare for years now based on advice above but since 8 months now we have switched over to virtual servers and have had 0 problems and tons of benefits.

KVM is definitely a virtual term William and also a component of Proxmox which we use. https://www.proxmox.com/en/

If you have a project with 5 agents (which most of our projects are) it's ridiculous to sacrifice a dedicated server for this purpose.
https://en.wikipedia.org/wiki/Kernel-ba ... al_Machine
https://wiki.debian.org/KVM
https://www.linux.com/learn/intro-to-li ... kvm-part-1

Re: Install Vicibox in Virtual Server

PostPosted: Thu Jan 03, 2019 3:16 am
by williamconley
I would say your results are either unique or not fully disclosed.

How many agents total per Physical Server (ie: how many Virtual Vicidial's inside each physical server and how many agents in each virtual server). No estimates, averages, or guesses, mind you. That happens a lot, then when the real numbers come out the server turns out to be an powerful 8 core box (fast, lots of RAM) with a total of 10 agents in 2 servers. Obviously a waste of resources.

So if you have a Real World scenario that works, it's good to hear. But I'm still skeptical based on ALL previous intel.

Just sayin' ... 8-)

(Note that we are also running Vicidial virtually for many clients, but the limits are always there. This isn't us "guessing", we're doing it and finding the barriers.)

Re: Install Vicibox in Virtual Server

PostPosted: Thu Jan 03, 2019 4:30 am
by dspaan
I don't have the exact amount of agents but the average amount of daily logged in agents is 160 right now over 2 servers (Super Mirco each with 128GB RAM)
Here is the busiest server of the two:
Image

Re: Install Vicibox in Virtual Server

PostPosted: Thu Jan 03, 2019 7:25 am
by williamconley
32 cores and 128G RAM? 80 Agents each ... "average"?

This could mean that at any given moment you only have 20 ... Oh: I see. "Average" Meaning "assigned to each server and not "actually logged in right now"?

The concept is how many agents max at any single moment. Kinda the difference between Miles and Miles Per Hour.

Check with all systems and have 160 agents at ONE time logged in and dialing ... that's gonna be impressive. But all at once, not "over the course of a day".

Re: Install Vicibox in Virtual Server

PostPosted: Thu Jan 03, 2019 7:51 am
by dspaan
Some of those 160 are inbound only and currently some are on the 2nd server. The farm is still growing so i'll let you know how it goes. I also want to setup a Nagios or an alternative so i can see how many agents are logged in on each server because there is no central way of monitoring that right now.

Re: Install Vicibox in Virtual Server

PostPosted: Thu Jan 03, 2019 1:13 pm
by williamconley
Hint: Number of agents is ... interesting, but you need number of live and ringing calls more than agent count. It's also a good idea to have each of the Asterisk servers register to a central server so if asterisk crashes or fails to start you can check that central server to see the missing registration.

Re: Install Vicibox in Virtual Server

PostPosted: Fri Jan 04, 2019 10:24 am
by dspaan
Indeed, which table would be best to grab the ringing calls from? What is your experience with asterisk crashing? We've never had this problem.

Re: Install Vicibox in Virtual Server

PostPosted: Fri Jan 04, 2019 12:35 pm
by williamconley
dspaan wrote:Indeed, which table would be best to grab the ringing calls from? What is your experience with asterisk crashing? We've never had this problem.

We grab calls and their progress directly from asterisk. Tables can be wrong, but asterisk knows the progress of calls.

Asterisk crashing is vague. Segfault? Stuck script(s)? That's generally a sign that the virtualized CPU is not responding in a fashion that asterisk is happy with, which is unusual, or that you have an unstable module. Turn off all modules you don't need (CDRDB for instance, anything you're not actively using). Asterisk is normally very happy virtualized unless the system is stressed (FreePBX, for instance, runs nicely in a virtual environment without problems).

Re: Install Vicibox in Virtual Server

PostPosted: Wed Feb 13, 2019 3:17 pm
by dspaan
williamconley wrote:Asterisk is normally very happy virtualized unless the system is stressed (FreePBX, for instance, runs nicely in a virtual environment without problems).


Do you know if this has improved with asterisk 13 at all compared to previous versions?

Re: Install Vicibox in Virtual Server

PostPosted: Wed Feb 13, 2019 3:26 pm
by williamconley
unrelated to asterisk. virtualized vicidial is about hi-res perl timing and DB response.

AFAIK latest asterisk is no different than earlier asterisks for virtualization.

Re: Install Vicibox in Virtual Server

PostPosted: Wed Feb 13, 2019 3:41 pm
by dspaan
But then why is FreePBX better then Asterisk when it comes to virtualization?

Re: Install Vicibox in Virtual Server

PostPosted: Wed Feb 13, 2019 3:50 pm
by williamconley
Vicidial and FreePBX both run on asterisk. Vicidial's aversion to virtual is not related to asterisk.

Re: Install Vicibox in Virtual Server

PostPosted: Thu Mar 07, 2019 7:07 am
by cavagnaro
Hi,
Wondering if anyone has a link on how to install from scratch using only Vicidial? Idea is to mount it to a EC2 instance.
Ray's guide seems to be dead link...
Thanks

Re: Install Vicibox in Virtual Server

PostPosted: Fri Mar 08, 2019 2:09 pm
by williamconley
your best bets for this would be one of three options:

* there are ubuntu instructions somewhere in the Vicidial Wiki
* you could use the vicibox-install script as a base to install on OpenSuSE
* Goautodial has a wiki with instructions for installing in CentOS (not always ... as functional as it could be, though, sometimes it's a work in progress)

Re: Install Vicibox in Virtual Server

PostPosted: Tue Mar 19, 2019 11:16 am
by cavagnaro
Hi
* you could use the vicibox-install script as a base to install on OpenSuSE

Do you have a link by chance?

Re: Install Vicibox in Virtual Server

PostPosted: Tue Mar 19, 2019 11:35 am
by williamconley
it's in every .iso installer. boot from one. or just mount the .iso.

Re: Install Vicibox in Virtual Server

PostPosted: Wed Mar 20, 2019 11:54 am
by cavagnaro
Great
Thanks!

Re: Install Vicibox in Virtual Server

PostPosted: Wed Mar 20, 2019 12:52 pm
by cavagnaro
Hi
Where exactly? Can't find such file
D:.
├───EFI
│ └───BOOT
├───LiveOS
└───boot
├───grub2
│ ├───i386-pc
│ ├───themes
│ │ └───openSUSE
│ │ └───old-icons
│ └───x86_64-efi
└───x86_64
└───loader

Re: Install Vicibox in Virtual Server

PostPosted: Wed Mar 20, 2019 4:12 pm
by williamconley
Before the install? Not a freakin' clue. After the install?
Code: Select all
/usr/local/bin/vicibox-install
/usr/src/astguiclient/conf/vicibox-install.pl


But if you just want a copy of that file, here's one

http://poundteam.com/downloads/scripts/ ... ox-install

http://poundteam.com/downloads/scripts/ ... install.pl

Re: Install Vicibox in Virtual Server

PostPosted: Thu Mar 21, 2019 11:16 am
by cavagnaro
Thanks! Will take a look and study it

Re: Install Vicibox in Virtual Server

PostPosted: Sun Apr 26, 2020 5:38 am
by carpenox
howd it turn out cavagnaro?