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 -r requirements.txt
-
Run the command from the source directory:
python3 nlds-admin.py <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-template
to.config
cp config-template .config
-
Edit
.config
and fill inrabbit_server
,rabbit_user
,rabbit_vhost
,rabbit_password
in 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.