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.
8. 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
9. 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)
– …
10. 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
18. 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.
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.