This article pertains to the Linux, Windows, Docker, and Kubernetes agents.
How do I downgrade the Scalyr Agent?
1. Stop the agent
scalyr-agent-2 stop
2. Identify your system and modify the version number in the URL/Tag and download
i.e. /scalyr-agent-2-2.1.14-1.noarch.rpm
- For systems that use yum (except CentOS 5 or RHEL5), download the RPM from:
https://www.scalyr.com/scalyr-repo/stable/latest/scalyr-agent-2-2.1.14-1.noarch.rpm - For systems that use apt-get, download the Debian package from:
https://www.scalyr.com/scalyr-repo/stable/latest/scalyr-agent-2_2.1.14_all.deb - For older distributions such as CentOS 5 or Redhat Enteprise Linux 5, download this RPM:
https://www.scalyr.com/scalyr-repo/stable/latest/scalyr-agent-2-2.1.14-1.alt.noarch.rpm - For systems that do not use yum or apt-get, you may download a tarball from here:
https://www.scalyr.com/scalyr-repo/stable/latest/scalyr-agent-2.1.14.tar.gz - For Windows system, you can download an installer from
https://www.scalyr.com/scalyr-repo/stable/latest/ScalyrAgentInstaller-2.1.14.msi - For Kubernetes systems
https://raw.githubusercontent.com/scalyr/scalyr-agent-2/v2.1.14/k8s/no-kustomize/scalyr-agent-2.yaml - For Docker systems using the JSON File logging driver
docker pull scalyr/scalyr-agent-docker-json:2.1.14 - For Docker systems using the syslog logging driver
docker pull scalyr/scalyr-agent-docker-syslog:2.1.14
3. Copy your agent.json, agent.d directory, and checkpoint files to be safe (Linux/Windows)
Checkpoints
/var/lib/scalyr-agent-2/*checkpoints.json
C:\Program Files (x86)\Scalyr\data\*checkpoints.json
Config
/etc/scalyr-agent-2/**
C:\Program Files (x86)\scalyr\config\**
4. Uninstall
5. Reinstall install according to the respective documentation
Linux, Windows, Docker (Json/Syslog), Kubernetes
6. Replace the config and checkpoint (if they were not retained in the downgrade)
Comments
0 comments
Please sign in to leave a comment.