From 743d74afa50cadd0c1b1b71ea91461995b312830 Mon Sep 17 00:00:00 2001 From: zhouya Date: Wed, 7 Jun 2017 10:40:15 +0800 Subject: add deployment guidance in vm deployment doc Change-Id: Ia9b370b314b5e897087ae82463af90c4b61018d5 Signed-off-by: zhouya --- docs/installationprocedure/vmdeploy.rst | 106 ++++++++++++++++++-------------- 1 file changed, 60 insertions(+), 46 deletions(-) (limited to 'docs') diff --git a/docs/installationprocedure/vmdeploy.rst b/docs/installationprocedure/vmdeploy.rst index 03982342..296af6b9 100644 --- a/docs/installationprocedure/vmdeploy.rst +++ b/docs/installationprocedure/vmdeploy.rst @@ -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" -- cgit 1.2.3-korg