最新消息:

xen 动态迁移

Xen admin 2940浏览 0评论

前提是两台机器共享存储设备,比如 NFS。
/etc/xen/xend-config.sxp 文件需要修改的指令,不解释,直接看上面的注释,注意,两台机器的配置需要一模一样:
(xend-relocation-server yes)
(xend-relocation-port 8002)
(xend-relocation-address ”)
(xend-relocation-hosts-allow ”)

重启:
# /etc/init.d/xend restart

修改 exports 文件:
/data/xen/web_1    192.168.1.0/24(rw,no_root_squash)

启动 nfs:
# /etc/init.d/portmap start
# /etc/init.d/nfs start

注意防火墙,开始迁移:
# xm migrate id 192.168.1.220 -l

ref:

http://www.virtuatopia.com/index.php/Migrating_Xen_domainU_Guests_Between_Host_Systems

 

转载请注明:爱开源 » xen 动态迁移

您必须 登录 才能发表评论!