Re: [CentOS] How to upgrade CentOS 6.9 KVM host to 7.4.1708 and not re-install guests

2018-01-21 Thread Fabian Arrotin
On 21/01/18 05:24, Paul R. Ganci wrote:
> I have a Windows 7 KVM guest running on a Centos 6.9 KVM host. I would
> like to upgrade the host system to CentOS 7.4.1708 without having to
> re-install from scratch the KVM guest. What procedure should I use to
> move the guest off the host system, upgrade the CentOS version and then
> move the KVM Guest back to the host? For example, Is there a recommended
> way to move the KVM Guest to a USB stick and then move it back to the
> upgraded host? Thank you for your help.
> 

Not enough details but yeah, that's doable with some easy steps (but
then also depends on what you have availble, etc ..)
- shutdown guests
- save all the .qcow2 files (assuming that you don't use raw devices for
backend disks, like for example lvm) from /var/lib/libvirt/images
(default location, but again, it depends on your config)
- export the .xml files used by libvirt to start the nodes
- reinstall the node (there is no way to upgrade from 6 to 7, and fresh
install is always better anyway)
- reconfigure new node with same network bridge (if any, depends on your
situation) and ensure libvirt, qemu-kvm (and deps) are installed/started
- import back .qcow2 files (in /var/lib/libvirt/images)
- "virsh define" against .xml files to configure the VMs on the nodes
- start the VMs

-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] best centos server setup for graphics intensive kvm vms?

2018-01-21 Thread Morgan Read
Hallo list

I've been running fedora for donks as my production laptop os, but now
I want to set up one of those old laptops to run as a home server
running a number of home type vm appliances.  I don't want to risk
having to tear down and rebuild the setup every 6 months to a year -
so, figure centos is my best canditate to run as a stable server.

The sort of home type vms I envisage running include:
LibreELEC https://libreelec.tv/
Vortexbox https://wiki.vortexbox.org/available_images
ownCloud https://owncloud.org/download/#owncloud-server-appliance
freeSwitch https://freeswitch.org/pages/vm.html
Etc...

Without wanting to start a very competative discussion - what would be
a suggested minimal centos 7 install to provide such a server?

My main area of confusion is whether I need a gui on the server for kodi?

Many thanks for any answers to this wildly open ended question!

M
-- 
Morgan Read
E mst...@read.org.nz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos