summaryrefslogtreecommitdiffstats
path: root/docs/installationprocedure
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
parentde648f81d362c57a983600b4ce4401c9c14da2f9 (diff)
Edit the deploy.sh
Change-Id: I611abbd6a1265fc397c8af4f2131e5e073ad91bb Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'docs/installationprocedure')
-rw-r--r--docs/installationprocedure/bmdeploy.rst36
-rw-r--r--docs/installationprocedure/expansion.rst135
-rw-r--r--docs/installationprocedure/vmdeploy.rst38
3 files changed, 135 insertions, 74 deletions
diff --git a/docs/installationprocedure/bmdeploy.rst b/docs/installationprocedure/bmdeploy.rst
index 6ec70fa4..3b294f1f 100644
--- a/docs/installationprocedure/bmdeploy.rst
+++ b/docs/installationprocedure/bmdeploy.rst
@@ -12,6 +12,9 @@ The below file is the inventory template of deployment nodes:
"compass4nfv/deploy/conf/hardware_environment/huawei-pod1/dha.yml"
+The "dha.yml" is a collectively name for "os-nosdn-nofeature-ha.yml
+os-ocl-nofeature-ha.yml os-odl_l2-moon-ha.yml etc".
+
You can write your own IPMI IP/User/Password/Mac address/roles reference to it.
- name -- Host name for deployment node after installation.
@@ -205,7 +208,7 @@ You can write your own reference to it.
Start Deployment (Bare Metal Deployment)
----------------------------------------
-1. Edit run.sh
+1. Edit deploy.sh
Set OS version and OpenStack version for deployment nodes.
Compass4nfv Colorado supports three OS version based openstack mitaka.
@@ -214,17 +217,26 @@ 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
Set ISO image that you want to deploy
@@ -321,8 +333,8 @@ onos-sfc deploy scenario sample
# NETWORK is your network.yml's path
export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network_onos.yml
-2. Run ``run.sh``
+2. Run ``deploy.sh``
.. code-block:: bash
- ./run.sh
+ ./deploy.sh
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
diff --git a/docs/installationprocedure/vmdeploy.rst b/docs/installationprocedure/vmdeploy.rst
index cb5df6fb..54d7863e 100644
--- a/docs/installationprocedure/vmdeploy.rst
+++ b/docs/installationprocedure/vmdeploy.rst
@@ -10,7 +10,10 @@ Nodes Configuration (Virtual Deployment)
The below file is the inventory template of deployment nodes:
-"./deploy/conf/vm_environment/huawei-virtual1/network.yml"
+"./deploy/conf/vm_environment/huawei-virtual1/dha.yml"
+
+The "dha.yml" is a collectively name for "os-nosdn-nofeature-ha.yml
+os-ocl-nofeature-ha.yml os-odl_l2-moon-ha.yml etc".
You can write your own address/roles reference to it.
@@ -147,7 +150,7 @@ You can write your own reference to it.
Start Deployment (Virtual Deployment)
-------------------------------------
-1. Edit run.sh
+1. Edit deploy.sh
Set OS version and OpenStack version for deployment nodes.
Compass4nfv Colorado supports three OS version based openstack mitaka.
@@ -156,17 +159,26 @@ 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
Set ISO image that you want to deploy
@@ -253,8 +265,8 @@ onos-sfc deploy scenario sample
# NETWORK is your network.yml's path
export NETWORK=./deploy/conf/vm_environment/huawei-virtual1/network_onos.yml
-2. Run ``run.sh``
+2. Run ``deploy.sh``
.. code-block:: bash
- ./run.sh
+ ./deploy.sh