当前位置:网站首页>KVM hot migration
KVM hot migration
2022-07-28 06:50:00 【[dissimilarity space]】
KVM Heat transfer
Introduce :KVM The premise of hot migration is to have shared storage , The following is adopted NFS Realization KVM Heat transfer .
The migration process : Put a running KVM Virtual machine slave node kvm-01 Migrate to kvm-02 Then continue to run .
Get ready
The host machine is ready
| hostname | IP Address | System | To configure |
|---|---|---|---|
| kvm-01 | 192.168.72.131 | CentOS7.5.1804 | MEM:2G CPU:2C/2P DISK:15G |
| kvm-02 | 192.168.72.132 | CentOS7.5.1804 | MEM:2G CPU:2C/2P DISK:15G |
| nfs01 | 192.168.72.133 | CentOS7.5.1804 | MEM:1G CPU:1C/1P DISK:15G |
- Configure domain name resolution
- Configure alicloud CentOS-Base Source
- nfs The nodes are configured NFS service , And mount kvm-01 and kvm-02 Node /data Catalog
- kvm-01、kvm-02 Node installation kvm Software
- kvm-01、kvm-02 Configure bridge network
KVM Get ready
kvm-01 Node to create a bridge type VM
virt-install --virt-type kvm --os-type=linux --os-variant rhel7 --name centos \
--memory 512,maxmemory=2048 --vcpus 1,maxvcpus=5 --disk /data/centos.qcow2 \
--boot hd --network bridge=br0 --graphics vnc,listen=0.0.0.0 --noautoconsole
Start installation ......
Domain creation complete .
[[email protected] ~]# virsh list --all
Id name state
----------------------------------------------------
1 centos running

Heat transfer
take kvm-01 nodes vm Heat migrates to kvm-02 node
virsh migrate --live --verbose centos qemu+ssh://192.168.72.132/system --unsafe
virsh list --all
Id name state
----------------------------------------------------
- centos close

Switch to kvm-02 node , Check whether the hot migration is successful
virsh list --all
Id name state
----------------------------------------------------
1 centos running

explain :
have access to ping Command test is in the process of migration , Packet loss .
边栏推荐
猜你喜欢

SSAO by computer shader (II)

Mysql-8.0.17-winx64 (additional Navicat) manual configuration version installation

技术分享 | 如何模拟真实使用场景?mock 技术来帮你

prometheus监控nacos

Which is the best one to make air conduction headphones? Inventory of the best air conduction headphones
![[pta-- use queues to solve the problem of monkeys choosing kings]](/img/54/94359fb3557ac07f7786ecf61a5409.png)
[pta-- use queues to solve the problem of monkeys choosing kings]

Water bottle effect production

Analysis of the semaphore source code of AQS

技术分享 | 接口测试价值与体系

mongo ssl 配置实战
随机推荐
代码整洁之道(二)
NiO example
项目编译NoSuch***Error问题
What kind of air conduction Bluetooth headset with good configuration is recommended
[dynamic planning -- the best period series for buying and selling stocks]
How about air conduction Bluetooth headset? It's the most worthwhile air conduction headset to start with
网络——数据链路层
网络通信及TCP/IP协议
Scratch command
iptables防火墙
archery数据库审核平台部署
What is the good brand of air conduction Bluetooth headset and the best brand recommendation of air conduction headset
mysql-8.0.17-winx64(附加navicat)手动配置版安装
[realize the simple version of minesweeping games]
Initializingbean interface and examples
网络——网络层
RayMarching realizes volume light rendering
Optimization ideas from ordinary query commodities to highly concurrent query commodities
Redis implementation of distributed lock and analysis of the main process of redismission distributed lock
AQS之ReentrantLock源码解析