Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 1c61da4

Browse files
author
Jorge Valderrama Romero
committed
Complete Architecture CLI documentation
1 parent 741d516 commit 1c61da4

2 files changed

Lines changed: 150 additions & 1 deletion

File tree

‎docs/source/Architecture.rst‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,151 @@
11
Architectures
22
=============
3+
4+
What is an Architecture?
5+
------------------------
6+
7+
To define what an Architecture is, we first need to explain what we understand an Openstack Nova is in StackOps. For us, Openstack Nova is not a product. We don’t even start discussing if it is a finished product or not. We think Openstack Nova is a great set of tools, a Toolkit, which put together enable a vendor to offer a Cloud Fabric.
8+
9+
This Cloud Fabric solution is not enough to be able to offer services to third parties by itself. To be able to offer these services with Openstack Nova, we must first define an Architecture that will enable service provisioning. In StackOps, this architecture can be divided in three areas:
10+
11+
- Nova Components Architecture: The various Nova components can be configured in several ways to work in different modes. At StackOps we believe we can define a reduced set of
12+
options that group most of the clients’ needs, significantly simplifying the solution.
13+
14+
- Reference Architecture: The way the different Nova components work is not the same when deployed over one hardware system or another. Therefore, in our concept of architecture,
15+
one fundamental piece not covered by the Openstack community is the Reference Systems Architecture used for the deployment of Nova.
16+
17+
- Service Architecture: How the different Nova components are grouped over the system architecture to be commercialized by the Service provider or used by an IT Department is also
18+
not a responsibility of the Openstack community, but of companies such as StackOps, which packages the whole solution taking into account the specific needs of its customers:
19+
20+
21+
The architectures are the essential key to the deployment of OpenStack solutions. They are ready-made solutions accelerating the deployment of OpenStack. Each architecture is formed hierarchically by:
22+
23+
- Components: Where the services are running, with specific properties
24+
- Services: Properties group.
25+
- Properties: Set of parameters to define the architecture
26+
27+
General Architecture and Automation
28+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29+
30+
This diagram shows the distribution of the different service components that configure a client’s Architecture. In the right side of the diagram, we can view the ‘orchestrator’ component for deployment and operation: Automation.
31+
32+
This component, developed by StackOps, is in charge of implementing different Openstack Nova Service Architectures in the client’s data center. As shown in the diagram, automation can deploy different Openstack architecture solutions for different system operation environments.
33+
34+
Apart from the predefined system architectures, automation can be extended to be able to deploy and manage ad-hoc architectures with a client’s specific needs (ISVs, HPC, Grid…)
35+
36+
To be able to deploy these architectures, the client must deploy first a Reference Architecture recommended by StackOps, and a Nova Component Architecture based on StackOps Distro.
37+
38+
.. image:: images/architecturegeneral.png
39+
:alt: General Architecture and Automation
40+
:align: center
41+
:width: 800pt
42+
43+
DualNode Architecture Example
44+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45+
46+
This example shows how a client may deploy a DualNode Service Architecture supported by a Reference Architecture that uses a storage system based on a NAS (Network Attached Storage), monitoring based on Nagios, and SMNP. Within this architecture, each zone has all Nova components deployed over one single node, except for computing nodes. The controller node that contains all Novacomponents can also be deployed in a Virtualized system with high consolidation capacity (for financial optimization).
47+
48+
This type of Architecture may be used to sell on-Demand Private Clouds, what we call Virtual Private Cloud
49+
50+
51+
.. image:: images/architectureDualNode.png
52+
:alt: Dual Node Architecture and Automation
53+
:align: center
54+
:width: 800pt
55+
56+
MultiNode HA Architecture Example
57+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58+
59+
This other example shows a Highly Available MultiNode Service Architecture supported by a Reference Architecture that uses a SAN (Storage Array Network) or Distributed NAS storage system, monitoring based on Nagios and SNMP, Keystone as a centralized Identity Management system and StackOps own Accounting and Chargeback systems. Within this architecture, each zone has each one of the Nova components deployed in their own physical node, with a High Availability configuration.
60+
61+
This type of Architecture is the traditional one used in the deployment of Public Cloud or Highly Scalable Private Cloud solutions.
62+
63+
.. image:: images/architectureMultiNodeHA.png
64+
:alt: Multinode HA Architecture and Automation
65+
:align: center
66+
:width: 800pt
67+
68+
69+
Managing Architectures
70+
----------------------
71+
72+
The operations allow in the python-automatioclient are.
73+
74+
.. code-block:: bash
75+
76+
architecture-list List all the architectures that are available on
77+
automation.
78+
architecture-show Show details about an architecture.
79+
architecture-create Add a new architecture.
80+
architecture-delete Remove a specific architecture.
81+
architecture-template Get template from a specific architecture.
82+
83+
List architectures
84+
^^^^^^^^^^^^^^^^^^
85+
86+
.. code-block:: bash
87+
88+
$ architecture-list
89+
+----+----------------------+
90+
| id | name |
91+
+----+----------------------+
92+
| 1 | sample-architecture1 |
93+
| 2 | sample-architecture- |
94+
+----+----------------------+
95+
96+
Show a specific architecture
97+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98+
99+
To show details about an architecture this one must be reference by its id
100+
101+
.. code-block:: bash
102+
103+
$ architecture-show 1
104+
+----------+----------------------------+
105+
| Property | Value |
106+
+----------+----------------------------+
107+
| id | 1 |
108+
| name | sample-architecture1 |
109+
| roles | { |
110+
| | "name": "controller", |
111+
| | "steps": [ |
112+
| | { |
113+
| | "1": [ |
114+
| | "mysql" |
115+
| | ] |
116+
| | }, |
117+
| | { |
118+
| | "2": [ |
119+
| | "rabbitmq" |
120+
| | ] |
121+
| | } |
122+
| | ] |
123+
| | } |
124+
+----------+----------------------------+
125+
126+
Delete a specific architecture
127+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128+
129+
To delete a specific architecture this one must be reference by its id
130+
131+
.. code-block:: bash
132+
133+
$ architecture-delete 2
134+
135+
$ architecture-list
136+
+----+----------------------+
137+
| id | name |
138+
+----+----------------------+
139+
| 1 | sample-architecture1 |
140+
+----+----------------------+
141+
142+
Show template from a specific architecture
143+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144+
145+
To show the template of a specific architecture this one must be reference by its id
146+
147+
.. code-block:: bash
148+
149+
$ architecture-template 1
150+
151+
{"profile": {"name": "", "components": [{"name": "mysql", "properties": {"set_quantum": {"root_pass": "stackops", "quantum_password": "stackops", "quantum_user": "quantum"}, "set_keystone": {"root_pass": "stackops", "keystone_password": "stackops", "keystone_user": "keystone"}, "teardown": {}, "set_cinder": {"cinder_user": "cinder", "root_pass": "stackops", "cinder_password": "stackops"}, "set_automation": {"automation_password": "stackops", "root_pass": "stackops", "automation_user": "automation"}, "set_accounting": {"accounting_user": "activity", "root_pass": "stackops", "accounting_password": "stackops"}, "set_nova": {"root_pass": "stackops", "nova_password": "stackops", "nova_user": "nova"}, "install": {"root_pass": "stackops", "keystone_user": "keystone", "cinder_user": "cinder", "quantum_password": "stackops", "glance_password": "stackops", "automation_user": "automation", "quantum_user": "quantum", "automation_password": "stackops", "keystone_password": "stackops", "cinder_password": "stackops", "glance_user": "glance", "nova_user": "nova", "nova_password": "stackops"}, "set_glance": {"root_pass": "stackops", "glance_password": "stackops", "glance_user": "glance"}, "validate": {"username": "", "drop_schema": null, "install_database": null, "database_type": "", "host": "", "password": "", "port": "", "schema": ""}, "set_portal": {"root_pass": "stackops", "portal_user": "portal", "portal_password": "stackops"}}}, {"name": "rabbitmq", "properties": {"start": {}, "validate": {"rpassword": null, "virtual_host": null, "host": "", "ruser": null, "service_type": "", "rport": null}, "stop": {}, "install": {"cluster": false, "password": "guest"}}}], "properties": {}}}

‎docs/source/Device.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Devices
22
=======
33

4-
Urderstandig what is a Pool and why Devices?
4+
Understandig what is a Pool and why Devices?
55
--------------------------------------------
66

77
What is the pool?

0 commit comments

Comments
 (0)