Install CRMSH on CentOS 6 / 7

The CRM Shell for Pacemaker cluster management can be installed by fetching the OpenSUSE ha-clustering repository and installing crmsh via yum. Get the OS version (6 or 7) and use to fetch the correct repository.

cd /etc/yum.repos.d/
OSVERSION=$(cat /etc/centos-release | sed -rn 's/.* ([[:digit:]]).*/\1/p')
wget http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-${OSVERSION}/network:ha-clustering:Stable.repo
yum -y install crmsh

Since it’s rather long, the URL for the Yum repo file is http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-${OSVERSION}/network:ha-clustering:Stable.repo.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *