Home Applications CrossECP-Cache

CrossECP-Cache

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
262
Views
0
IPM installs
6
1
Details
Releases
Reviews  (1)
Issues
Articles  (1)
Caché ECP Server in Docker

What's new in this version

move to archive

Migration from Caché to IRIS can be quite a challenge if your code is grown over many years
and probably not so clean structured as you may like it. So you face the need to check your
migrated code against some reference data. A few samples might not be a problem,
but some hundred GB of data for testing might be.  

A possible step could be to have your fresh code in IRIS but leave your huge datastore on Caché
and connect both environments over ECP.  I have created a demo project that gives you the 
opportunity to try this based on 2 Docker images with IRIS and with Caché connected over ECP.

Attention:  

  • Both Docker images require a personal license for MultiServer to enable ECP 
  • The default Community License doesn’t allow ECP and can’t be used for Caché.
    As a customer with a support contract, you may get loan licenses directly from WRC.

Scenario:

Caché acts as ECP Server while IRIS acts as ECP Client.
In IRIS you have a namespace SAMPLES.
Globals are in remote database SAMPLES on Caché
Routines (and Classes) are in database USER
The classes were just migrated by drag/drop from Cashé Studio to Iris Studio
Data-Globals are in remote database SAMPLES on Caché

This setup allows you to have local data in namespace USER
and remote data in namespace SAMPLES and run your test queries or other exercises.

Installation for Caché:

  • Get the external IPV4 address of the machine that runs your docker environment (example =10.10.1.99 )
    This is required to establish access between both containers

  • Download CrossECP-Caché from OEX
    Copy your (loan) license key into cache.key

  • From the download directory run: 
    docker-compose up -d –build    and you are done with Caché.
    It uses -p 41773:1972 for the Caché super server and -p 42773:57772  for the webserver 
    Your actual directory is mapped to /external to allow file exchange with docker environment

  • Next proceed to CrossECP-IRIS from OEX

Note:
Officiial ZPM is not available for Caché. But I did a private port

Article in DC

Made with
Version
0.0.405 Nov, 2023
ObjectScript quality test
Category
Technology Example
Works with
Caché
First published
06 Mar, 2021
Last checked by moderator
27 Jun, 2023Works