NFS HA架构部署(NFS + Pacemaker + Corosync + DRBD)
NFS HA架构部署(NFS + Pacemaker + Corosync + DRBD) 环境:kvm虚拟机2台 OS:CentOS7.6 Kernel: Linux 3.10.0-957.21.3.el7.x86_64 IP地址 主机名 192.9.200.25 centos7v6a 节点一 192.9.200.26 centos7v6b 节点二 两台服务器上都有一个大小相同的硬盘 /dev/vdb 1、安装DRBD (Distributed Replicated Block Device,分布式复制块设备) 从官方下载源码: # curl -O https: //www.linbit.com/downloads/drbd/9.0/drbd-9.0.18-1.tar.gz\\\ # curl -O https: //www.linbit.com/downloads/drbd/utils/drbd-utils-9.10.0.tar.gz 解压,编译,安装 # tar drbd-utils- 9.10.0. tar . gz # cd drbd-utils- 9.10.0 / # yum -y install flex po4a # ./configure --prefix=/opt/drbd-utils --without-83support -