relaeses based on Fedora Initial oVirt relaeses based on Fedora • Now being build for .el6 by oVirt project Now being build for .el6 by oVirt project • Goal : Testing CentOS builds Goal : Testing CentOS builds You can help!
• Load balancing Load balancing • Hot Plug Hot Plug disks and NICs disks and NICs • ISCSI, FC, NFS, Gluster ISCSI, FC, NFS, Gluster • Snapshots Snapshots • WebUI, API, shell WebUI, API, shell • VLANs, Bonds VLANs, Bonds • Quota Quota – Limit users or groups to a certain amount of resources Limit users or groups to a certain amount of resources
app running on JBoss • Provides Provides – Web based interface Web based interface – API API • Authentication / Authorization Authentication / Authorization – Currently only FreeIPA / AD / IBM Currently only FreeIPA / AD / IBM – 1 local admin account 1 local admin account • Stores VM info in DB Stores VM info in DB
• 2 ways to install 2 ways to install – ISO ISO (jeos) (jeos) • PXE PXE • USB USB • Needs approval in ovirt-engine Needs approval in ovirt-engine – Existing/new CentOS install Existing/new CentOS install • Install triggered from the ovirt-engine Install triggered from the ovirt-engine
:-) Does not mean a physical DC :-) • Logical container of resources. Logical container of resources. – Hosts, networks, storage, .... Hosts, networks, storage, .... • Can have max. 200 hosts (=physical) Can have max. 200 hosts (=physical) • SPM (Storage Pool Manager) SPM (Storage Pool Manager) – Runs on Runs on one host one host in the datacenter in the datacenter
of hosts. • Enable Gluster / Virt service Enable Gluster / Virt service • Cluster policy Cluster policy – Power saving Power saving – Even distribution Even distribution • Resilience policy Resilience policy – Set whether VMs can migrate in the cluster. Set whether VMs can migrate in the cluster.
VMs. Yeay! • SPM priority SPM priority • Connect to storage Connect to storage • Runs the VDSM daemon Runs the VDSM daemon • .... that's it .... that's it
esktop and S Server erver M Manager anager • Runs on the hypervisor node Runs on the hypervisor node • Tracks memory and network resources Tracks memory and network resources • Manages vm creation, log collection, shared Manages vm creation, log collection, shared storage, .. storage, .. • Communicates with Communicates with – Libvirt for VM lifecycle Libvirt for VM lifecycle – oVirt-agent (runs on VM) oVirt-agent (runs on VM)
SPM in each Datacenter SPM in each Datacenter • Can write storage domain metadata Can write storage domain metadata – Other hosts read from here Other hosts read from here • SPM role is selected by the ovirt-engine SPM role is selected by the ovirt-engine
– NFS share NFS share – Holds the ISOs of a Datacenter Holds the ISOs of a Datacenter • EXPORT domain EXPORT domain – NFS NFS – Export / Import VMs Export / Import VMs • DATA domain DATA domain – Holds the VM disks Holds the VM disks
performance Better performance – Typically for machines with high IO Typically for machines with high IO • Sparsely allocated Sparsely allocated – Test machines, desktops Test machines, desktops – Grows with 1GB chunks Grows with 1GB chunks
ovirtmgm is defined by default is defined by default – Group network traffic. Ex : storage network, vlan Group network traffic. Ex : storage network, vlan – Defined at the Defined at the datacenter level datacenter level – Can be made required at the cluster level Can be made required at the cluster level – It's actually a Bridge It's actually a Bridge
id STP enabled interfaces ;vdsmdummy; 8000.000000000000 no deathstar 8000.002590374880 no eth0.2 dojo_net 8000.002590374880 no eth0.1 ovirtmgmt 8000.002590374881 no eth1
oVirt from the CLI • Has tab completion Has tab completion • Wrapper for REST API Wrapper for REST API • Same functionality than the web interface Same functionality than the web interface
centos_srv01 name : centos_srv02 name : centos-srv03 name : clone_from_snap name : serverfromcli name : testfrom-cli [oVirt shell (connected)]# Pipe output
"storage_domain.name=DATA1" --sparse fal Add a disk to a storage domain list vms --kwargs placement_policy affinity=user_migratable Show a lists of VMs that are user migrateable
– Ruby (rbovirt) Ruby (rbovirt) • Integrate with your infrastructure. Integrate with your infrastructure. • Used scripts Used scripts – https://github.com/vincentvdk/ovirt-scripts https://github.com/vincentvdk/ovirt-scripts
Monitoring • Offloading thin provisioning to the SAN box Offloading thin provisioning to the SAN box (NetApp) (NetApp) • Aeolusproject Aeolusproject • Quantum Quantum
– https://blueprints.launchpad.net/nova/+spec/rhev- https://blueprints.launchpad.net/nova/+spec/rhev- m-ovirt-clusters-as-compute-resources m-ovirt-clusters-as-compute-resources The proposal is to have a nova compute proxy connects to a RHEV-M/oVirt through oVirt Rest APIs and expose configured clusters as a compute hosts.
(imho) • VM poweroff to remove snapshot VM poweroff to remove snapshot • Storage can be weird Storage can be weird • Engine Engine (out of the box) (out of the box) = SPOF = SPOF • No ldap (other than FreeIPA/RHDS / No ldap (other than FreeIPA/RHDS / • No local users other than admin@internal No local users other than admin@internal
– http://wiki.centos.org/HowTos/oVirt?highlight=%28ovirt%29 http://wiki.centos.org/HowTos/oVirt?highlight=%28ovirt%29 • oVirt website oVirt website – http://www.ovirt.org http://www.ovirt.org • #ovirt on OFC #ovirt on OFC • Jason Brooks' blog Jason Brooks' blog – http://blog.jebpages.com/ http://blog.jebpages.com/ • Scripts using rest api Scripts using rest api – https://github.com/dougsland/ovirt-restapi-scripts https://github.com/dougsland/ovirt-restapi-scripts