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

Re: [Xen-API] Run a powershell command on VM from xenserver

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] Run a powershell command on VM from xenserver
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Sat, 23 Jul 2011 00:56:55 +0400
Delivery-date: Fri, 22 Jul 2011 13:56:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=/Y7AgluftQpwA7B050pbeVwHWVps3pQGSI7/DUzIS/k=; b=Y8qVZgQFHVks8IGIdazVqgzUMt2QPVSp7JbBCKRkDmy9Jmf3SOcxAFGTyn0kP1TaDa XC3mDjaewW5LkcjXj9xbWjPp0mP3gR/wcvh673NqhEqPZLAbw0ByJnNkogLpKghmVGL6 hCov6SGtRxjGgiVl+7MN3+pR6QpVHpKf+E7Ko=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3D9D6453A157D1439F58AFECB361FED979F60B1CFA@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <3D9D6453A157D1439F58AFECB361FED979F60B1CFA@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11
Easy: no way.

Hard: If you do really have no girlfriend and wants to spend few weeks with dear computer - you can create command channel (via console, separate dirver or xenstore) to communicate with domU via IDC link. Actually I know at least few guys from VDS/VPS business who done this.

On 23.07.2011 00:28, Amit Shah wrote:

Hi All,
Is there any xe command or API to run a powershell command/script on a VM from xenserver without actually connecting to the VM via RDP or console.

eg: If i want to say create a directory on a VM or change some registry setting. So is there an xe command like
xe vm-run-command vm-name=test command="mkdir c:\test"

I would appreciate any ideas to accomplish this.

Thanks
Amit

_______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>