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-devel

Re: [Xen-devel] Communicating with the domU from dom0 without Network

To: Ligesh <xen@xxxxxxxxxx>
Subject: Re: [Xen-devel] Communicating with the domU from dom0 without Network
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Mon, 7 Aug 2006 15:57:54 +0300
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 07 Aug 2006 05:58:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060807124015.GA3365@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060807124015.GA3365@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Mon, Aug 07, 2006 at 06:10:15PM +0530, Ligesh wrote:
>  Hi Folks,
> 
>   I would like to have a discussion on whether if it isn't desirable
>   to have some mechanism to directly communicate with the domU from
>   the dom0. Wouldn't that make managing this entire setup much
>   easier? In the openVZ, the vzctl tool can actually run anything
>   inside a virtual machine. For instance, we can say 'vzctl exec
>   $vpsid ps ax', and it will return the output of the 'ps' executed
>   inside the vps. I realize that the virtualization concept is
>   radically different in Xen, and thus this type of communication
>   would be non-trivial.
> 
>   Anyway, I would like to know the pros and cons of having a direct
>   mechanism to communicate with the domUs. As far as I have seen,
>   the inability to manage the domUs directly has been the ONLY
>   drawback of xen. 

I agree this could be useful. If you have networking setup between
dom0 and the domU's (which I think is set up by default), you can do
this without any Xen involvement by just using ssh:

ssh domu.ip.add.ress command args args args

To avoid having ssh ask for a password, use passwordless SSH as
explained in the SSH documentation.

Cheers,
Muli


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