環境
# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
- 最小限インストールした生まれてたての姿。SSH接続できる準備(IPアドレス付与)だけした。
- 作業内で
yum -y update
により以下に変わります。
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
CentOS7.9化まで
# nmcli con mod eth0 connection.autoconnect yes ipv4.method manual ipv4.address "xxx.xxx.xxx.xxx/xx" ipv4.dns 8.8.8.8 ipv4.gateway "xxx.xxx.xxx.xxx"
# systemctl restart network
# yum -y update
# yum -y install vim
Pacemakerインストール
# curl -s https://setup.ius.io/ | sudo sh
# yum -y install pacemaker
crm_mon
も使えるし大丈夫そう
crmコマンドインストール
# wget http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/network:ha-clustering:Stable.repo
# mv network\:ha-clustering\:Stable.repo /etc/yum.repos.d/crmsh.repo
# yum -y install crmsh