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

[Xen-devel] xm.exe "Xen management client for Windows"

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xm.exe "Xen management client for Windows"
From: 平 初 <htaira-osc@xxxxxxxxxxx>
Date: Mon, 24 Nov 2008 22:24:16 +0900
Delivery-date: Mon, 24 Nov 2008 05:24:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I met Ian Pratt last week in Japan, and I remembered a tiny program "xm.exe".
I ported xm command for Windows last year.

xm.exe ver 0.1
http://pantora.net/datapool/xm-exe/xm-exe-0.1.zip

I thought that a similar program created sometime,
but it was not so.

If I am able to do it, I want to contribute this program for Xen.org project.

Some subcommands are not supported. Because I created this program
to control a virtual machine by UPS management program in Windows. 

How to use this program? Please see following.

=== Usage ===
Usage: xm <subcommand> [args]

Control, list, and manipulate Xen guest instances.

xm full list of subcommands:

 connect                Connect a xen daemon.
 disconnect             Disconnect a xen daemon.
 domid                  List information about all/some domains.
 domname                Shutdown a domain.
 list                   List information about all/some domains.
 destroy                Terminate a domain immediately.
 resume                 Resume a Xend managed domain
 shutdown               Shutdown a domain.
 start                  Start a Xend managed domain
 suspend                Suspend a Xend managed domain
 pause                  Pause execution of a domain.
 unpause                Unpause a paused domain.
 migrate                Migrate a domain to another machine.
 dmesg                  Read and/or clear Xend's message buffer.
 log                    Print Xend log

<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.

=== Difference with original xm command === 
- Some subcommands are not supported.
- It desgined for .NET framework.
- It have 2 subcommands for session management.
  "xm connect" is connect to xend, and create a session.
  "xm disconnect" is disconnect a session.
- Can not connect to many servers.

=== Examples ===
Connect to xend at 192.168.0.1 (Username is root, Password is password)
C:\> xm.exe connect http://root:password@xxxxxxxxxxx:9363

Show listed domains information.
C:\> xm.exe list

Start centos5 domain.
C:\> xm.exe start centos5

Mirgate centos5 to 192.168.0.2 by live-migration.
C:\> xm.exe migrate ?-live centos5 192.168.0.2

Disconnect from xend.
C:\> xm.exe disconnect

Best regards.

TAIRA Hajime <htaira-osc@xxxxxxxxxxx>


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xm.exe "Xen management client for Windows", 平 初 <=