Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rb:kvm [10/01/2017 17:22]
andrew [List running Guests:-]
rb:kvm [15/06/2017 16:17] (current)
Line 26: Line 26:
  ​- ​    ​nw65-01 ​                       shut off  ​- ​    ​nw65-01 ​                       shut off
 </​code>​ </​code>​
 +
 ==== Set Guest to Auto Start:- ==== ==== Set Guest to Auto Start:- ====
  
- +<​code>​ 
-  [root@vm2 ~]# virsh autostart quincekvm +[root@vm2 ~]# virsh autostart quincekvm 
-  Domain quince marked as autostarted +Domain quince marked as autostarted 
 +</​code>​
  
 ==== Stop and start Guest:- ==== ==== Stop and start Guest:- ====
  
- +<​code>​ 
-  [root@vm2 ~]# virsh shutdown elastixkvm +[root@vm2 ~]# virsh shutdown elastixkvm 
-  Domain elastixkvm is being shutdown+Domain elastixkvm is being shutdown
   ​   ​
-  ​[root@vm2 ~]# +[root@vm2 ~]# 
-   +  
-  [root@vm2 ~]# virsh start elastixkvm +[root@vm2 ~]# virsh start elastixkvm 
-  Domain elastixkvm started +Domain elastixkvm started 
-   +  
-  [root@vm2 ~]#  +[root@vm2 ~]#  
 +</​code>​
  
 ==== Import xml file ==== ==== Import xml file ====
Line 95: Line 96:
 375f4632b70a655f92d8d2c9b0dc4bcb ​ nw65-01-disk1.vmdk 375f4632b70a655f92d8d2c9b0dc4bcb ​ nw65-01-disk1.vmdk
 [root@optiplex nw65-01]# [root@optiplex nw65-01]#
 +</​code>​
 +
 +
 +==== Storage Pools ====
 +
 +Storage pool is showing as inactive in web gui:-
 +
 +<​code>​
 +root@kvm01:/​data/​iso#​ virsh pool-list --all
 + ​Name ​                ​State ​     Autostart ​
 +-------------------------------------------
 + ​default ​             active ​    ​yes ​      
 + ​iso ​                 inactive ​  ​yes ​      
 + ​vm01 ​                ​active ​    ​yes ​      
 +
 +root@kvm01:/​data/​iso#​ virsh pool-start iso
 +Pool iso started
 +
 +root@kvm01:/​data/​iso#​ virsh pool-list --all
 + ​Name ​                ​State ​     Autostart ​
 +-------------------------------------------
 + ​default ​             active ​    ​yes ​      
 + ​iso ​                 active ​    ​yes ​      
 + ​vm01 ​                ​active ​    ​yes ​      
 </​code>​ </​code>​
  

rb/kvm.txt · Last modified: 15/06/2017 16:17 (external edit)