Skip to content

rcemper/Beyond-Server-Limits

Repository files navigation

Quality Gate Status

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

git https://github.com/rcemper/Beyond-Server-Limits.git   

Run the IRIS container with your project:

docker-compose up -d --build   

How to Test it

  • There is a version in C++ precompiled for docker in subdirectory /cpp/ rccslave(.cpp)
    it is foreseen if special privigeges (?root?) are required
  • The Python variant is not context sensitive and works in Windows and Linux

First start the Listener

$>python3 <download_dir>/py/rccslave.py  

Next

docker-compose exec iris iris session iris  

or use WebTerminal

From Command Prompt

USER>Do go^rcc.master(<slave-ip-adr>)
start Remote Command Master
server = 192.168.0.9 port = 6666
Enter command [.=exit master, *** = stop slave & exit master]
??> :whoami
??> :

and on the Slave end you see
the command that is executed

<download-dir>python3 py\rccslave.py  
==> whoami && exit
cemper9\cemper

Remember:

the command you submit is executed in a subprocess
It is a single shot and you have to providea all required parameters
my personal prefence on Windows:

??> :Start https://community.intersystems.com

Special hint for testing cpp slave in Windows

In Windows you can change into your WSL environmemt.
it is the same as Docker is running in.
But check your local IP-Address inside WSL using ifconig
It is different from the Windows environment !

Article in Spanish
Article in DC-EN

About

Run OS independent OS commands from IRIS / Caché

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published