[CentOS-virt] how to enable auto-start on newer versions of Xen ?

Wed Aug 24 03:27:32 UTC 2016
Craig Thompson <president at caldwellglobal.com>

Thank you, Sarah.  That was the missing piece.


Craig Thompson, President

Caldwell Global Communications, Inc.

-----Original message-----
From: Sarah Newman <srn at prgmr.com>
Sent: Tuesday 23rd August 2016 17:14
To: Discussion about the virtualization on CentOS <centos-virt at centos.org>
Subject: Re: [CentOS-virt] how to enable auto-start on newer versions of Xen ?

On 08/23/2016 01:10 PM, Sarah Newman wrote:
> On 08/23/2016 12:59 PM, Craig Thompson wrote:
>> I was thinking that in iterations past, it was possible just to run the hypervisor, put a symlink in /etc/xen/auto, and VMs would be auto-started upon reboot.  Maybe I'm wrong, and maybe those older boxes had libvirt installed on them, too.
> We haven't had issues on xen 4.6. We don't use libvirt.
> Are you sure xendomains is enabled? Maybe in the past it was enabled by default but isn't now.
> If it is enabled, have you tried running the xendomains init script manually with bash -x to see where it's going wrong? You need to add 'set -x' to
> /usr/lib64/xen/bin/xendomains as well for full output.

Sorry, I missed the CentOS 7 bit.

Looking at https://github.com/CentOS-virt7/xen/blob/xen-46/SPECS/xen.spec#L613 it looks like xendomains is not enabled by default. It looks like that
happened in https://github.com/CentOS-virt7/xen/commit/01a31207ef50ec8c664fa0807ac85075dca3aa53. No clue as to why.


CentOS-virt mailing list
CentOS-virt at centos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20160823/83af7e09/attachment-0006.html>