Administration tools for Near-Line Data Store (NLDS). Instructions are for the development version - subject to change.
-
Create a virtual environment for Python3:
python3 -m venv ~/nlds-admin-venv -
Activate the environment:
source ~/nlds-admin-venv/bin/activate -
Install the requirements:
pip install ./ -
Run the command from the source directory:
nlds-admin <command> <options>
nlds-admin requires a config file, called .config in the same source directory as the nlds-admin.py file. There is a template for this file in the source directory called config-template. To create a valid .config file, carry out these steps:
-
Copy the
config-templateto.configcp config-template .config -
Edit
.configand fill inrabbit_server,rabbit_user,rabbit_vhost,rabbit_passwordin the following sections:"server": {{ rabbit_server }}, "user":"{{ rabbit_user }}", "vhost":"{{ rabbit_vhost }}", "password":"{{ rabbit_password }}" -
Only JASMIN administrators have this information, as this tool is designed to be used only by JASMIN admins. Ask Neil, Danny or Chami for this information.