Sunday, May 29, 2016

Open ports of Centos 7 in a Virtual Machine over VirtualBox

Recently I have to configure my virtual machine to get some ports exposed in the network using a virtual box for publish, there are only two steps that resolve my problem:

Step 1:  Add port to firewall configuration
1.1. Execute: $ sudo firewall-config
1.2. Add the tcp ports required on ports tab

Step 2: If you have a configuration with NAT network you have to execute the next command according to your machine:
$ VBoxManage modifyvm "dev_centos" --natpf1 "tomcat,tcp,127.0.0.1,<port>,10.0.2.15,<port>"

Best Regards,

Sunday, May 22, 2016

The design of a Event-Driven Architecture on Sedgewick Algorithms Book


Hace algunos años atras un equipo en el Servicio de Administración Tributaria diseñamos una aplicacion llamada Planificador de procesos que despues intento ser una Rejilla de planificación, dicha aplicación maneja procesamiento de 10 declaraciones por segundo (procesamiento en lotes), sus ultimas versiones tendian a manejar una arquitectura basada en eventos en lo cuál dentro de su interfaz manejaba terminos como configuración de particula ya que intentaba idealizar el concepto de particulas en tareas de planificación en base de control por el tiempo, hace poco encontré en el libro de algoritmos de Sedgewick el diseño de como elaborar una arquitectura mas funcional y responsable pero guardando el mismo concepto de una aplicación de 'Planificación de procesos':

1. Las particulas tambien son parte del diseño:
A photo posted by Octavio Sanchez Huerta (@osanchezha) on
2. Rejilla de planificación en versiones posteriores de la aplicación
A photo posted by Octavio Sanchez Huerta (@osanchezh) on
3.La siguiente evolución un hermoso diamante:
A photo posted by Octavio Sanchez Huerta (@osanchezh) on
Best regards,

Useful MQSC scripts for IBM Message Queue (Part I)

I have been caught by the time, after some years ago, my knowledge of configuration of IBM Message Queue is not being in practice because spending 2 hours trying to configure Channel Security the remembrance of how doing it stuck me.

I have decided to conserve some memories of script of configuration and this is the first part.

1. Backup and recovery script:

2. Remove security to the channel

Important Links:

Best regards,