Skip to content

Edge service to interface external RCT applications and tools to HPC resources.

License

Notifications You must be signed in to change notification settings

radical-cybertools/radical.edge

Repository files navigation

Package radical.edge

Create a certificate:

Run this on the bridge machine which holds the original self-signed cert which is allows remote access (only use this for development!):

openssl req -x509 -nodes -days 3650 -newkey rsa:4096 \
-keyout bridge_key.pem -out bridge_cert.pem \
-subj "/CN=95.217.193.116" \
-addext "subjectAltName = IP:95.217.193.116,DNS:localhost,IP:127.0.0.1"

Add every address clients will use, for example:

...
-addext "subjectAltName = \
IP:95.217.193.116,\
IP:10.0.0.5,\
IP:127.0.0.1,\
DNS:edge.example.org,\
DNS:localhost"

Before running any of the commands below, set correct values for

export RADICAL_BRIDGE_URL='https://localhost:8000/'
export RADICAL_BRIDGE_CERT="`pwd`/bridge_cert.pem"
export RADICAL_BRIDGE_KEY="`pwd`/bridge_key.pem"

Test in local environment:

Terminal 1 - run the bridge service which bridges between client and HPC and use the used url as RADICAL_BRIDGE_URL

./bin/radical-edge-bridge.py

Terminal 2 - run the edge service on the HPC resource

./bin/radical-edge-service.py

Terminal 3 - run a test client:

./examples/example_sysinfo.py

About

Edge service to interface external RCT applications and tools to HPC resources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages