首先使用命令 xe vm-list 查看对应的uuid
[root@xenserver-cvahqgsi /]
uuid ( RO) : 9bb6de8c-8d03-0569-e6d6-e40423821cb7
name-label ( RW): Windows 10 (64-bit)
power-state ( RO): running
uuid ( RO) : 3f8099fd-637c-ec68-3c7c-7c14ffd38c53
name-label ( RW): Windows Server 2012 R2 (64-bit) AD
power-state ( RO): running
uuid ( RO) : 4770295e-48a4-c8a1-513c-076db747ceb0
name-label ( RW): Windows 10 (64-bit) (sz)
power-state ( RO): running
uuid ( RO) : f9ce7d6a-04ca-53c9-344e-f012576aee33
name-label ( RW): 76WIN75
power-state ( RO): halted
uuid ( RO) : e46944d5-8d9c-95b2-064b-249645a154a5
name-label ( RW): CentOS 7
power-state ( RO): halted
uuid ( RO) : af6deb47-859e-3762-f746-c17eb29cfc09
name-label ( RW): Debian Jessie 8.0 (1)
power-state ( RO): halted
uuid ( RO) : 94a8af3e-3002-1aaa-3c9a-5abe2647d47a
name-label ( RW): win8new1
power-state ( RO): halted
uuid ( RO) : 7d1fcd05-6dd8-120b-8f5f-c758c5898eb3
name-label ( RW): Windows 7 (64-bit)test2
power-state ( RO): halted
uuid ( RO) : 96a6831a-2c82-b02e-2093-6c7d4027e50f
name-label ( RW): Windows Server 2012 R2 (64-bit) SQL
power-state ( RO): running
uuid ( RO) : 181f67b2-d27a-fc29-a875-5f73cb1ea67d
name-label ( RW): Windows 10 (64-bit)yanfa
power-state ( RO): running
然后使用 xe vm-start uuid=需要开启机器的uuid
[root@xenserver-cvahqgsi /]
|