starxzj 发表于 2016-1-9 14:14:04

在virtual box虚拟机中安装xen虚拟机(Nested Virtualization, xen inside vbox)

  主机:fedora 16 x86 64 (3.1.0-7.fc16.x86_64)

  第一层虚拟化:在f16上安装virtual box 4.1.14,然后在vbox里安装rhel 5.5 x86_64
  第二层虚拟化:在vbox的rhel 5.5中安装xen虚拟机,然后再在xen里安装rhel 5.5 x86_64
  

  注意事项:

  1)vbox和xen里的rhel 5.5均由kickstart安装,server为另一台vbox 中的 rhel 5.5,要让vbox支持pxe启动需要安装vbox扩展(vbox-extpack)。
  2)装完后xen里面的rhel图形界面显示异常,发现是分辨率过高(比vbox里面的rhel还高)导致,通过ssh -X连入,运行system-config-display改到比vbox rhel小后正常。
  3)f16、vbox rhel、xen rhel在同一网段,但是f16不能ping通xen rhel,而f16可以ping通vbox rhel,vbox rhel可以ping通xen rhel,借助vbox rhel可以让f16连接到xen rhel(vbox使用Host-only网络连接方式,xen选择Shared physical device)。
页: [1]
查看完整版本: 在virtual box虚拟机中安装xen虚拟机(Nested Virtualization, xen inside vbox)