rpm -qa | grep 'virtinst\|libvirt' libvirt-0.8.2-29.el5_9.1 libvirt-python-0.8.2-29.el5_9.1 python-virtinst-0.400.3-13.el5 …
which virt-clone /usr/bin/virt-clone
yum install virtinst libvirt -y
xm list
xm shutdown linux-node1
# virsh -c xen:/// Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # shutdown linux-node1 Domain linux-node1 is being shutdown virsh # quit
lvcreate -n linux-node2 -L 40G vg_fzxen1 lvdsipaly
root@fz-xen1[10:21:25]:~$virt-clone --connect xen:/// --prompt What is the name of the original virtual machine? linux-node1 What is the name for the cloned virtual machine? linux-node2 What would you like to use as the cloned disk (file path) for '/dev/vg_fzxen1/linux-node1'? /dev/vg_fzxen1/linux-node2 … Clone 'linux-node2' created successfully.
virt-clone --original linux-node1 --name linux-node2 --file /dev/vg_fzxen1/linux-node2
xm start linux-node2
xm console linux-node2
ifconfig -a | grep HWaddr eth0 Link encap:Ethernet HWaddr 00:16:3E:0F:07:2A
/etc/init.d/network restart
xm list xm uptime
xm top
xm info
xm log
xm --help | less
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有