/hpcidmtxn

idm transaction tool

Primary LanguageGo

hpcidmtxn

The HPC IDM Transaction tool is a temporary piece of software to facilitate attribute migrations. The server should run on a system that authenticates against the target IDM solution, while the client should run on a system that authenticates against the current IDM solution.

TODO:

  • Actual error handling on the server instead of dying

  • Implement the chown func on the client

Installation

Building both client and server:

make
sudo make install

Building only the client:

make client
sudo make install_client

Building only the server:

make server
sudo make install_server

Running the server with Systemd

In the systemd directory, copy the hpcidmtxn.service file to /etc/systemd/system/hpcidmtxn.service. Ensure that you have a local user named hpcidmtxn, or use another user if you modify the service file.

To get it started:

systemctl daemon-reload
systemctl start hpcidmtxn

To make it run on boot:

systemctl enable hpcidmtxn

NGINX Reverse Proxy

If you want to use NGINX to serve this tool, there's a simple proxy config in the nginx directory. Change HOSTNAME to the server name of your choosing, and store at /etc/nginx/conf.d/proxy.conf. Remove any of the default server configuration if you're keeping the / location.