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

[Xen-users] howto use xenapi commands in xm shell


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: èåé <sunofblack@xxxxxxxx>
  • Date: Wed, 18 Aug 2010 15:23:08 +0800 (CST)
  • Delivery-date: Wed, 18 Aug 2010 08:19:32 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=IsfP32IwXlVaK27JfFjDOC0llm/Jou2Yw/EHuyl6OcfKzErRB0p6HfGUiZRJ1afC55mWMjaxYSkEpmSUiY+erTQONbqbTI7SeibXke0tN4D7rg/ZjfsAppPeg5usuM2UIgRuMkdC6clcGNOm6icnKd+qGGWRWDBQBu7IY8bKfJ8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,
    I tried to use xenapi commands in xm shell, like this:

# xm shell
The Xen Master. Type "help" for a list of functions.
xm> session.get_all
[â77900a47-c611-8450-28bc-acabab1f8af9â]
xm> session.get_this_host 77900a47-c611-8450-28bc-acabab1f8af9
âa86612fa-85b8-ea19-aae7-e60f124d4cb5â
xm> host.get_resident_VMs a86612fa-85b8-ea19-aae7-e60f124d4cb5
[â00000000-0000-0000-0000-000000000000â]
xm> VM.get_name_
VM.get_name_description   VM.get_name_label
xm> VM.get_name_label 00000000-0000-0000-0000-000000000000
âDomain-0â

    But, when i use session.get_all, it came out *** Unknown command: session.get_all, what should i do? Thanks.

Shawn Hu

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