summaryrefslogtreecommitdiffstats
path: root/docs/installationprocedure/expansion.rst
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-11-01 11:36:27 +0800
committerliyuenan <liyuenan@huawei.com>2016-11-03 16:13:55 +0800
commitdbbb61368932e724f8aae720e1de53ae5c4eebf3 (patch)
tree34dafa2e2e29e7a5bc450fd3af83d4db05bbfa1f /docs/installationprocedure/expansion.rst
parentde648f81d362c57a983600b4ce4401c9c14da2f9 (diff)
Edit the deploy.sh
Change-Id: I611abbd6a1265fc397c8af4f2131e5e073ad91bb Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'docs/installationprocedure/expansion.rst')
-rw-r--r--docs/installationprocedure/expansion.rst135
1 files changed, 86 insertions, 49 deletions
diff --git a/docs/installationprocedure/expansion.rst b/docs/installationprocedure/expansion.rst
index 1ffdafbd..697945ba 100644
--- a/docs/installationprocedure/expansion.rst
+++ b/docs/installationprocedure/expansion.rst
@@ -100,26 +100,54 @@ E.g. Increase two compute nodes
Start Expansion
~~~~~~~~~~~~~~~
-1. Edit add.sh
+1. Edit deploy.sh
+
+Set the EXPANSION to true.
+
+E.g.
+
+.. code-block:: bash
+
+ ######################### Deploy or Expansion ###############################
+ # Modify network.yml and virtual_cluster_expansion.yml or
+ # hardware_cluster_expansion.yml.
+ # Edit the DHA and NETWORK envionment variables.
+ # External subnet's ip_range and management ip should be changed as the
+ # first 6 IPs are already taken by the first deployment.
+ # VIRT_NUMBER decide how many virtual machines needs to expand when virtual expansion
+
+ export EXPANSION="true"
+ export MANAGEMENT_IP_START="10.1.0.55"
+ #export VIRT_NUMBER=1
+ export DEPLOY_FIRST_TIME="false"
+
Set OS version and OpenStack version for deployment nodes.
- Compass4nfv Colorado supports three OS version based openstack mitaka.
E.g.
.. code-block:: bash
- ########## Ubuntu14.04 Mitaka ##########
- export OS_VERSION=trusty
- export OPENSTACK_VERSION=mitaka
+ ######################### The environment for Openstack ######################
+ # Ubuntu16.04 Newton
+ #export OS_VERSION=xenial
+ #export OPENSTACK_VERSION=newton_xenial
+
+ # Ubuntu14.04 Mitaka
+ #export OS_VERSION=trusty
+ #export OPENSTACK_VERSION=mitaka
+
+ # Ubuntu16.04 Mitaka
+ #export OS_VERSION=xenial
+ #export OPENSTACK_VERSION=mitaka_xenial
- ########## Ubuntu16.04 Mitaka ##########
- # export OS_VERSION=xenial
- # export OPENSTACK_VERSION=mitaka_xenial
+ # Centos7 Mitaka
+ #export OS_VERSION=centos7
+ #export OPENSTACK_VERSION=mitaka
- ########## Centos7 Mitaka ##########
- # export OS_VERSION=centos7
- # export OPENSTACK_VERSION=mitaka
+ # Redhat7 OSP9
+ #export OS_VERSION=redhat7
+ #export OPENSTACK_VERSION=osp9
NOTE:
The OS version and OpenStack version should be same as the first deployment.
@@ -135,6 +163,9 @@ E.g.
# or
# export ISO_URL=http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.1.0.iso
+NOTE:
+The ISO should be same as the first deployment.
+
Set scenario that you want to expansion
E.g.
@@ -147,14 +178,6 @@ E.g.
# NETWORK is your network.yml's path
export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml
-Comment out VIRT_NUMBER when bare metal expansion
-
-E.g.
-
-.. code-block:: bash
-
- #export VIRT_NUMBER=1
-
Set jumpserver PXE NIC
E.g.
@@ -165,11 +188,11 @@ E.g.
Check the environment variable.
-2. Run ``add.sh``
+2. Run ``deploy.sh``
.. code-block:: bash
- ./add.sh
+ ./deploy.sh
Virtual Expansion
-----------------
@@ -232,24 +255,51 @@ Start Expansion
1. Edit add.sh
+Set the EXPANSION to true.
+
+E.g.
+
+.. code-block:: bash
+
+ ######################### Deploy or Expansion ###############################
+ # Modify network.yml and virtual_cluster_expansion.yml or
+ # hardware_cluster_expansion.yml.
+ # Edit the DHA and NETWORK envionment variables.
+ # External subnet's ip_range and management ip should be changed as the
+ # first 6 IPs are already taken by the first deployment.
+ # VIRT_NUMBER decide how many virtual machines needs to expand when virtual expansion
+
+ export EXPANSION="true"
+ export MANAGEMENT_IP_START="10.1.0.55"
+ export VIRT_NUMBER=1
+ export DEPLOY_FIRST_TIME="false"
+
Set OS version and OpenStack version for deployment nodes.
- Compass4nfv Colorado supports three OS version based openstack mitaka.
E.g.
.. code-block:: bash
- ########## Ubuntu14.04 Mitaka ##########
- export OS_VERSION=trusty
- export OPENSTACK_VERSION=mitaka
+ ######################### The environment for Openstack ######################
+ # Ubuntu16.04 Newton
+ #export OS_VERSION=xenial
+ #export OPENSTACK_VERSION=newton_xenial
+
+ # Ubuntu14.04 Mitaka
+ #export OS_VERSION=trusty
+ #export OPENSTACK_VERSION=mitaka
- ########## Ubuntu16.04 Mitaka ##########
- # export OS_VERSION=xenial
- # export OPENSTACK_VERSION=mitaka_xenial
+ # Ubuntu16.04 Mitaka
+ #export OS_VERSION=xenial
+ #export OPENSTACK_VERSION=mitaka_xenial
- ########## Centos7 Mitaka ##########
- # export OS_VERSION=centos7
- # export OPENSTACK_VERSION=mitaka
+ # Centos7 Mitaka
+ #export OS_VERSION=centos7
+ #export OPENSTACK_VERSION=mitaka
+
+ # Redhat7 OSP9
+ #export OS_VERSION=redhat7
+ #export OPENSTACK_VERSION=osp9
NOTE:
The OS version and OpenStack version should be same as the first deployment.
@@ -265,6 +315,9 @@ E.g.
# or
# export ISO_URL=http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.1.0.iso
+NOTE:
+The OS version and OpenStack version should be same as the first deployment.
+
Set scenario that you want to expansion
E.g.
@@ -277,26 +330,10 @@ E.g.
# NETWORK is your network.yml's path
export NETWORK=./deploy/conf/vm_environment/huawei-virtual1/network.yml
-Set nodes number need to expansion
-
-E.g.
-
-.. code-block:: bash
-
- export VIRT_NUMBER=1
-
-Comment out NIC when virtual expansion
-
-E.g.
-
-.. code-block:: bash
-
- #INSTALL_NIC=${INSTALL_NIC:-eth1}
-
Check the environment variable.
-2. Run ``add.sh``
+2. Run ``deploy.sh``
.. code-block:: bash
- ./add.sh
+ ./deploy.sh