Commit 69e260c0 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Added instruction for connecting to the file_catalog through the psql client.

parent 1164ff31
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ Simple communication test that involes 4 docker containers:
Furthermore, other 2 containers have been added:
- Tape library frontend, a.k.a. Lenovo (container_name: tape_frontend)
- Transfer node (container_name: transfer_node)
- File catalog (container_name: file_catalog)

These last two containers are employed to test transfers using xrootd python bindings (ignore them for now)

@@ -104,6 +105,12 @@ You can access the rabbitmq web interface via browser:
    $ docker network inspect vos-ts_backend_net | grep -i -A 3 rabbitmq
    2) Open your browser and point it to http://IP_ADDRESS:15672 (user: guest, password: guest)

You can access the file catalog from the test_client container:
    1) Access the db via psql client (password: postgres):
    $ psql -h file_catalog -U postgres -d vospace_testdb
    2) You can now perform a query, for example show all the tuples of the Node table:
    vospace_testdb=# SELECT * FROM Node;
    
 To stop the whole environment:
 $ docker-compose down