summaryrefslogtreecommitdiffstats
path: root/docs/release/installation/vmdeploy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/installation/vmdeploy.rst')
-rw-r--r--docs/release/installation/vmdeploy.rst150
1 files changed, 150 insertions, 0 deletions
diff --git a/docs/release/installation/vmdeploy.rst b/docs/release/installation/vmdeploy.rst
new file mode 100644
index 00000000..3812a40e
--- /dev/null
+++ b/docs/release/installation/vmdeploy.rst
@@ -0,0 +1,150 @@
+.. 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
+
+ - name: host2
+ roles:
+ - compute
+
+NOTE:
+For B/M, Daisy uses MAC address defined in deploy.yml to map discovered nodes to node items definition in deploy.yml, then assign role described by node item to the discovered nodes by name pattern. Currently, controller01, controller02, and controller03 will be assigned with Controler role while computer01, 'computer02, computer03, and computer04 will be assigned with Compute role.
+
+NOTE:
+For V/M, There is no MAC address defined in deploy.yml for each virtual machine. Instead, Daisy will fill that blank by getting MAC from "virsh dump-xml".
+
+E.g. OpenStack and ceph deployment roles setting
+
+.. code-block:: yaml
+
+ hosts:
+ - name: host1
+ roles:
+ - controller
+
+ - 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
+
+
+ +-B/M--------+------------------------------+
+ |Jumperserver+ |
+ +------------+ +--+ |
+ | | | |
+ | +-V/M--------+ | | |
+ | | Daisyserver+------+ | |
+ | +------------+ | | |
+ | | | |
+ | +--+ | | |
+ | | | +-V/M--------+ | | |
+ | | +-------+ Controller +------+ | |
+ | | | | ODL(Opt.) | | | |
+ | | | | Network | | | |
+ | | | | Ceph1 | | | |
+ | | | +------------+ | | |
+ | | | | | |
+ | | | | | |
+ | | | | | |
+ | | | +-V/M--------+ | | |
+ | | +-------+ Compute1 +------+ | |
+ | | | | Ceph2 | | | |
+ | | | +------------+ | | |
+ | | | | | |
+ | | | | | |
+ | | | | | |
+ | | | +-V/M--------+ | | |
+ | | +-------+ Compute2 +------+ | |
+ | | | | Ceph3 | | | |
+ | | | +------------+ | | |
+ | | | | | |
+ | | | | | |
+ | | | | | |
+ | +--+ +--+ |
+ | ^ ^ |
+ | | | |
+ | | | |
+ | /---------------------------\ | |
+ | | External Network | | |
+ | \---------------------------/ | |
+ | /-----------------------+---\ |
+ | | Installation Network | |
+ | | Public/Private API | |
+ | | Internet Access | |
+ | | Tenant Network | |
+ | | Storage Network | |
+ | | HeartBeat Network | |
+ | \---------------------------/ |
+ +-------------------------------------------+
+
+
+
+Note:
+For Flat External networks(which is used by default), a physical interface is needed on each compute node for ODL NetVirt recent versions.
+HeartBeat network is selected,and if it is configured in network.yml,the keepalived interface will be the heartbeat interface.
+
+Start Deployment (Virtual Deployment)
+-------------------------------------
+
+(1) Git clone the latest daisy4nfv code from opnfv: "git clone https://gerrit.opnfv.org/gerrit/daisy"
+
+(2) Download latest bin file(such as opnfv-2017-06-06_23-00-04.bin) of daisy from http://artifacts.opnfv.org/daisy.html and change the bin file name(such as opnfv-2017-06-06_23-00-04.bin) to opnfv.bin
+
+(3) Make sure the opnfv.bin file is in daisy4nfv code dir
+
+(4) Create folder of labs/zte/virtual1/daisy/config in daisy4nfv code dir
+
+(5) Move the daisy/deploy/config/vm_environment/zte-virtual1/deploy.yml and daisy/deploy/config/vm_environment/zte-virtual1/network.yml to labs/zte/virtual1/daisy/config dir.
+
+Note:
+zte-virtual1 config file is just for all-in-one deployment,if you want to deploy openstack with five node(1 lb node and 4 computer nodes),change the zte-virtual1 to zte-virtual2
+
+(6) Run the script deploy.sh in daisy/ci/deploy/ with command:
+sudo ./ci/deploy/deploy.sh -b ../daisy -l zte -p virtual1 -s os-nosdn-nofeature-noha
+
+(7) When deploy successfully,the floating ip of openstack is 10.20.11.11,the login account is "admin" and the password is "keystone"