虚拟机的热迁移
1、NFS共享存储
服务端配置
[root@xx~]# yum install nfs-utils rpcbind -y
#安装软件包
[root@xx~]# mkdir /vm
#创建一个目录
[root@xx~]# vim /etc/exports
/vm 192.168.16.0/24(rw,sync,all_squash,anonuid=0,anongid=0)
#修改配置文件
[root@xx ~]# systemctl restart rpcbind
[root@xx ~]# systemctl restart nfs
#启动两个服务
[root@xx ~]# systemctl enable rpcbind
[root@xx ~]# systemctl enable nfs
#设置开机自启动