Update Releem Agent
To update Releem Agent, select your installation type and follow the step below:
- Linux
- AWS
- Docker
- Windows
Releem Agent updates automatically.
To update Releem Agent manually please run the following command:
/opt/releem/mysqlconfigurer.sh -u
To update Releem Agent, please follow the step below:
- Go to the Releem Agent CloudFormation stack and click the Update button.
- Choose Use current template, click Next
- Edit Image field with the current agent version number. You can find the latest version of Releem Agent in the Update Notification message in the Dashboard or by clicking on the link (For example: releem/releem-agent:1.5.0.3)
- Then click Next.
- Click Next.
- Finally, click Update stack to finish the update.
We automated update of Releem Agent installed in Docker container.
To setup automated Releem Agent update please follow the steps below:
-
Download script for update
mkdir -p /opt/releem
curl -s -L -o /opt/releem/update_releem_docker.sh https://releem.s3.amazonaws.com/v2/update_releem_docker.sh
chmod +x /opt/releem/update_releem_docker.sh -
Set the container name (by default the name of container is "releem-agent") and run the command below for test
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bash /opt/releem/update_releem_docker.sh <container_name>
-
Set container name and execute the following command to add script to cron for every Releem Agent container
( crontab -l 2>/dev/null | grep -v "/opt/releem/update_releem_docker.sh" || true; echo "0 0 * * * PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bash /opt/releem/update_releem_docker.sh <container_name> >> /tmp/update_releem_docker.log 2>&1") | crontab -
- Stop Releem Agent service.
- Download the Releem Agent file to the folder
C:\Program Files\ReleemAgent
- Start Releem Agent service.