Included classes for Phonebook and Company applications.
This repository contains the material required to deploy multiple instances of IRIS and the arbiter in order to configure functionalities as the mirroring or ECP.
You can find more in-depth information in https://learning.intersystems.com.
Build the image we will use during the workshop:
$ git clone https://github.com/intersystems-ib/workshop-multple-instances
$ cd workshop-multiple-instances
$ docker-compose build
Then, open the workshop-multiple-instances
in your VS Code.
In order to deploy docker containers you only need to execute the following command from your terminal/console:
$ docker-compose up -d
After the Docker deployment you’ll find two IRIS instances running with the names mirrorA and mirrorB. An Arbiter will be running too.
By default the deployment of the containers will install two applications (PHONEBOOK and COMPANY) for each IRIS instance. This applications will create three different namespaces (PERSONAL, CUSTOMER and PHONEBOOK) with their respective databases. With these databases you will be able to configure it to work in Mirror.
The applications are accessible from the following routes:
From these applications you will be able to create new records for the databases and check how the mirror works, replicating the mirrored databases from mirrorA to mirrorB. You can refer to IRIS documentation to get more information about mirroring.
This project is not configured with a valid license of InterSystems IRIS, so please, contact with Luis Ángel Pérez if you want to test it or use it for training purposes.