|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] howto use xenapi commands in xm shell
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] howto use xenapi commands in xm shell,
胡少龙 <=
|
|
|
|
|