En la actualidad, es corriente encontrar numerosas organizaciones que manejan una ingente cantidad de información crítica en tiempo real pero… ¿y si un día esto no fuese así? El conocimiento y correcto uso de las tecnologías actuales para evitar pérdidas de información y mantener los sistemas servidores disponibles en todo momento resultan fundamentales en algunos negocios y organizaciones a nivel mundial. Construir un sistema escalable que sea tolerante a fallos es uno de los principales objetivos cuando de información crítica se trata. Para que un sistema sea escalable se deben plantear escenarios a pequeña escala, comprobar que sus elementos funcionan siguiendo las pautas esperadas, y añadir nuevos elementos al sistema, que se construirán de manera similar, supervisando que los elementos ya existentes dentro del sistema no vean mermadas sus características al añadir nuevos elementos. Por otro lado, la tolerancia a fallos se puede conseguir con sistemas redundantes y/o con políticas de sustitución o reemplazo. Tener clara la política de reemplazo de elementos en un sistema en casos críticos es fundamental para dar un servicio eficaz y sin fallas, que pueda estar activo en todo momento. Es por esto que el objetivo de este trabajo es comenzar describiendo estas tecnologías y poder desarrollar sus detalles, desde conceptos generales del producto Informix, hasta conceptos más específicos y concretos de sus mecanismos, modos de funcionamiento, parámetros de los archivos de configuración de cada uno de los elementos del sistema, redes y modos de conexión, etc. Por último, se mostrarán casos de uso en los que un sistema experimenta caídas de distintos servidores con el objetivo de demostrar que la información permanece disponible para el usuario en todo momento. Se realizarán pruebas de caída de servidores primarios y secundarios, explicando en cada uno de los escenarios las opciones disponibles para su resolución de conflictos y mostrando cuándo el sistema permitirá peticiones de modificación o consulta debido a su estado. También se detallarán casos de uso de clientes accediendo al sistema mediante conexiones indirectas al mismo, usando gestores de conexiones como pasarela.
ABSTRACT
Nowadays, it is common to find numerous organizations that manage a huge amount of critical information in real-time but… what if one day this were not the case? The knowledge and proper use of current technologies to prevent information loss and maintain server systems available at all times are fundamental in some businesses and organizations worldwide. Building a scalable system that is fault tolerant is one of the main objectives when dealing with critical information. In order for a system to be scalable, small-scale scenarios must be considered, its elements must be tested to ensure that they work as expected, and new elements must be added to the system, which will be built in a similar way, monitoring that the existing elements within the system do not see their characteristics diminished by the addition of new elements. On the other hand, fault tolerance can be achieved with redundant systems and/or with substitution or replacement policies. Having a clear policy for the replacement of elements in a system in critical cases is fundamental to provide an efficient and fault-free service that can be active at all times. This is why the objective of this work is to begin by describing these technologies and to develop their details, from general concepts of the Informix product, to more specific and concrete concepts of its mechanisms, modes of operation, parameters of the configuration files of each of the system elements, networks and connection modes, etc. Finally, use cases will be shown in which a system experiences crashes of different servers in order to demonstrate that information remains available to the user at all times. Primary and secondary server downtime tests will be performed, explaining in each scenario the options available for conflict resolution and showing when the system will allow modification or query requests due to its status. Use cases of clients accessing the system via indirect connections to the system will also be detailed, using connection managers as a gateway.
En la actualidad, es corriente encontrar numerosas organizaciones que manejan una ingente cantidad de información crítica en tiempo real pero… ¿y si un día esto no fuese así? El conocimiento y correcto uso de las tecnologías actuales para evitar pérdidas de información y mantener los sistemas servidores disponibles en todo momento resultan fundamentales en algunos negocios y organizaciones a nivel mundial. Construir un sistema escalable que sea tolerante a fallos es uno de los principales objetivos cuando de información crítica se trata. Para que un sistema sea escalable se deben plantear escenarios a pequeña escala, comprobar que sus elementos funcionan siguiendo las pautas esperadas, y añadir nuevos elementos al sistema, que se construirán de manera similar, supervisando que los elementos ya existentes dentro del sistema no vean mermadas sus características al añadir nuevos elementos. Por otro lado, la tolerancia a fallos se puede conseguir con sistemas redundantes y/o con políticas de sustitución o reemplazo. Tener clara la política de reemplazo de elementos en un sistema en casos críticos es fundamental para dar un servicio eficaz y sin fallas, que pueda estar activo en todo momento. Es por esto que el objetivo de este trabajo es comenzar describiendo estas tecnologías y poder desarrollar sus detalles, desde conceptos generales del producto Informix, hasta conceptos más específicos y concretos de sus mecanismos, modos de funcionamiento, parámetros de los archivos de configuración de cada uno de los elementos del sistema, redes y modos de conexión, etc. Por último, se mostrarán casos de uso en los que un sistema experimenta caídas de distintos servidores con el objetivo de demostrar que la información permanece disponible para el usuario en todo momento. Se realizarán pruebas de caída de servidores primarios y secundarios, explicando en cada uno de los escenarios las opciones disponibles para su resolución de conflictos y mostrando cuándo el sistema permitirá peticiones de modificación o consulta debido a su estado. También se detallarán casos de uso de clientes accediendo al sistema mediante conexiones indirectas al mismo, usando gestores de conexiones como pasarela.
ABSTRACT
Nowadays, it is common to find numerous organizations that manage a huge amount of critical information in real-time but… what if one day this were not the case? The knowledge and proper use of current technologies to prevent information loss and maintain server systems available at all times are fundamental in some businesses and organizations worldwide. Building a scalable system that is fault tolerant is one of the main objectives when dealing with critical information. In order for a system to be scalable, small-scale scenarios must be considered, its elements must be tested to ensure that they work as expected, and new elements must be added to the system, which will be built in a similar way, monitoring that the existing elements within the system do not see their characteristics diminished by the addition of new elements. On the other hand, fault tolerance can be achieved with redundant systems and/or with substitution or replacement policies. Having a clear policy for the replacement of elements in a system in critical cases is fundamental to provide an efficient and fault-free service that can be active at all times. This is why the objective of this work is to begin by describing these technologies and to develop their details, from general concepts of the Informix product, to more specific and concrete concepts of its mechanisms, modes of operation, parameters of the configuration files of each of the system elements, networks and connection modes, etc. Finally, use cases will be shown in which a system experiences crashes of different servers in order to demonstrate that information remains available to the user at all times. Primary and secondary server downtime tests will be performed, explaining in each scenario the options available for conflict resolution and showing when the system will allow modification or query requests due to its status. Use cases of clients accessing the system via indirect connections to the system will also be detailed, using connection managers as a gateway. Read More


