Advertisement
peetaur

openstack - virsh resume, destroy, start and list

Jan 10th, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. root@compute1:/var/log# virsh list
  2. Id Name State
  3. ----------------------------------------------------
  4. 4 instance-00000002 paused
  5.  
  6. root@compute1:/var/log# virsh resume instance-00000002
  7. Domain instance-00000002 resumed
  8.  
  9. root@compute1:/var/log# virsh list
  10.  
  11. Id Name State
  12. ----------------------------------------------------
  13. 4 instance-00000002 paused
  14.  
  15.  
  16.  
  17.  
  18. root@compute1:/var/log# virsh destroy instance-00000002
  19. Domain instance-00000002 destroyed
  20.  
  21.  
  22. root@compute1:/var/log# virsh start instance-00000002
  23. Domain instance-00000002 started
  24.  
  25. root@compute1:/var/log# virsh list
  26. Id Name State
  27. ----------------------------------------------------
  28.  
  29. root@compute1:/var/log# virsh create /etc/libvirt/qemu/instance-00000002.xml
  30. Domain instance-00000002 created from /etc/libvirt/qemu/instance-00000002.xml
  31.  
  32. root@compute1:/var/log# virsh list
  33. Id Name State
  34. ----------------------------------------------------
  35.  
  36. root@compute1:/var/log# virsh start instance-00000002
  37. Domain instance-00000002 started
  38.  
  39. root@compute1:/var/log# virsh list
  40. Id Name State
  41. ----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement