add deployment guidance in vm deployment doc 49/35849/7
authorzhouya <zhou.ya@zte.com.cn>
Wed, 7 Jun 2017 02:40:15 +0000 (10:40 +0800)
committerZhijiang Hu <hu.zhijiang@zte.com.cn>
Thu, 8 Jun 2017 06:34:06 +0000 (06:34 +0000)
Change-Id: Ia9b370b314b5e897087ae82463af90c4b61018d5
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
deploy/config/vm_environment/zte-virtual2/deploy.yml
docs/installationprocedure/vmdeploy.rst

index 43b2ed0..0202e68 100644 (file)
@@ -4,14 +4,6 @@ hosts:
   roles:\r
     - 'CONTROLLER_LB'\r
   template: 'templates/virtual_environment/vms/controller.xml'\r
-- name: 'controller02'\r
-  roles:\r
-    - 'CONTROLLER_LB'\r
-  template: 'templates/virtual_environment/vms/controller.xml'\r
-- name: 'controller03'\r
-  roles:\r
-    - 'CONTROLLER_LB'\r
-  template: 'templates/virtual_environment/vms/controller.xml'\r
 - name: 'computer01'\r
   roles:\r
     - 'COMPUTER'\r
@@ -20,6 +12,14 @@ hosts:
   roles:\r
     - 'COMPUTER'\r
   template: 'templates/virtual_environment/vms/computer.xml'\r
+- name: 'computer03'\r
+  roles:\r
+    - 'COMPUTER'\r
+  template: 'templates/virtual_environment/vms/computer.xml'\r
+- name: 'computer04'\r
+  roles:\r
+    - 'COMPUTER'\r
+  template: 'templates/virtual_environment/vms/computer.xml'\r
 disks:\r
   daisy: 50\r
   controller: 110\r
index 0398234..296af6b 100644 (file)
@@ -36,14 +36,13 @@ E.g. OpenStack only deployment roles setting
       - name: host1
         roles:
           - controller
-          - ha
 
       - name: host2
         roles:
           - compute
 
 NOTE:
-IF YOU SELECT MUTIPLE NODES AS CONTROLLER, THE 'ha' role MUST BE SELECTED, TOO.
+WE JUST SUPPORT ONE CONTROLLER NODE NOW.
 
 E.g. OpenStack and ceph deployment roles setting
 
@@ -53,9 +52,6 @@ E.g. OpenStack and ceph deployment roles setting
       - name: host1
         roles:
           - controller
-          - ha
-          - ceph-adm
-          - ceph-mon
 
       - name: host2
         roles:
@@ -73,51 +69,69 @@ You can write your own reference into it.
 
 .. code-block:: console
 
-                                    +--+
-                                    |  |
-                +------------+      |  |
-                |  Jumphost  +------+  |
-                +------------+      |  |
-                                    |  |
-                                    |  |
-                                    |  |
-                +------------+      |  |
-       +--------+ Controller +------+  |
-       |        +------------+      |  |
-       |                            |  |
-       |                            |  |
-       |                            |  |
-       |        +------------+      |  |
-       |        |  Compute1  +------+  |
-       |        +------------+      |  |
-       |                            |  |
-       |                            |  |
-       |                            |  |
-       |        +------------+      |  |
-       |        |  Compute2  +------+  |
-       |        +------------+      |  |
-       |                            |  |
-       |                            |  |
-       |                            |  |
-       |                            |  |
-       |                            ++-+
-       |                             ^
-       |                             |
-       |                             |
-      ++--------------------------+  |
-      |      External Network     |  |
-      +---------------------------+  |
-             +-----------------------+---+
-             |    Installation Network   |
-             |    Public/Private API     |
-             |      Internet Access      |
-             |      Tenant Network       |
-             +---------------------------+
+
+    +------------+------------------------------+
+    |Jumperserver+                              |
+    +------------+                       +--+   |
+    |                                    |  |   |
+    |                +------------+      |  |   |
+    |                | Daisyserver+------+  |   |
+    |                +------------+      |  |   |
+    |                                    |  |   |
+    |                                    |  |   |
+    |                                    |  |   |
+    |                +------------+      |  |   |
+    |       +--------+ Controller +------+  |   |
+    |       |        +------------+      |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |        +------------+      |  |   |
+    |       |        |  Compute1  +------+  |   |
+    |       |        +------------+      |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |        +------------+      |  |   |
+    |       |        |  Compute2  +------+  |   |
+    |       |        +------------+      |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |                            |  |   |
+    |       |                            ++-+   |
+    |       |                             ^     |
+    |       |                             |     |
+    |       |                             |     |
+    |      ++--------------------------+  |     |
+    |      |                           |  |     |
+    |      |      External Network     |  |     |
+    |      +---------------------------+  |     |
+    |             +-----------------------+---+ |
+    |             |    Installation Network   | |
+    |             |    Public/Private API     | |
+    |             |      Internet Access      | |
+    |             |      Tenant Network       | |
+    |             +---------------------------+ |
+    +-------------------------------------------+
+
 
 
 Start Deployment (Virtual Deployment)
 -------------------------------------
 
-TODO
+(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.
+Notes: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 -B pxebr
 
+(7) When deploy successfully,the floating ip of openstack is 10.20.11.11,the login account is "admin" and the password is "keystone"