Я пытаюсь сегментировать свою систему на несколько виртуальных машин, но не могу заставить это работать. Я думаю, что я близок, но не совсем. Я установил xen, virsh, xl и т.д., и я использую virsh, чтобы попытаться создать новую виртуальную машину.
virt-install --virt-type xen --name centos6 --ram 2048 --vcpus=4 -f /dev/vg0/centosvirtfs --location http://mirror.internode.on.net/pub/centos/6.5/os/x86_64/ --os-type linux --accelerate --nographics --network=bridge:br0
Как видите, я пытаюсь создать новый контейнер под названием centos6 с 2048 МБ ОЗУ и 4 виртуальными ЦП. Он начинает загрузку необходимых ресурсов из директивы местоположения, но затем в момент создания домена я получаю следующую ошибку:
[root@server install]# virt-install --virt-type xen --name centos6 --ram 2048 --vcpus=4 -f /dev/vg0/centos6 --location http://mirror.internode.on.net/pub/centos/6.5/os/x86_64/ --os-type linux --accelerate --nographics --network=bridge:br0
Starting install...
Retrieving file .treeinfo... | 728 B 00:00 ...
Retrieving file vmlinuz... | 7.9 MB 00:11 ...
Retrieving file initrd.img... | 64 MB 00:06 ...
Creating domain... | 0 B 00:00
Connected to domain centos6
Escape character is ^]
error: this function is not supported by the connection driver: virDomainOpenConsole
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
[root@server install]# virsh console centos6
Connected to domain centos6
Escape character is ^]
error: this function is not supported by the connection driver: virDomainOpenConsole
Итак, как вы можете видеть, он почти создает контейнер, и когда я пытаюсь включить его в консоль, я получаю ошибку virDomainOpenConsole. Любые идеи?
Крис.