Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
W jaki sposób mogę przenieść maszynę wirtualną działającą na XEN (pvm) na KVM?
Guglałem chwilę i nie mogę nigdzie znaleźć żadnego how-to jak to wykonać.
Zwykłe przeniesienie maszyny skutkuje obciążaniem 1 rdzenia hosta na 100% i komunikatem "Booting from Hard Disk..." po stronie gościa
Offline
Przenieś normalnie, później włącz gościa z jakiegoś live-cd, chrootnij się do przeniesionego systemu, popraw fstab'a, przeinstaluj GRUBa, update-grub && update-initramfs -k all -u i musi śmigać :)
Sam tak robiłem kilkukrotnie.
Offline
[quote=man virt-v2v]Virt-v2v converts guests from a foreign hypervisor to run on KVM. It can read Linux and Windows guests running on VMware, Xen, Hyper-V and some other hypervisors, and convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat Virtualisation (RHV) or several other targets.[/quote]
Offline
virt-v2v nie prądzi :D
# virt-v2v -i disk debian-nginx.img -o local -os /var/tmp [ 0,1] Opening the source -i disk debian-nginx.img [ 0,1] Creating an overlay to protect the source from being modified [ 0,8] Initializing the target -o local -os /var/tmp [ 0,8] Opening the overlay [ 63,7] Inspecting the overlay [ 65,5] Checking for sufficient free disk space in the guest [ 65,5] Estimating space required on target for each disk [ 65,5] Converting buster/sid to run on KVM virt-v2v: warning: could not determine a way to update the configuration of Grub2 virt-v2v: error: libguestfs error: otrzymanie pliku zostało anulowane przez usługę If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...]
Zaraz spróbuję ręcznie
Offline
apt --purge remove grub-xen grub-xen-bin apt --reinstall install grub-pc update-initramfs -k all -u && update-grub
do the trick :)
Ostatnio edytowany przez urbinek (2018-02-19 14:39:28)
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00005 | SET NAMES latin2 |
0.00060 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.138.181.90' WHERE u.id=1 |
0.00136 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.138.181.90', 1732454204) |
0.00031 | SELECT * FROM punbb_online WHERE logged<1732453904 |
0.00099 | DELETE FROM punbb_online WHERE ident='18.117.154.134' |
0.00072 | DELETE FROM punbb_online WHERE ident='18.191.62.68' |
0.00059 | DELETE FROM punbb_online WHERE ident='18.224.31.90' |
0.00233 | DELETE FROM punbb_online WHERE ident='3.144.255.116' |
0.00082 | DELETE FROM punbb_online WHERE ident='52.14.100.101' |
0.00045 | SELECT topic_id FROM punbb_posts WHERE id=317805 |
0.00052 | SELECT id FROM punbb_posts WHERE topic_id=30266 ORDER BY posted |
0.00060 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30266 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00045 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30266 ORDER BY p.id LIMIT 0,25 |
0.00080 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30266 |
Total query time: 0.01076 s |