FDSA Resources

System Commands - Helper

The Federated & Distributed Data Sharing Appliance (FDSA) runs as a system service and is designed to stay online continuously. This page provides common service commands and unattended installation options for system administrators with root access.


Manage the FDSA Service

FDSA runs as a service called `fdsa`. Use the following commands to check its status and control the service:




Action
Command
When to use it

Check status 

`systemctl status fdsa` 

Verify if FDSA is running and review recent logs.

Restart service

`systemctl restart fdsa` 

Apply configuration changes or recover from minor issues.

Stop service 

`systemctl stop fdsa` 

Temporarily shut down FDSA for maintenance.

Start service 

`systemctl start fdsa`  

Bring FDSA online after it has been stopped.


Unattended Installation

If you prefer an unattended installation, first configure your database credentials in the `.env` file, then run the startup script.

1. Set database credentials in `.env`

Fill in the Database Credentials section with your preferred configuration, for example:

PGHOST='fdsa-database.postgres.database.com'
PGDATABASE='fdsa_database'
PGUSER='fdsa_user'
PGPASSWORD='fdsa_pass'


2. Run the startup script

Run one of the following commands based on your database choice:

For an external database:

printf 'yes\nyes\n' | bash ubuntu-startup.sh host.example.com

For a local database:

printf 'yes\nno\n' | bash ubuntu-startup.sh host.example.com