itlc ha noi : openstack from atlanta to ha noi - compute

Post on 15-Jun-2015

190 Views

Category:

Technology

7 Downloads

Preview:

Click to see full reader

DESCRIPTION

Giới thiệu về kiến trục Compute trong Icehouse, và xây dựng một mô hình riêng áp dụng OpenStack. Mọi người đọc qua cho tác giả thêm góp ý vê mô hình này.

TRANSCRIPT

OpenStack Compute

Nguyen Trung KienVietOpenStack, 25/05/2014

Nội dung

Kiến trúc nova1

Các thành phần nova 2

3

Thảo luận 4

Các bước khởi chạy instance

OpenStack – Các thành phần

OpenStack – Các thành phần

Kiến trúc Nova (đơn giản)

Kiến trúc Nova (tăng quy mô)

Libvirt

Nova – Các thành phần

• nova-api– Giao diện cho dịch vụ nova

• nova-scheduler– Quyết định host sẽ chạy instance

• nova-conductor– Trung gian kết nối DB

• nova-cert– Quản lý chứng chỉ chứng thực với Nova

• nova-consoleauth– Chứng thực token của user cho dịch vụ graphics proxy

• nova-compute– Chạy các VM instances

Nova scheduler

• Quyết định đặt instance lên host nào • Các luật (pluggable):– CPU model/architecture– Virtualization type– PCI device availability– CPU, RAM, Disk usage – Trusted boot (TXT)– …

Nova conductor

• Trung gian truy cập DB • Các compute không truy cập trực tiếp tới DB:– Không an toàn – DB thành nút cổ chai khi mở rộng

• Compute host gửi các RPC• Conductor cập nhật trạng thái DB

Kiến trúc HA

Khởi chạy instance - 1

Khởi chạy instance - 2

Khởi chạy instance - 3

Khởi chạy instance - 4

Khởi chạy instance - 5

Khởi chạy instance - 6

Nova graphics proxy

1. A user connects to the API and gets an access_url such as, http://ip:port/?token=xyz.2. The user pastes the URL in a browser or uses it as a client parameter.3. The browser or client connects to the proxy.4. The proxy talks to nova-consoleauth to authorize the token for the user, and maps the token to the private host and port of the VNC server for an instance.The compute host specifies the address that the proxy should use to connect through the nova.conf file option,vncserver_proxyclient_address. In this way, the VNC proxy works as a bridge between the public network and private host network.5. The proxy initiates the connection to VNC server and continues to proxy until the session ends.

noVNC process

Tham khảo

• An Introduction to OpenStack and its use of KVM - Daniel P. Berrange

• Mirantis website

Q&A

Xin chân thành cảm ơn!

top related