redhat:virtualization-redhat:start

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
Next revisionBoth sides next revision
redhat:virtualization-redhat:start [2020/04/01 11:56] michaelredhat:virtualization-redhat:start [2020/04/01 12:05] – [Configure KVM Environment] michael
Line 201: Line 201:
 </WRAP> </WRAP>
  
-''<WRAP center box 100%> +<WRAP center box 100%> 
-Setup own VM-Storage / ISO-Storage configuration:''+''Setup own VM-Storage / ISO-Storage configuration:''
  
 ---- ----
Line 209: Line 209:
  
 <code> <code>
-usermod -aG libvirt YOURUSERNAME+mkdir -p /data01/vm-storage 
 +# mkdir /data01/iso-images
 </code> </code>
  
Line 216: Line 217:
 Make the virsh pool configuration changes: Make the virsh pool configuration changes:
  
-  - Listing current pools: <code># virsh pool-list</code> +  - Listing current pools: <code># virsh pool-list</code><sxh bash; gutter: false;>
-<sxh bash; gutter: false;>+
  
 Name                 State      Autostart  Name                 State      Autostart 
Line 223: Line 223:
 default              active     yes  default              active     yes 
 </sxh> </sxh>
- +  - Destroying pool:<code># virsh pool-destroy default</code><sxh bash; gutter: false;>Pool default destroyed</sxh> 
-  - Destroying pool:<code># virsh pool-destroy default</code><sxh bash; gutter: false;> +  - Undefine pool:<code># virsh pool-undefine default</code><sxh bash; gutter: false;>Pool default has been undefined</sxh> 
-Pool default destroyed</sxh> +  Defining a new pool with name "default":<code># virsh pool-define-as --name default --type dir --target /data01/vm-storage</code><sxh bash; gutter: false;>Pool default defined</sxh> 
-  - Undefine pool: +  Set pool to be started when libvirt daemons starts:<code># virsh pool-autostart default</code><sxh bash; gutter: false;>Pool default marked as autostarted</sxh> 
- +  Start pool:virsh pool-start default</code><sxh bash; gutter: false;>Pool default started</sxh> 
-virsh pool-undefine default +  Checking pool state:<code># virsh pool-list</code><sxh bash; gutter: false;>
-Pool default has been undefined +
-Defining a new pool with name "default": +
- +
-virsh pool-define-as --name default --type dir --target /media/work/kvm +
-Pool default defined +
-Set pool to be started when libvirt daemons starts: +
- +
-virsh pool-autostart default +
-Pool default marked as autostarted +
-Start pool: +
- +
-virsh pool-start default +
-Pool default started +
-Checking pool state: +
- +
-virsh pool-list+
 Name                 State      Autostart  Name                 State      Autostart 
 ------------------------------------------- -------------------------------------------
 default              active     yes   default              active     yes  
-From now, when creating virtual machines, Virtual Machine Manager will inform you that the *.img file (virtual disk of your VM), will be saved at /media/work/kvm. +</sxh> 
-</code>+ 
 +From now, when creating virtual machines, Virtual Machine Manager will inform you that the *.img file (virtual disk of your VM), will be saved at ''/data01/vm-storage/''.
 </WRAP> </WRAP>
  
  • redhat/virtualization-redhat/start.txt
  • Last modified: 2020/09/02 12:37
  • by michael