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

Re: [Xen-users] How to communicate with Xen instance?


  • To: "Jochen Hebbrecht" <jochenhebbrecht@xxxxxxxxx>
  • From: "Henning Sprang" <henning_sprang@xxxxxx>
  • Date: Tue, 6 Feb 2007 17:09:14 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 06 Feb 2007 08:09:06 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Hx7f1fXcE0kFrF7O8vestLOPsGho2fwosmjSL+dl9Bx4TiGAjqXoVTjW9ilLfW7vJpwiXQTNH6f3PSZBGDIz7FwYgEz5gw/T4ny4B5snLYzE6hKZptgnQdv46XituU+vx1M36N54HlX4Q/oVskKgJU6unh9T6xVOa6jppt7yaGQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 2/6/07, Jochen Hebbrecht <jochenhebbrecht@xxxxxxxxx> wrote:
I have a simple .cpp file and I want it to send it the virtual machine, let
it compile there and bring me back the result of the compilation and
executation. I think I could do it with scripting, but I don't quiet now how
to communicate? Using xm console? Or SSH? But how can I give the .cpp file
to the virtual machine? I have to tell him the code and tell him to compile
with g++ ...


There is no Xen specific API to let you place files in a guests
filesystem and run commands on them. So ssh might be the thing you
have to head for.

But, for curiosity, what are you doing there?
Sounds quite odd to send a cpp file again and again, to cpmpile and
execute is again and again.

Normally for distributed compilations, one uses distcc or maybe the
buildbot already mentioned.. And normally, when you want to execute a
specific command on a system, you compile it once, and only send the
binary to the machines that should execute it.

Henning

_______________________________________________
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®.