Thesis
Diseño de Servidores Asterisk con Alta Disponibilidad Controlada Bajo una Administración Web Para EDIMCA
Fecha
2014-04Autor
Torres Gurumendi, Alex Manuel
Institución
Resumen
El presente trabajo tiene como objetivo el diseño de una red de alta disponibilidad
para servidores Asterisk controlada bajo una administración web para el beneficio
de la compañía Edimca. Gracias a una investigación realizada se determinó que la
mejor opción para mantener los servidores Asterisk en alta disponibilidad es
Heartbeat, lamentablemente Centos 6.2 que es el sistema operativo seleccionado
para el desarrollo del presente trabajo no es compatible con Heartbeat por los
OCF (Open Cluster Framework). Para cumplir con el objetivo de ofrecer el
servicio de telefonía IP de manera ininterrumpida se implementó dos servidores
virtuales Asterisk que trabajan con RealTime para la configuración de las
extensiones y el dial plan, además se cuenta con la configuración para que los cdr
también se almacene en MySql, lo cual mediante una replicación Master-Master a
nivel de base de datos permite tener replicado y sincronizado las configuraciones
y registros de llamadas entre los servidores del cluster. Como último paso para
poder simular una Cluster máster y máster para el servicio de Asterisk, se
configuro una IPV (IP Virtual) por medio de las herramientas Pacemaker y
Corosync, lo cual permite que si uno de los servidores deja de funcionar la IP
virtual pasará al servidor que se encuentre funcionado y dicho equipo será el que
proporcionará el servicio de telefonía. Para el desarrollo de la aplicación web para
administrar Asterisk se usó el lenguaje de programación Java, complementado el
desarrollo con las herramientas eclipse, jboss, logback, primefaces e hibernate. The main objective of this work is the design of a high availability network for
Asterisk servers; controlled under a web administration for the Edimca company's
benefit. Thanks to a performed research, it was determined that the best option for
Asterisk servers to still in a high availability, is Heartbeat. Unfortunately, Centos
6.2 which is the chosen operative system for the development of this work, isn't
compatible with Heartbeat because of OCF (Open Cluster Framework). In order
to accomplish the objective of offering IP telephony service in an uninterrupted
manner, two virtual servers Asterisk were implemented which work with
RealTime for the configuration of extensions and dial plan. Besides, it counts with
the configuration in order to allow CDR get stored in MySql, which through a
Master- Master at the level of database, allows to have replicated and
synchronized configurations and registers of callings between the Cluster servers.
As a final step, in order to simulate a master and master Cluster, for the Asterisk
service, a IPV (IP Virtual) was configured through Pacemaker and Corosync
tools; it allows that if one of the servers stops functioning, the virtual IP will go
through the one which still function, and that kit will be the one which provides
the telephony service. For the development of the web application to administrate
Asterisk, it was used the Java programation language; also was complemented the
development with tools like: eclipse, jboss, logback, primefaces and hibérnate.