Encontro Porto Linux
by Nuno Dantas - ndantas@gmail.com
Para que serve?
Devemos pensar em :
O que espero :
Uns anos depois…
Uso XEN…
XEN é…
Criar máquinas
xen-create-image --debootstrap \ --dir=/home/xen/domains/ \ --hostname=edunew --ip 192.168.50.175 \ --netmask=255.255.255.0\ --gateway=192.168.50.254 --size=20Gb --swap=1024Mb \ --kernel=/boot/vmlinuz-2.6-xen
xm list
zen:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 256 8 r----- 150050.8 alumnidea 1 512 1 -b---- 7742.5 apsi 31 2048 4 -b---- 1717.2 bscw 3 256 4 -b---- 4976.1 classroom 4 128 1 -b---- 80290.4 csys 5 512 4 -b---- 434941.5 dsie 6 512 2 -b---- 5061.6 entretanto 8 128 1 -b---- 5054.2 free 9 128 1 -b---- 7144.7 lams 10 512 1 -b---- 1295.2 ldap 11 1024 8 -b---- 113301.9 linux 22 1024 4 -b---- 20700.4 lpro 13 512 1 -b---- 3913.3 marte2 14 1024 4 -b---- 696927.5 moodledev 15 128 1 -b---- 3426.6 nnig 16 256 1 -b---- 2681.4 rails 29 1024 4 -b---- 2783.3 trac 23 256 4 -b---- 5917.3 twiki 19 265 4 -b---- 96178.5 yoda 20 2048 4 r----- 7950849.8
Uso kvm…
kvm:~# brctl show bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes virbr1 8000.0026b981d7e7 no eth1 virbr2 8000.0026b981d7e9 no eth2 vnet0 vnet1 vnet2 vnet3 vnet4 vnet5 vnet6 vnet7
auto virbr1 iface virbr1 inet manual bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
kvm:~# virsh list Id Name State ---------------------------------- 2 greenstone running 14 Cloud1 running 16 Cloud2 running 40 DOMJudge1 running 41 DOMServer running 44 DOMJudge2 running 45 SapoLabs running 46 Ubfeup-Build running
Hardware
Vantagens
Desvantagens
Vai uma demo ?