summaryrefslogtreecommitdiffstats
path: root/docs/installationprocedure/vmdeploy.rst
blob: 0398234285f604846eba803c97b1f7c846875921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.. This work is licensed under a Creative Commons Attribution 4.0 International Licence.
.. http://creativecommons.org/licenses/by/4.0

Installation Guide (Virtual Deployment)
=======================================

Nodes Configuration (Virtual Deployment)
----------------------------------------

The below file is the inventory template of deployment nodes:

"./deploy/conf/vm_environment/zte-virtual1/deploy.yml"

You can write your own name/roles reference into it.

        - name -- Host name for deployment node after installation.

        - roles -- Components deployed.

**Set TYPE and FLAVOR**

E.g.

.. code-block:: yaml

    TYPE: virtual
    FLAVOR: cluster

**Assignment of different roles to servers**

E.g. OpenStack only deployment roles setting

.. code-block:: yaml

    hosts:
      - name: host1
        roles:
          - controller
          - ha

      - name: host2
        roles:
          - compute

NOTE:
IF YOU SELECT MUTIPLE NODES AS CONTROLLER, THE 'ha' role MUST BE SELECTED, TOO.

E.g. OpenStack and ceph deployment roles setting

.. code-block:: yaml

    hosts:
      - name: host1
        roles:
          - controller
          - ha
          - ceph-adm
          - ceph-mon

      - name: host2
        roles:
          - compute

Network Configuration (Virtual Deployment)
------------------------------------------

Before deployment, there are some network configurations to be checked based
on your network topology. The default network configuration file for Daisy is
"daisy/deploy/config/vm_environment/zte-virtual1/network.yml".
You can write your own reference into it.

**The following figure shows the default network configuration.**

.. code-block:: console

                                    +--+
                                    |  |
                +------------+      |  |
                |  Jumphost  +------+  |
                +------------+      |  |
                                    |  |
                                    |  |
                                    |  |
                +------------+      |  |
       +--------+ Controller +------+  |
       |        +------------+      |  |
       |                            |  |
       |                            |  |
       |                            |  |
       |        +------------+      |  |
       |        |  Compute1  +------+  |
       |        +------------+      |  |
       |                            |  |
       |                            |  |
       |                            |  |
       |        +------------+      |  |
       |        |  Compute2  +------+  |
       |        +------------+      |  |
       |                            |  |
       |                            |  |
       |                            |  |
       |                            |  |
       |                            ++-+
       |                             ^
       |                             |
       |                             |
      ++--------------------------+  |
      |      External Network     |  |
      +---------------------------+  |
             +-----------------------+---+
             |    Installation Network   |
             |    Public/Private API     |
             |      Internet Access      |
             |      Tenant Network       |
             +---------------------------+


Start Deployment (Virtual Deployment)
-------------------------------------

TODO