How To Install cmirror-standalone.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cmirror-standalone.x86_64 in Amazon Linux 2. cmirror-standalone.x86_64 is Additional files to support device-mapper-based clustered mirrors

Introduction

In this tutorial we learn how to install cmirror-standalone.x86_64 on Amazon Linux 2.

What is cmirror-standalone.x86_64

Additional files needed to run daemon for device-mapper-based clustered mirrors in standalone mode as a service without cluster resource manager involvement (e.g. pacemaker).

We can use yum to install cmirror-standalone.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cmirror-standalone.x86_64.

Install cmirror-standalone.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cmirror-standalone.x86_64 using yum by running the following command:

sudo yum -y install cmirror-standalone.x86_64

How To Uninstall cmirror-standalone.x86_64 on Amazon Linux 2

To uninstall only the cmirror-standalone.x86_64 package we can use the following command:

sudo yum remove cmirror-standalone.x86_64

cmirror-standalone.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/lvm2-cmirrord.service

References

Summary

In this tutorial we learn how to install cmirror-standalone.x86_64 on Amazon Linux 2 using yum.