[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Trying to clone one client to another host, but would like to configure the LVM disc aforehand



On Mon, Mar 22, 2010 at 04:23:59PM +0100, J4 wrote:
> What effect will xm create -f /etc/xen/vm have on existing guests?  Is
> 'xm create -f /etc/xen/vm/app-xen-066' possible?
> 

It'll probably say the guest is already running.

-- Pasi

> Pasi Kärkkäinen wrote:
> > On Mon, Mar 22, 2010 at 04:13:45PM +0100, J4 wrote:
> >> Hi,
> >>
> >>    I copied the config file over from one machine to another along with
> >> the disc image.  The file is now in /etc/xen/vm.
> >>
> >> I noticed that some xen config files have an associated .xml file, but
> >> this one did not.  Should I create an xml file, is the xml file really
> >> needed, or is there a utilty to convert the file into a corresponding
> >> .xml file.
> >>
> >> My question is how to have Xen recognise this configuration and boot it.
> >> The command 'xm list' does not show the new guest.
> >>
> > 
> > xm create -f /etc/xen/vm
> > 
> > -- Pasi
> > 
> >> JK
> >>
> >> Pasi Kärkkäinen wrote:
> >>> On Mon, Mar 22, 2010 at 02:58:55PM +0100, J4 wrote:
> >>>> Hi Pasi,
> >>>>
> >>>>   I am referring to the virtual machines.  I get confused by the Xen
> >>>> terms client and host. I understand Xen server that runs Xen hosts, and
> >>>> this is why my Email might confused people.
> >>>>
> >>>> I have serveral servers that run Xen, and these servers have Xen hosts
> >>>> running.
> >>>>
> >>>> Such as:
> >>>>  Server name: app-044 (runs SLES)
> >>>>     Contains several Xen hosts on it each running SLES:-
> >>>>                          app-xen-101
> >>>>                          app-xen-121
> >>>>                          app-xen-102
> >>>>                          app-xen-104
> >>>>
> >>> Xen host == the physical machine running the hypervisor, the privileged 
> >>> domain ("dom0").
> >>>
> >>> Xen guest == the virtual machine, vm. 
> >>>              Also called as "unprivileged domain", 
> >>>              or domU in Xen talk.
> >>>
> >>>
> >>> host/guest is the usual/common usage.. for example VMware uses the same 
> >>> naming.
> >>>
> >>> So yeah.. what's the problem actually? You just copy the Xen guest 
> >>> cfgfile 
> >>> from /etc/xen/<guest> to the new host, and also transfer the disk image 
> >>> contents
> >>> to the new host.
> >>>
> >>> Then you're ready to start the guest in the new host.
> >>>
> >>> -- Pasi
> >>>
> >>>> I want to clone the host app-xen-102 onto another Server called app-164.
> >>>>  The new xen host would be called app-xen-178.
> >>>>
> >>>> Pasi Kärkkäinen wrote:
> >>>>> On Mon, Mar 22, 2010 at 02:39:31PM +0100, J4 wrote:
> >>>>>>    Dear all,
> >>>>>>
> >>>>>>        I want to install a Xen client on a host. We have several other
> >>>>>>    clients installed.  I have searched on Google, but am unable to 
> >>>>>> find a
> >>>>>>    guide that would help me installing the O/S; these always refer to 
> >>>>>> GUIs
> >>>>>>    which is of no use.  The O/S is SLES 10.
> >>>>> Uhm.. what do you mean with "client" ? Are you talking about XCI (Xen 
> >>>>> Client Initiative),
> >>>>> which is the Xen desktop stuff, or are you referring to guests 
> >>>>> (=virtual machines) ?
> >>>>>
> >>>>> -- Pasi
> >>>>>
> >>>>>>    I want to prepare the disc so that when I boot an O/S it will find 
> >>>>>> the
> >>>>>>    logical volumes already set-up and ready to use. This is because I 
> >>>>>> am
> >>>>>>    trying to clone an existing Xen client currently on another Xen 
> >>>>>> host.
> >>>>>>    However, I cannot even find how to boot the kernel.  I don't want 
> >>>>>> to use a
> >>>>>>    UI, only CLI and manually editing files:- Why? Using a GUI or UI is 
> >>>>>> no use
> >>>>>>    when all I have is a dumb terminal.
> >>>>>>
> >>>>>>    Does anyone know of any URLs that I could refer to?
> >>>>>>
> >>>>>>    Best wishes, J.
> >>> _______________________________________________
> >>> Xen-users mailing list
> >>> Xen-users@xxxxxxxxxxxxxxxxxxx
> >>> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.