Integrating ovirt and Foreman to Empower your Data-Center CloudOpen June 2014 Yaniv Bronhaim Red Hat
Bare Metal On The Cloud CloudOpen June 2014 Yaniv Bronhaim Red Hat
What is a physical hardware?
Agenda How do we manage physical servers' life cycle? Bare metal in real life The open source solution Foreman Empower your data-center with Virtualization Managing Virtualization infrastructures with ovirt Integrating the power of ovirt and Foreman
Pysical Server's Live Cycle Three Steps For Managing Physical Hardware Provision Initial startup Configure Monitor
Pysical Server's Live Cycle Common Management Your Data Center
Pysical Server's Live Cycle Common Management New Server Arrived
Pysical Server's Live Cycle Common Management Series Of Racks Are Arrived
Pysical Server's Live Cycle Common Management 1
Pysical Server's Live Cycle Common Management 2 Install OS
Pysical Server's Live Cycle Common Management 3 C5-E Laptop or screen with keyboard C6-E C7-E S1-A C8-E S1-A = 00:11:22:33:44:55 S2-A = 0A:1B:C2:CC:44:55 C8-E = A3:AA:C7:92:12:32..
Pysical Server's Live Cycle Common Management 4 Initial Setup httpd AD DNS ovirt dhcp
Pysical Server's Live Cycle Common Management 3 Monitor And Update Drift Management
Pysical Server's Live Cycle Common Management
Pysical Server's Live Cycle Common Management BUT A5-C!= 0A:1B:CCC:44:55 Typo?? A5-C
Do we really need to go out there?
Remote Management Bare metal provisioning = Register servers to central management software Ability to locate the physical hardware and know its specification Configure and monitor the servers
How does Foreman help?
Bare Metal Provisioning Tiny OS
Bare Metal Provisioning Tiny OS
Bare Metal Provisioning
Bare Metal Provisioning
Foreman's dish Foreman Foreman Foreman Provision Configurator Management
Foreman's dish Foreman Provision PXE Boot Foreman Foreman Configurator Management Ubunto RHEL Fedora CentOS
Foreman's dish Passwords Keys Users Services Foreman Foreman Foreman Provision Configurator Management Chef Reports Puppet
Foreman's dish Foreman Foreman Foreman Provision Configurator Management
Foreman Ingredients DNS DHCP TFTP Puppet Rest API Web Interface Interface Smart Proxy UI, API, Cli Provision templates Host groups Puppet classes Parameters Compute Configuration Management Resources
But is that enough?
Empower your data-center with Virtualization
Virtualization = ovirt
Using KVM /usr/libexec/qemu-kvm -name vm-f16-buildmachine -S -M rhel6.4.0 -cpu Westmere -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -uuid a8ccdb60-8a42-44f59669-d74c3b2eff43 -smbios type=1,manufacturer=red Hat,product=RHEV Hypervisor,version=6Server-6.4.0.4.el6,serial=30353036-3837-4247-383130394635324C_78:e7:d1:22:46:d8,uuid=a8ccdb60-8a42-44f5-9669-d74c3b2eff43 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm-f16buildmachine.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2013-10-08t12:16:16,driftfix=slew -no-shutdown -device piix3-usbuhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtioserial0,bus=pci.0,addr=0x4 -drive if=none,media=cdrom,id=drive-ide0-10,readonly=on,format=raw,serial= -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-10,id=ide0-1-0 -drive file=/rhev/data-center/f79b0b28-c82f-11e0-8739-78e7d1e48c4c/5bab64708825-4e3a-b408-ebcde93678b6/images/4c213cd2-c4d5-441b-a1ac-dfb1a6868699/11b3e132-50a5-481bb48b-e3b1f2879e69,if=none,id=drive-virtio-disk0,format=qcow2,serial=4c213cd2-c4d5-441b-a1acdfb1a6868699,cache=none,werror=stop,rerror=stop,aio=native -device virtio-blkpci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/rhev/data-center/f79b0b28-c82f-11e0-8739-78e7d1e48c4c/5bab6470-8825-4e3a-b408ebcde93678b6/images/02330fa2-d1ff-48e0-a843-842c2376756f/5a283126-4d27-4eef-86ddfb538d8d08e4,if=none,id=drive-virtio-disk1,format=qcow2,serial=02330fa2-d1ff-48e0-a843842c2376756f,cache=none,werror=stop,rerror=stop,aio=native -device virtio-blkpci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,fd=31,id=hostnet0,vhost=on,vhostfd=32 -device virtio-netpci,netdev=hostnet0,id=net0,mac=00:1a:4a:23:12:13,bus=pci.0,addr=0x3,bootindex=2 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/vm-f16buildmachine.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtioserial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/vm-f16buildmachine.org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtioserial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=virtioserial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -spice port=5904,tlsport=5905,addr=10.35.16.4,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tlschannel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tlschannel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on -k en-us -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864
ovirt User Portal
ovirt - Web Administration
ovirt Virtualization Management Hosts Client (web portals)
ovirt Virtualization Management
ovirt Virtualization Management
ovirt Virtualization Management
ovirt Virtualization Management Provision
ovirt Virtualization Management 192.168.1.25
ovirt Virtualization Management Engine Client (web portals)
ovirt Virtualization Management Deploy (Configure)
ovirt Virtualization Management
Fill in the VM details
Select ISO to load from
ovirt Virtualization Management
Do we really need to go out there?
ovirt Foreman ovirt external provider Client (web portals)
ovirt Foreman ovirt external provider
ovirt Foreman Discovered Hosts 00:11:22:33:44:55 0A:1B:C2:CC:44:55 A3:AA:C7:92:12:32 Engine
ovirt Foreman Discovered Hosts 00:11:22:33:44:55=192.168.1.2 0A:1B:C2:CC:44:55=192.168.1.56 A3:AA:C7:92:12:32=192.168.1.66
ovirt Foreman Discovered Hosts Engine
ovirt Foreman Discovered Hosts Engine
ovirt Foreman Discovered Hosts Engine
ovirt Foreman Discovered Hosts Provision Provision Host 192.168.1.53
ovirt Foreman Discovered Hosts Deploy (Configure) API Request to deploy host
ovirt Foreman Discovered Hosts
ovirt Foreman Provisioned Hosts
ovirt Foreman ovirt external provider Engine
Future Plans VM Provisioning Full host configuration management through ovirt Multiply selection for hosts provisioning...
Screen Cast
Foreman Almost 3 years old open source project 50+ Contributors Largest installation =~ 5000 active hosts Homepage http://theforeman.org Overall Projects http://github.com/theforeman #theforeman on freenode
ovirt More than 6 years old open source project 200+ Contributors Homepage http://ovirt.org Overall Projects http://gerrit.ovirt.org #ovirt on oftc Users list - users@ovirt.org Devels devel@ovirt.org
Questions?
THANK YOU! http://www.ovirt.org