Như đã mô tả trong phần IV-A, nó sẽ tạo ra các nút mới từ Node Type Dependency Graph, sau đó bổ sung thêm khả năng cấu hình và cấu phần artifact cho phần mềm từ Artifact Metadata Service
Trang 1V SALSA ARCHITECTURE Kiến trúc SALSA
A Overview
Tổng quan
We have implemented SALSA1 to support the multi-level
configuration functionalities, of which the architecture is
shown in Figure 8 SALSA comprises three main building
blocks:
Chúng tôi đã triển khai SALSA để hỗ trợ các chức năng cấu
hình đa cấp, trong đó có các kiến trúc được thể hiện trong
hình 8 SALSA bao gồm 3 khối chính
(i) The Central Configuration Service is for orchestrating the
configuration operations, (ii) Local Configurators perform
tasks on top of deployment stacks by following the instruction
from the Central Configuration Service, and (iii) the
Information Services maintain the knowledge for generating
the configuration plan and mapping with the external artifact
repositories
(i) Central Configuration Service điều phối các hoạt động
cấu hình
(ii) Local Configurators thực hiện nhiệm vụ trên đầu của
ngăn xếp bằng cách làm theo chỉ thị của CCS
(iii) Information Service duy trì kiến thức để tạo ra các kế
hoạch cấu hình và lập bản đồ với các kho vật bên ngoài
Users interact with the framework via Configuration APIs.
To enrich configuration information, the Configuration
Generator queries the Information Services to generate the
full configuration details
Người dùng tương tác với framework thông qua
Configuration APIs Để làm phong phú thêm các thông tin cấu
hình, Configuration Generator truy vấn các dịch vụ thông tin
để tạo ra các chi tiết cấu hình đầy đủ
As described in Section IV-A, it generates new nodes from
the Node Type Dependency Graph, then adds the
configuration capabilities and artifacts for software from
Artifact Metadata Service and cloud resources form the Cloud
Ecosystem Information.
Như đã mô tả trong phần IV-A, nó sẽ tạo ra các nút mới từ
Node Type Dependency Graph, sau đó bổ sung thêm khả
năng cấu hình và cấu phần (artifact) cho phần mềm từ
Artifact Metadata Service và tài nguyên điện toán đám mây
hình thành Cloud Ecosystem Information
The artifact meta-information refers to real artifacts which
are stored in External Repositories (e.g GitHub2 and Chef
Community3)
1 Prototype and supplement materials: http://tuwiendsg.github.io/SALSA
2 GitHub https://github.com/
3 Chef Community http://www.getchef.com/community/
Các artifact meta-information đề cập đến các cấu phần (artifact) thực sự được lưu trữ trong các kho chứa bên ngoài (ví dụ GitHub và Chef Community)
The Topology Orchestrator orchestrates configurations of
multiple service units and service topologies using the greedy mechanism presented in Section IV-B
Topology Orchestrator cấu hình của nhiều đơn vị dịch vụ và cấu trúc liên kết dịch vụ bằng cách sử dụng “greedy mechanism” trình bày trong Phần IV-B
The Cloud Configurators and Local Configurators utilize
different tools in order to deal with different cloud providers and application types
Cloud Configurators và Local Configurators sử dụng các
công cụ khác nhau để giải quyết với các nhà cung cấp điện toán đám mây và các loại ứng dụng khác nhau
At the bootstrapping of a new spawned VM, we use
cloudinit [35] to start the Local Configurator The VM
Monitoring Agent monitors different stacks of cloud services,
which is integrated with the Elasticity Monitoring and
Analysis [36].
Tại bootstrapping của một spawned VM mới, chúng tôi sử dụng cloudinit [35] để bắt đầu Local Configurator VM Monitoring Agent giám sát ngăn xếp khác nhau của dịch vụ điện toán đám mây, được tích hợp với các Elasticity Monitoring and Analysis [36]
B Integration with multiple cloud infrastructures
Tích hợp với nhiều cơ sở hạ tầng điện toán đám mây
Beside the core components, SALSA uses external tools and services to perform the actual configuration operations, increasing the extendability of the framework by exporting the configuration actions to different output formats and call the external tools
Bên cạnh các thành phần cốt lõi, SALSA sử dụng các công cụ
và dịch vụ mở rộng để thực hiện các hoạt động cấu hình thực
tế, tăng năng mở rộng của nền tảng bằng cách xuất các hoạt động cấu hình đến định dạng đầu ra khác nhau và gọi các công cụ mở rộng
The Cloud Configurator allows SALSA to plug in different
cloud drivers for connecting to different cloud infrastructures These cloud drivers also map the cloud specific APIs to the service unit’s configuration capabilities depending to the services of the providers We implemented the Openstack connector using JClouds [37] and some specific cloud APIs from cloud providers like StratusLab4 and Flexiant5
Cloud Configurator cho phép SALSA gắn trong các trình điều khiển đám mây khác nhau để kết nối với cơ sở hạ tầng
4 StratusLab http://stratuslab.eu
5 Flexiant http://www.flexiant.com
Trang 2điện toán đám mây khác nhau Các trình điều khiển đám mây
cũng liên kết đến APIs đám mây cụ thể cho khả năng cấu hình
các đơn vị dịch vụ tùy thuộc vào các dịch vụ của các nhà cung
cấp Chúng tôi xây dựng các kết nối OpenStack sử dụng
JClouds [37] và một số APIs đám mây cụ thể từ các nhà cung
cấp điện toán đám mây như StratusLab và Flexiant
The Local Configurator wraps the functionalities of different
software configuration tools and maps them on the
configuration capabilities of service units By manipulating the
VM environment, the Local Configurator uses the existing
local package management tools (e.g apt-get, yum, gem, pip)
or setups and uses higher level tools (e.g Chef)
Các Local Configurator bao bọc các chức năng của công cụ
cấu hình phần mềm khác nhau và liên kết chúng trên các khả
năng cấu hình của các đơn vị dịch vụ Bằng cách thao tác các môi trường VM thì Local Configurator sử dụng các công cụ quản lý gói cục bộ hiện có (ví dụ như apt-get, yum, gem, pip) hoặc các thiết lập và sử dụng các công cụ cấp cao hơn (ví dụ như Chef)
We also implemented a plug-in mechanism that allows the Local Configurator to work in different infrastructures Depending on the nature of the tools, we have different ways
to fetch the artifacts for them from External Repositories
Chúng tôi cũng xây dựng một cơ chế plug-in cho phép các Local Configurator làm việc trong cơ sở hạ tầng khác nhau Tùy thuộc vào bản chất của các công cụ, chúng tôi có những cách khác nhau để lấy các cấu phần (artifact) cho họ từ External Repositories