Openstack Flashcards
Hypervisores suportados pelo NOVA?
vmware, xen, Microsoft;
Containers; LXC e docker
Nova-compute para que serve?
Corre em cada compute node;
Cria e termina as VMs;
Nova-compute o que faz?
Interage com o hypervisor, arranca as instances e asegura que o seu estado é mantido na compute database.
O que acontece quando se arranca um VM com o NOVA?
A nova-api autentica-se com o keystone, chama o nova-scheduler que escolhe o compute host.
Em seguida é chamado o nova-compute com os detalhes da VM que por pede a imagem o glance, chama o neutron para o setup da network e o cinder para setup da block storage.
Exemplos de filtros?
Tem suporte para a imagem que se deseja?
specific host;
suficiente cpu’s?
suficiente ram?
Exemplo de pesos?
Preferencia por host com mais ram disponivel;
Preferencia por hosts com mais cyclos de cpu disponivel.
Nova-scheduler hits?
Exemplo: corre um vm num host diferente do host da instancia anterior
Hoste aggregates?
Metadata atribuida a hosts específicos utilizada pelos filtros do scheduler para eliminar hosts.
Host agregates permite overlaping.
Availability zones?
Nao permite overlaping. Hosts não podem fazer parte de várias Availability zones…
Usados pelo nova-scheduler para eliminar hosts.
CPU pinning
Advanced nova topic:
Allow assignment of vcpu’s to physical host processor cores.
Can result in significant VM (vnf) preformance increase.
Paging size increase
Advanced nova topic:
increase CPU TBL (translation lookaside buffer) efficiency
Allows predictable memory access performance at the expense of the ability to over subscribe memory resources
PCIe based NUMA (non uniform memory access)
Modern CPU’s have memory zones allowing faster access to specific cores.
Performance increases van be achieved by exposing physical cores NUMA ampping to the guest VM’s (VM can leverage the fater memory zones)
ephemeral storage
non persistent;
lifecycle usualy equates to a VM
block storage
.Think raw disk; .High Performance; .boot drive for VM's; .Attached storage for VM's; .Performance apps;
Object storage
.Web scale storage for stuff
.secure, reliable, scalable, inexpensive ( cost effective);
.RESTfull urls for data access
block storage, use cases?
Tradicional datacenters;
Prodution application;
Databases app;
collaboration /messaging;
Object storage, use cases?
Backups / archiving; Iso images/ install media; snapshots; VM templates; image/video files; distibuted computing;
block storage, workloads?
heavy load storage changes;
Random disk read/writes;
High IO;
bursty traffic;
Object storage, workloads?
Content that tends to be more static;
Large and sequencial read/writes;
lower IO;
Glance?
Image repository;
metadata definitions;
Cinder
Controls data volumes for file systems and snapshots;