WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Trying to clone one client to another host, but would li

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Trying to clone one client to another host, but would like to configure the LVM disc aforehand
From: J4 <junk4@xxxxxxxxxxxx>
Date: Tue, 23 Mar 2010 12:21:16 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Mar 2010 10:08:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100322154253.GM1878@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BA77313.3030501@xxxxxxxxxxxx> <20100322135029.GH1878@xxxxxxxxxxx> <4BA7779F.6030409@xxxxxxxxxxxx> <20100322140613.GI1878@xxxxxxxxxxx> <4BA78929.8090209@xxxxxxxxxxxx> <20100322151920.GK1878@xxxxxxxxxxx> <4BA78B8F.6090309@xxxxxxxxxxxx> <20100322154253.GM1878@xxxxxxxxxxx>
Reply-to: junk4@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (X11/20100317)
Dear Pasi,
        xm create -f  /etc/xen/vm/app-xen-066 worked a treat.

Many thanks.

J

Pasi Kärkkäinen wrote:
> 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

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