Install Determined Using Debian Packages¶
For systems running Ubuntu 16.04 or 18.04, we support installing the Determined master and agent using Debian packages and running them as systemd services rather than Docker containers.
For PostgreSQL, you should use either your Linux distribution’s package and service or a Docker container.
Preliminary Setup¶
Master and Agent¶
Download the appropriate package file, which will have the name
determined-master_VERSION_linux_amd64.deb
(withVERSION
replaced by an actual version, such as 0.12.4).Run
sudo apt-get install <path to downloaded file>
Before running the Determined agent, you will have to install Docker on each agent machine and, if the machine has GPUs, ensure that the Nvidia Container Toolkit is working as expected.
Apart from that, the agent follows the same process as the master, except that “master” should be replaced by “agent” everywhere it appears.
Configuring and Starting the Cluster¶
Ensure that an instance of PostgreSQL is running and accessible from the machine or machines where the master will be run.
Edit the YAML configuration files at
/etc/determined/master.yaml
(for the master) and/etc/determined/agent.yaml
(for each agent) as appropriate for your setup.Start the master.
sudo systemctl start determined-master
The master can also be run directly with the command
determined-master
, which may be helpful for experimenting with Determined (e.g., testing different configuration options quickly before writing them to the configuration file).Start the agent on each agent machine.
sudo systemctl start determined-agent
Similarly, the agent can be run with the command
determined-agent
.
Managing the Cluster¶
To configure a service to start running automatically when its machine
boots up, run sudo systemctl enable <service>
, where the service is
determined-master
or determined-agent
. (You can
also use sudo systemctl enable --now <service>
to enable and
immediately start a service in one command.)
To view the logging output of a service, run journalctl -u
<service>
.
To manually stop a service, run sudo systemctl stop <service>
.