16 Updating a Trento Agent #
To update the Trento Agent, follow the procedure below:
Log in to the Trento Agent host.
Stop the Trento Agent:
> sudo systemctl stop trento-agent
Install the new package:
> sudo zypper ref > sudo zypper install trento-agent
Copy the file
/etc/trento/agent.yaml.rpmsave
to/etc/trento/agent.yaml
. Make sure that entriesfacts-service-url
,server-url
, andapi-key
in/etc/trento/agent.yaml
are correct.Start the Trento Agent:
> sudo systemctl start trento-agent
Check the status of the Trento Agent:
sudo systemctl status trento-agent ● trento-agent.service - Trento Agent service Loaded: loaded (/usr/lib/systemd/system/trento-agent.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2021-11-24 17:37:46 UTC; 4s ago Main PID: 22055 (trento) Tasks: 10 CGroup: /system.slice/trento-agent.service ├─22055 /usr/bin/trento agent start --consul-config-dir=/srv/consul/consul.d └─22220 /usr/bin/ruby.ruby2.5 /usr/sbin/SUSEConnect -s [...]
Check the version in the Hosts overview of the Trento Web (URL
http://TRENTO_SERVER_HOSTNAME
).Repeat this procedure in all Trento Agent hosts.