From Fedora Project Wiki

Line 88: Line 88:


=== Virtualization Storage Management ===
=== Virtualization Storage Management ===
'''Detailed Description'''
Advances in <code>libvirt</code> now provide the ability to list, create, and delete storage volumes on remote hosts. This includes the ability to create raw sparse & non-sparse files in a directory, allocate LVM logical volumes, partition physical disks, and attach to iSCSI targets.
Fedora 8 introduced the ability to manage existing guest domains remotely using libvirt. It was not possible to create new remote guests due to lack of storage management capabilities. This feature is to add the ability to list, create and delete storage volumes from a remote host using libvirt. This includes the ability to create raw sparse & non-sparse files in a directory, allocate LVM logical volumes, partition physical disks, and attach to iSCSI targets.
[edit] Benefit to Fedora


This will enable the virt-manager tool to remote provision new guest domains, and manage the storage associated with them. It will provide improved SELinux integration, since the APIs will be able to ensure that all storage volumes have the correct SELinux security context when being assigned to a guest.
This enables the <code>virt-manager</code> tool to remote provision new guest domains, and manage the storage associated with them. It provides improved SELinux integration, since the APIs will be able to ensure that all storage volumes have the correct SELinux security context when being assigned to a guest.


'''Scope'''
'''Features'''
* List storage volumes in a directory, and allocate new volumes, raw files both sparse and non-sparse, and formats supported by qemu-img (cow, qcow, qcow2, vmdk, etc)
* List storage volumes in a directory, and allocate new volumes, raw files both sparse and non-sparse, and formats supported by qemu-img (cow, qcow, qcow2, vmdk, etc)
* List partitions in a disk, and allocate new partitions from free space
* List partitions in a disk, and allocate new partitions from free space
* Logic to an iSCSI server and list volumes associated with an exported target
* Connect to an iSCSI server and list volumes associated with an exported target
* List logical volumes in an LVM volume group, and allocate new LVM logical volumes
* List logical volumes in an LVM volume group, and allocate new LVM logical volumes
* Automatically assign correct SELinux security context label to all volumes when associating with a guest (ie, virt_image_t)  
* Automatically assign correct SELinux security context label to all volumes when associating with a guest (ie, virt_image_t)  

Revision as of 14:40, 4 October 2008

Dale Bewley

I'm vegan and I mountain bike a lot.

Contact

Activities within Fedora

Release Notes Virtualization Beat

FWN Virtualization Beat

145, 144, 143, 142, 141, 140 n/a, 139 n/a, 138, 137

Notes To Self

Virtualization Release Notes

I'm gathering links to become oriented with the Fedora Docs Project and Virtualization features for F10.

Howto

Content

Versions

Virtualization Package Versions
Package F9 Release F9 Updates (20081003) Rawhide F10 Release Rel Notes
kvm 65-1 65-9 74-4
libvirt 0.4.2-1 0.4.6-2 0.4.6-3 http://www.libvirt.org/news.html
python-virtinst 0.300.3-5 0.300.3-7 0.400.0-1
virt-df n/a 2.1.1-8 2.1.3-2 http://et.redhat.com/~rjones/virt-df/
virt-manager 0.5.4-3 0.5.4-4 0.6.0-1 http://virt-manager.et.redhat.com/download.html
virt-mem n/a n/a 0.6.0-1 alpha qaulity - 32bit QEMU and KVM only
virt-top 0.4.1.1-1 1.0.1-4 1.0.1-2 http://et.redhat.com/~rjones/virt-top/ChangeLog.txt
virt-viewer 0.0.3-1 n/a 0.0.3-3
xen 3.2.0-10 3.2.0-15 3.3.0-1
xenner 0.29-2 0.41-1 0.46-1 http://cvs.bytesex.org/xenner.html

Improvements

New Tools

Utilities in the new virt-mem package provide access to process tables, interface information, dmesg, and uname of a guest from the host system.

Virtualization Release Notes Scratch Space

Virtualization Storage Management

Advances in libvirt now provide the ability to list, create, and delete storage volumes on remote hosts. This includes the ability to create raw sparse & non-sparse files in a directory, allocate LVM logical volumes, partition physical disks, and attach to iSCSI targets.

This enables the virt-manager tool to remote provision new guest domains, and manage the storage associated with them. It provides improved SELinux integration, since the APIs will be able to ensure that all storage volumes have the correct SELinux security context when being assigned to a guest.

Features

  • List storage volumes in a directory, and allocate new volumes, raw files both sparse and non-sparse, and formats supported by qemu-img (cow, qcow, qcow2, vmdk, etc)
  • List partitions in a disk, and allocate new partitions from free space
  • Connect to an iSCSI server and list volumes associated with an exported target
  • List logical volumes in an LVM volume group, and allocate new LVM logical volumes
  • Automatically assign correct SELinux security context label to all volumes when associating with a guest (ie, virt_image_t)

For further details see Features/VirtStorage.

Remote Installation of Virtual Machines

Detailed Description Fully support remote guest creation in virt-install and virt-manager. This entails allowing a way to specify existing managed storage on the remote connection, or provisioning new storage on an existing pool at install time. Install methods are either PXE or a managed cdrom.

Ideally coupled with this will be better remote connection support: use libvirt's avahi advertising to search for potential remote connections when adding a connection in virt-manager.

Benefit to Fedora Remote VM installation isn't for everyone but it's pretty compelling for folks managing more than one physical machine for virtualization. A central box can be used to do all provisioning, where previously an admin would have to interact directly with the host. This will also encourage interested users to manage their storage and installation media using libvirt's storage capabilities, whose benefits are outlined at the VirtStorage feature page.

For further information see Features/VirtRemoteInstall.