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;
swift
Object data storage service for “web scale” e archive/backup;
Multi-tenancy;
3x replication;
Eventually consistent;
Manila
shared file system service;
Scavanna>sahara
HDFS file system
Local storage on compute nodes
VM’S boot disk, live as long as an intance does. Not persistent. Disappears when an instance is terminated;
(nova-boot)
Tipicamente, onde são guardadas DB’s, repo’s de documentos, repo’s de logs e snapshots em openstack?
Cinder ou Manilla;
What swift is not?
A drive or filesystem; NFS; Block storage; Any SAN/NAS/DAS solution; A CDN;
Swift 3 rings?
Accounts;
Containers;
Objects;
Swift ring, o que é?
mapping bewteen the names of entities sotored on disk and their physical location;
TempAuth
WSGI middleware for auth; switf;
Swift md5? para quê?
uploaded files levam um md5 checksum. Só são guardados se bater certo.
switf proxy servers
Lidam com os pedidos. Dão acknowledges depois do segundo write;
Neutron port? o que é?
Connection point to attach a NIC of a virtual server to a virtual network;
network namespaces
Enables multi-tenancy;
Isolates networkd, routers, and other network resources.
Allows overlaping address;
Neutron supporst router, DHCP and load-balancing namespaces. (entre?)
shared-nothing live migration
Alterações são partilhadas em tempo real?
Microsoft virtualization:
Pros?
Menos servers físicos;
Menos custos;
Menos técnicos;
Maior Flexibilidade;
Microsoft virtualization:
Cons;
Requerer servidores poderoso;
Servers individuais mais caros;
Técnicos mais bem treinados;
Mais data storage;
Win Server 2012 editions
Datacenter;
Standart;
Essencials;
Foundations;
2012 datacenter?
virtualização de servers a grandes datacenters;
Suporta 64 processadores;
Fault tolerant features;
2012 standard?
full set of server 2012 features;
Only 2 concurrent virtual machines;
We can still use other physical servers;
2012 Essentials?
no server core(console)
no hyper-v;
no AD federation services (can’t be DC);
only one physical or virtual instance;
2012 Foundation?
small businees, good for files and print servers; vpn access; no virtualization; 15 users limit;
win server 2012
14.ghz 64 bits; 512gb ram; 32 gb disk dvd drive, mouse keyboard 600*800 monitor;
win server 2012 max hardware
virtually unlimited hd space,
4tb ram
64 clusters of servers in high availability config.
storage spaces
new virtualization win 2012;
virtual sotrage pool form unused disk space;
behave like physical disks;
OS dependant, if crash, bye bye;
simple volume
1 disk, 1 volume
spanned volume
may disks 1 volume
striped volume
raid 0 without parity - faster access
mirror volume
raid 1, fault tolerant
raid 5 volume
striped volume with parity - recovery date
domain local groups accept?
universal groups golbal groups(any domain or forest)
Que elementos são aceites por todos os groups?
users and computer;
global groups accept?
other golbal groups from domain
replicate membership to DC
Universal groups accept?
global groups form any domain or forest;
other universal groups,
the some from other forests if thrust exist