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

[Xen-users] Pipe vm-export to vm-import is there a solution?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Pipe vm-export to vm-import is there a solution?
From: Eamon Doran <edoran@xxxxxxxxxxx>
Date: Mon, 07 Mar 2011 08:54:47 -0500
Delivery-date: Mon, 07 Mar 2011 05:56:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11
Hi,

I'm currently runing two citrix xen server 4.0.1. I read that it was possible to export to standard out and import from standard in.

This was the solution provided on the forums

# xe vm-export vm=test.vm filename= | ssh xen2 "xe vm-import filename=/dev/stdin"

it returns immediately with

Operation failed. Error: No such file or directory: open, .

and then prompts for the ssh password

Is this unsupported in the version of xen I am running? Is there some information I can gather to really determine whether it is supported or not? Assuming it is supported in a newer version; Could I upgrade my tools to that version without upgrading my kernels?

In an attempt to get around this problem I tried this

#mkfifo /etc/xenexport

# xe vm-export vm=test.vm filename=/etc/xenexport; cat /etc/xenexport | ssh xen2 "xe vm-import filename=/dev/stdin"

This returned a different error at least.

Operation failed. Error: File exists: open, /etc/xenexport.

Has anyone wrestled with this before? Thank you.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Pipe vm-export to vm-import is there a solution?, Eamon Doran <=