---
title: "Upgrade and Migration Guide"
description: "Upgrade and migration processes for OP5 Monitor require setting up new servers for major version changes. Detailed steps guide migrating from versions 7.5.x and 8.x on EL6 or EL7 to version 9.x on EL8."
url: "https://docs.itrsgroup.com/docs/faq/op5/11421236392349-op5-monitor-upgrade-and-migration-guide/index.html"
---
## Support Notices

- Support is available for OP5 Monitor versions 9.x and 8.4.x.
- Support for all versions of OP5 Monitor running on EL6 ended on 30 November 2020.
- Support for OP5 Monitor 7.5.x ended on 13 October 2021.
- End of availability for OP5 Monitor 8.x binaries will be on September 2023.
- Support for OP5 Monitor 8.4.x is set to end on April 2024.

Refer to the [OP5 9.x Compatibility Matrix](https://docs.itrsgroup.com/docs/all/op5-monitor/compat-matrix/index.html) for more information.

### Introduction

This guide goes over how to migrate an OP5 Monitor 7.5.x environment to a 9.x environment. Note that since there is no in-place upgrade for OP5 Monitor 8.x to 9.x, there is a need to set up a separate EL8 server for OP5 Monitor 9.x prior to running a migration backup.

If you are running OP5 Monitor 7.5.12 and below, proceed to [Upgrading 7.5.x to 7.5.13 on EL6](#upgrading-75x-to-7513-on-el6) for instructions to upgrade.

If you are running OP5 Monitor 8.3.7 and below on EL7, proceed directly to [Upgrading to 8.x on EL7](#upgrading-to-8x-on-el7) for instructions to upgrade.

If you are running OP5 Monitor 8.3.8 and above, proceed directly to [Migrating 8.x on EL7 to 9.x on EL8](#migrating-8x-on-el7-to-9x-on-el8) for instructions to migrate.

### Upgrading 7.5.x to 7.5.13 on EL6

Verify your OP5 Monitor and OS version by running:

```
cat /etc/*release*
```

Output similar to below should be seen. **VERSION** indicates the OP5 Monitor version.

```
[root@op5-el6 yum.repos.d]# cat /etc/*release*
CentOS release 6.10 (Final)
VERSION=7.5.13
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
cpe:/o:centos:linux:6:GA
```

Check that OP5 repositories are valid. Refer to [changes in ITRS OP5 Monitor repositories](https://docs.itrsgroup.com/docs/faq/op5/360002468178-op5-monitor-upgrade-how-to-fix-404-errors-when-updating-op5-monitor-using-yum-changes-in-itrs-op5-monitor-repositories/index.html).

Check that CentOS 6 repositories are still reachable. An alternate repository can be used if no local mirror is available. As an example, see: [How to fix yum after CentOS 6 went EOL](https://www.getpagespeed.com/server-setup/how-to-fix-yum-after-centos-6-went-eol).

*Note that the previous article refers to a repository that ITRS does not host, please run any necessary security checks to ensure system compatibility and integrity.*

Disable any op5-epel repositories, as these are no longer maintained. There is no real reason to use this anymore, as most of the epel packages are managed and maintained through the official epel repository.

To install epel-release if it has not been installed yet, run:

```
yum install epel-release
```

To run the update, run:

```
yum clean all && yum update
```

To verify that 7.5.13 has been installed, run:

```
cat /etc/op5-monitor-release
```

It should show:

```
VERSION=7.5.13
```

Proceed to the next section to migrate to EL7.

### Migrating 7.5.x on EL6 to EL7

Ensure that a new EL7 server has already been set up. Install OP5 Monitor version 7.5.13 on the new EL7 server.

#### On the EL6 server

Run the migration backup process:

```
mon stop
op5-backup -g
```

By default, it will create a migration backup file in the **/root** directory with the following naming convention: **migration\_backup.HOSTNAME.yyyy-mm-dd.backup**.

Verify that there were no errors logged by the backup process by running this command:

```
grep -i error /var/log/op5-backup/*
```

If there are no errors, transfer the migration backup from the EL6 server to the EL7 server. This can be done through various methods (WinSCP, FileZilla, etc).

#### On the EL7 server

Ensure that the version of OP5 Monitor on the EL7 server is the same as the version of OP5 Monitor on the EL6 server where the backup was taken. You will encounter errors restoring the backup if the versions differ.

Verify that the migration backup is valid by running:

```
tar tvf migration_backup.HOSTNAME.yyyy-mm-dd.backup
```

Then restore the migration backup by running:

```
op5-restore -b migration_backup.HOSTNAME.yyyy-mm-dd.backup
```

Verify there were no errors in the restore log by running:

```
grep -i error /var/log/op5-backup/*
```

If there were no errors reported, reboot the server.

Proceed to the next section to upgrade the OP5 Monitor version to version 8.x.

### Upgrading to 8.x on EL7

Refer to the section "Upgrade from OP5 Monitor 7 to OP5 Monitor 8" in [the documentation](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/upgrade.html#Upgrade_from_OP5_Monitor_7_to_OP5_Monitor_8).

To update to OP5 Monitor 8 from any previous version of OP5 Monitor 7, run the following commands:

```
yum clean all
yum update
yum install op5-release-up-7-to-8
yum --enablerepo='*7-to-8*' update
```

For more information, see the [8.4.x upgrade documentation.](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/upgrade.html)

### Migrating 8.x on EL7 to 9.x on EL8

There is no in-place upgrade from Monitor 8.x to Monitor 9.x as Monitor 9.x is designed to run on EL8 operating systems.

Ensure that a new EL8 server has already been set up and that version 9.x of OP5 Monitor has already been installed.

#### On the EL7 server

Running a migration from version 8.x to 9.x requires at least OP5 Monitor version 8.3.8.

Verify the version of OP5 Monitor by running:

```
cat /etc/op5-monitor-release
```

It should show:

```
VERSION=8.4.3
```

If the version is 8.3.7 and below, follow the section "Upgrade from one minor version to another" in [the documentation](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/upgrade.html#Upgrade_from_one_minor_version_to_another) to upgrade to a newer version. If the versions is 8.3.8 and above, continue on with the steps.

Run the pre-migration tasks. More details can be found [in the documentation](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/upgrade.html#Check_compatibility).

After running op5-check-migration and confirming there are no errors, proceed with the migration process.

#### On the EL8 server

Verify that the migration backup is valid by running:

```
tar tvf migration_backup.HOSTNAME.yyyy-mm-dd.backup
```

Then restore the migration backup by running:

```
op5-restore -b migration_backup.HOSTNAME.yyyy-mm-dd.backup
```

Verify there were no errors in the restore log by running:

```
grep -i error /var/log/op5-backup/*
```

If there were no errors reported, reboot the server.

At this point, you should be on OP5 Monitor version 9.x.

![11423082919453 firefox MtMAbGmwqi](https://docscdn.itrsgroup.com/faq/images/op5/11421236392349-11423082919453-firefox_MtMAbGmwqi.png)

#### Further reading

- [OP5 version 9 installation documentation](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/install-monitor.html#Install_OP5_Monitor)
- [OP5 version 9 migration documentation](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/install/upgrade.html#Upgrade)
- [How to migrate from EL6 to EL7 (CentOS6 to CentOS7)](https://docs.itrsgroup.com/docs/faq/op5/360020252613-op5-monitor-how-to-update-to-a-later-version/index.html)
- [OP5 Monitor - How to update to a later version](https://docs.itrsgroup.com/docs/faq/op5/4408830090769-op5-monitor-how-to-migrate-from-el6-to-el7-centos6-to-centos7/index.html)
- [OP5 Monitor 8.x Release Notes](https://docs.itrsgroup.com/docs/all/op5-monitor/release-notes-8-x/index.html)
- [OP5 Monitor 9.x Release Notes](https://docs.itrsgroup.com/docs/all/op5-monitor/release-notes/index.html)
- [OP5 9.x Compatibility Matrix](https://docs.itrsgroup.com/docs/all/op5-monitor/compat-matrix/index.html)
- [Cannot find "op5-extra-tools-check-migration"](https://docs.itrsgroup.com/docs/faq/op5/13532297676829-op5-monitor-when-trying-to-migrate-to-9-x-cannot-find-op5-extra-tools-check-migration-op5/index.html)


