Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-11192 [DOC] PMM Client upgrade documentation for different distribution methods - Packages #1109

Merged
merged 21 commits into from
Jul 9, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion docs/how-to/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,32 @@ If one is available, click the update button to update to the version indicated.

## Updating a PMM-Agent

PMM-Agent can be updated from tarball:
### Package Manager

The easiest way to manage the agent installation and updates is to rely on the operating system package manager. Use the [percona-release](https://docs.percona.com/percona-software-repositories/installing.html) package to handle access to Percona repositories.
igroene marked this conversation as resolved.
Show resolved Hide resolved

The pmm agent is available in the `tools` repository. To deploy a new version of the agent, simply replace the currently installed package.
igroene marked this conversation as resolved.
Show resolved Hide resolved

For example the following commands install the latest version of the agent on Red Hat or derivatives:
igroene marked this conversation as resolved.
Show resolved Hide resolved
```
percona-release enable tools
catalinaadam marked this conversation as resolved.
Show resolved Hide resolved
yum update pmm2-client
```
This keeps the existing agent configuration.
igroene marked this conversation as resolved.
Show resolved Hide resolved

To deploy a specific version, you can check the available versions and then provide the full name of the package, for example:
```
yum --showduplicates search pmm2-client
pmm2-client-2.36.0-6.el7.x86_64 : PMM-agent
pmm2-client-2.37.0-6.el7.x86_64 : PMM-agent
pmm2-client-2.37.1-6.el7.x86_64 : PMM-agent

yum update pmm2-client-2.37.1-6.el7.x86_64
```

### Tarball

PMM-Agent can also be updated from tarball:

1. Download `tar.gz` with `pmm2-client`.
2. Extract it.
Expand Down
Loading