diff options
author | Justin-chi <chigang@huawei.com> | 2016-01-17 16:23:12 +0800 |
---|---|---|
committer | Justin-chi <chigang@huawei.com> | 2016-01-21 15:40:17 +0800 |
commit | 080b1de19bc76a3e4435a73151d180d2267e4e59 (patch) | |
tree | c10c2ad818dcdd38d30b80e385350b16e59d378b | |
parent | ebf474f7dd65ed8d098e80959aec777c202ee7be (diff) |
Document update for Brahmaputra
JIRA: COMPASS-75
add installation instruction
add FAQ.rst(draft) and release-notes(draft)
add some correction
Change-Id: I8fc48c79eeea06bc2efafce2eca72ebd9b71be16
Signed-off-by: Justin-chi <chigang@huawei.com>
-rw-r--r-- | docs/Brahmaputra/FAQ/FAQ.rst | 40 | ||||
-rw-r--r-- | docs/Brahmaputra/FAQ/index.rst | 11 | ||||
-rw-r--r-- | docs/Brahmaputra/installation-instructions/index.rst | 11 | ||||
-rw-r--r-- | docs/Brahmaputra/installation-instructions/installation-instructions.rst | 414 | ||||
-rw-r--r-- | docs/Brahmaputra/release-notes/index.rst | 11 | ||||
-rw-r--r-- | docs/Brahmaputra/release-notes/release-notes.rst | 40 | ||||
-rw-r--r-- | docs/how-to-use-compass4nfv/documentation-compass4nfv.rst | 42 | ||||
-rw-r--r-- | docs/how-to-use-compass4nfv/index.rst (renamed from docs/index.rst) | 0 |
8 files changed, 527 insertions, 42 deletions
diff --git a/docs/Brahmaputra/FAQ/FAQ.rst b/docs/Brahmaputra/FAQ/FAQ.rst new file mode 100644 index 00000000..e32bd503 --- /dev/null +++ b/docs/Brahmaputra/FAQ/FAQ.rst @@ -0,0 +1,40 @@ +========================================================================================== +OPNFV FAQ for the Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool +========================================================================================== + + +.. contents:: Table of Contents + :backlinks: none + + +Abstract +======== + +This document describes Frequently Asked Questions of OPNFV when using Compass4nfv +as a deployment tool. + +License +======= + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +(c) by Weidong Shao (HUAWEI) and Justin Chi (HUAWEI) + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +are licensed under a Creative Commons Attribution 4.0 International License. +You should have received a copy of the license along with this. +If not, see <http://creativecommons.org/licenses/by/4.0/>. + +Version history +=============== + ++--------------------+--------------------+--------------------+---------------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++--------------------+--------------------+--------------------+---------------------------+ +| 2016-01-17 | 0.0.1 | Justin Chi | First draft | +| | | (HUAWEI) | | ++--------------------+--------------------+--------------------+---------------------------+ + + +:Authors: Justin Chi (HUAWEI) +:Version: 0.0.1 diff --git a/docs/Brahmaputra/FAQ/index.rst b/docs/Brahmaputra/FAQ/index.rst new file mode 100644 index 00000000..0a072875 --- /dev/null +++ b/docs/Brahmaputra/FAQ/index.rst @@ -0,0 +1,11 @@ +********************************** +OPNFV(Brahmaputra) Compass4nfv FAQ +********************************** + +Contents: + +.. toctree:: + :numbered: + :maxdepth: 4 + + FAQ.rst diff --git a/docs/Brahmaputra/installation-instructions/index.rst b/docs/Brahmaputra/installation-instructions/index.rst new file mode 100644 index 00000000..b30982e4 --- /dev/null +++ b/docs/Brahmaputra/installation-instructions/index.rst @@ -0,0 +1,11 @@ +******************************************************** +OPNFV(Brahmaputra) Compass4nfv installation instructions +******************************************************** + +Contents: + +.. toctree:: + :numbered: + :maxdepth: 4 + + installation-instructions.rst diff --git a/docs/Brahmaputra/installation-instructions/installation-instructions.rst b/docs/Brahmaputra/installation-instructions/installation-instructions.rst new file mode 100644 index 00000000..ba0ceafe --- /dev/null +++ b/docs/Brahmaputra/installation-instructions/installation-instructions.rst @@ -0,0 +1,414 @@ +================================================================================================================ +OPNFV Installation instructions for the Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool +================================================================================================================ + + +.. contents:: Table of Contents + :backlinks: none + + +Abstract +======== + +This document describes how to install the Brahmaputra release of OPNFV when +using Compass4nfv as a deployment tool covering it's limitations, dependencies +and required system resources. + +License +======= + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +(c) by Weidong Shao (HUAWEI) and Justin Chi (HUAWEI) + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +are licensed under a Creative Commons Attribution 4.0 International License. +You should have received a copy of the license along with this. +If not, see <http://creativecommons.org/licenses/by/4.0/>. + +Version history +=============== + ++--------------------+--------------------+--------------------+---------------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++--------------------+--------------------+--------------------+---------------------------+ +| 2016-01-17 | 1.0.0 | Justin chi | Rewritten for | +| | | (HUAWEI) | Compass4nfv B release | ++--------------------+--------------------+--------------------+---------------------------+ +| 2015-12-16 | 0.0.2 | Matthew Li | Minor changes & | +| | | (HUAWEI) | formatting | ++--------------------+--------------------+--------------------+---------------------------+ +| 2015-09-12 | 0.0.1 | Chen Shuai | First draft | +| | | (HUAWEI) | | ++--------------------+--------------------+--------------------+---------------------------+ + +Introduction +============ + +This document describes providing guidelines on how to install and +configure the Brahmaputra release of OPNFV when using Compass as a +deployment tool including required software and hardware +configurations. + +Installation and configuration of host OS, OpenStack, OpenDaylight, +ONOS, Ceph etc. can be supported by Compass on VMs or Bare Metal +nodes. + +The audience of this document is assumed to have good knowledge in +networking and Unix/Linux administration. + +Preface +======= + +Before starting the installation of the Brahmaputra release of OPNFV +when using Compass4nfv as a deployment tool, some planning must be done. + + +Retrieving the installation ISO image +------------------------------------- + +First of all, The installation ISO is needed for deploying your OPNFV +environment, it included packages of Compass,OpenStack,OpenDaylight,ONOS +and so on. the iso can be retrieved via OPNFV artifacts repository: + +http://artifacts.opnfv.org/ + +NOTE: Search the keyword "Compass4nfv/Brahmaputra" to locate the ISO image. + +E.g. +compass4nfv/brahmaputra/opnfv-2016-01-16_15-03-18.iso +compass4nfv/brahmaputra/opnfv-2016-01-16_15-03-18.properties + +The name of iso image includes the time of iso building. +The git url and sha1 of Compass4nfv are recorded in properties files, +According these, the corresponding deployment scripts can be retrieved. + + +Getting the deployment scripts +------------------------------ + +To retrieve the repository of Compass4nfv on Jumphost use the following command: + +- git clone https://gerrit.opnfv.org/gerrit/compass4nfv + +NOTE: PLEASE DO NOT GIT CLONE COMPASS4NFV IN root DIRECTORY. + +If you don't have a Linux foundation user id, get your own by the url: + +https://wiki.opnfv.org/developer/getting_started + +Set the branch to the corresponding deployment scripts: + +E.g. +Git sha1 in file "opnfv-2016-01-16_15-03-18.properties" is +d5a13ce7cc2ce89946d34b0402ecf33c1d291851 + +- git checkout d5a13ce7cc2ce89946d34b0402ecf33c1d291851 + + +Preparing the installation environment +-------------------------------------- + +If you have only 1 Bare Metal server, Virtual deployment is recommended. if more +than or equal 3 servers, the Bare Metal deployment is recommended. The minimum of Bare Metal +deployment server is 3, 1 for JumpServer(Jumphost), 1 for controller, 1 for computer. + + +Setup Requirements +================== + +Jumphost Requirements +--------------------- + +The Jumphost requirements are outlined below: + +1. Ubuntu 14.04 (Pre-installed). + +2. Root access. + +3. libvirt virtualization support. + +4. Minimum 2 NICs. + + - PXE installation Network (Receiving PXE request from nodes and providing OS provisioning) + + - IPMI Network (Nodes power control and set boot PXE first via IPMI interface) + + - External Network (Optional: Internet access) + +5. 16 GB of RAM for a Bare Metal deployment, 64 GB of RAM for a VM deployment. + +6. Minimum 100G storage. + +Bare Metal Node Requirements +---------------------------- + +Bare Metal nodes require: + +1. IPMI enabled on OOB interface for power control. + +2. BIOS boot priority should be PXE first then local hard disk. + +3. Minimum 3 NICs. + + - PXE installation Network (Broadcasting PXE request) + + - IPMI Network (Receiving IPMI command from Jumphost) + + - External Network (OpenStack mgmt/external/storage/tenant network) + +Network Requirements +-------------------- + +Network requirements include: + +1. No DHCP or TFTP server running on networks used by OPNFV. + +2. 2-6 separate networks with connectivity between Jumphost and nodes. + + - PXE installation Network + + - IPMI Network + + - Openstack mgmt Network* + + - Openstack external Network* + + - Openstack tenant Network* + + - Openstack storage Network* + +3. Lights out OOB network access from Jumphost with IPMI node enabled (Bare Metal deployment only). + +4. External network has Internet access, meaning a gateway and DNS availability. + +**The networks with(*) can be share one NIC(Default configuration) or use an exclusive** +**NIC(Reconfigurated in network.yml).** + +Execution Requirements (Bare Metal Only) +---------------------------------------- + +In order to execute a deployment, one must gather the following information: + +1. IPMI IP addresses for the nodes. + +2. IPMI login information for the nodes (user/pass). + +3. MAC address of Control Plane / Provisioning interfaces of the Bare Metal nodes. + + +Installation Guide (BM Deployment) +================================== + +Nodes Configuration +------------------- + +The bellow file is the inventory template of deployment nodes: + +"compass4nfv/deploy/conf/hardware_environment/huawei_us_lab/pod1/dha.yml" + +You can write your own IPMI IP/User/Password/Mac address/roles reference to it. + + - ipmiVer -- IPMI interface version for deployment node support. IPMI 1.0 + or IPMI 2.0 is available. + + - ipmiIP -- IPMI IP address for deployment node. Make sure it can access + from Jumphost. + + - ipmiUser -- IPMI Username for deployment node. + + - ipmiPass -- IPMI Password for deployment node. + + - mac -- MAC Address of deployment node PXE NIC . + + - name -- Host name for deployment node after installation. + + - roles -- Components deployed. + +E.g. Openstack only deployment roles setting + +.. code-block:: yaml + + hosts: + - name: host1 + roles: + - controller + - ha + + - name: host2 + roles: + - compute + +NOTE: +IF YOU SELECT MUTIPLE NODES AS CONTROLLER, THE 'ha' role MUST BE SELECT, TOO. + +E.g. Openstack and ceph deployment roles setting + +.. code-block:: yaml + + hosts: + - name: host1 + roles: + - controller + - ha + - ceph-admin + - ceph-mon + + - name: host2 + roles: + - compute + - ceph-osd + +E.g. Openstack and ODL deployment roles setting + +.. code-block:: yaml + + hosts: + - name: host1 + roles: + - controller + - ha + - odl + + - name: host2 + roles: + - compute + +E.g. Openstack and ONOS deployment roles setting + +.. code-block:: yaml + + hosts: + - name: host1 + roles: + - controller + - ha + - onos + + - name: host2 + roles: + - compute + + +Network Configuration +--------------------- + +Before deployment, there are some network configuration to be checked based on your network topology. +Compass4nfv network default configuration file is "compass4nfv/deploy/conf/network_cfg.yaml". +You can write your own reference to it. + +Start Deployment +---------------- + +1. Set PXE/Installation NIC for Jumphost. (set eth1 E.g.) + +.. code-block:: bash + + export INSTALL_NIC=eth1 + +2. Set OS version for nodes provisioning. (set Ubuntu14.04 E.g.) + +.. code-block:: bash + + export OS_VERSION=trusty + +3. Set OpenStack version for deployment nodes. (set liberty E.g.) + +.. code-block:: bash + + export OPENSTACK_VERSION=liberty + +4. Set ISO image that you want to deploy + +.. code-block:: bash + + export ISO_URL=file:///${YOUR_OWN}/compass.iso + or + export ISO_URL=http://artifacts.opnfv.org/compass4nfv/brahmaputra/opnfv-release.iso + +5. Run ``deploy.sh`` with inventory and network configuration + +.. code-block:: bash + + ./deploy.sh --dha ${YOUR_OWN}/dha.yml --network ${YOUR_OWN}/network.yml + + +Installation Guide (VM Deployment) +================================== + +Nodes Configuration +------------------- + +Please follow the instructions in section `Installation Guide (BM Deployment)`, +and no need to set IPMI/PXE/MAC parameters. + +Network Configuration +--------------------- + +Please follow the instructions in section `Installation Guide (BM Deployment)`. + +Start Deployment +---------------- + +1. Set OS version for nodes provisioning. (set Ubuntu14.04 E.g.) + +.. code-block:: bash + + export OS_VERSION=trusty + +3. Set OpenStack version for deployment nodes. (set liberty E.g.) + +.. code-block:: bash + + export OPENSTACK_VERSION=liberty + +4. Set ISO image that you want to deploy + +.. code-block:: bash + + export ISO_URL=file:///${YOUR_OWN}/compass.iso + or + export ISO_URL=http://artifacts.opnfv.org/compass4nfv/brahmaputra/opnfv-release.iso + +5. Run ``deploy.sh`` with inventory and network configuration + +.. code-block:: bash + + ./deploy.sh --dha ${YOUR_OWN}/dha.yml --network ${YOUR_OWN}/network.yml + +References +========== + +OPNFV +----- + +`OPNFV Home Page <www.opnfv.org>`_ + +`OPNFV Genesis project page <https://wiki.opnfv.org/get_started>`_ + +`OPNFV Compass4nfv project page <https://wiki.opnfv.org/compass4nfv>`_ + +OpenStack +--------- + +`OpenStack Liberty Release artifacts <http://www.openstack.org/software/liberty>`_ + +`OpenStack documentation <http://docs.openstack.org>`_ + +OpenDaylight +------------ + +`OpenDaylight artifacts <http://www.opendaylight.org/software/downloads>`_ + +ONOS +---- + +`ONOS artifacts <http://onosproject.org/software/>`_ + +Compass +------- + +`Compass Home Page <http://www.syscompass.org/>`_ + +:Authors: Justin Chi (HUAWEI) +:Version: 1.0.0 diff --git a/docs/Brahmaputra/release-notes/index.rst b/docs/Brahmaputra/release-notes/index.rst new file mode 100644 index 00000000..1607e236 --- /dev/null +++ b/docs/Brahmaputra/release-notes/index.rst @@ -0,0 +1,11 @@ +******************************************** +OPNFV(Brahmaputra) Compass4nfv Release Notes +******************************************** + +Contents: + +.. toctree:: + :numbered: + :maxdepth: 4 + + release-notes.rst diff --git a/docs/Brahmaputra/release-notes/release-notes.rst b/docs/Brahmaputra/release-notes/release-notes.rst new file mode 100644 index 00000000..be531766 --- /dev/null +++ b/docs/Brahmaputra/release-notes/release-notes.rst @@ -0,0 +1,40 @@ +==================================================================================================== +OPNFV release notes for the Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool +==================================================================================================== + + +.. contents:: Table of Contents + :backlinks: none + + +Abstract +======== + +This document describes release notes of OPNFV when using Compass4nfv as a +deployment tool. + +License +======= + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +(c) by Weidong Shao (HUAWEI) and Justin Chi (HUAWEI) + +Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool Docs +are licensed under a Creative Commons Attribution 4.0 International License. +You should have received a copy of the license along with this. +If not, see <http://creativecommons.org/licenses/by/4.0/>. + +Version history +=============== + ++--------------------+--------------------+--------------------+---------------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++--------------------+--------------------+--------------------+---------------------------+ +| 2016-01-17 | 0.0.1 | Justin Chi | First draft | +| | | (HUAWEI) | | ++--------------------+--------------------+--------------------+---------------------------+ + + +:Authors: Justin Chi (HUAWEI) +:Version: 0.0.1 diff --git a/docs/how-to-use-compass4nfv/documentation-compass4nfv.rst b/docs/how-to-use-compass4nfv/documentation-compass4nfv.rst index c9e40dd7..7fbd1578 100644 --- a/docs/how-to-use-compass4nfv/documentation-compass4nfv.rst +++ b/docs/how-to-use-compass4nfv/documentation-compass4nfv.rst @@ -544,45 +544,3 @@ How to integration plugins - - - - - - -The Sphinx Build -================ - -When you push documentation changes to gerrit a jenkins job will create html documentation. - -* Verify Jobs - -For verify jobs a link to the documentation will show up as a comment in gerrit for you to see the result. - -* Merge jobs - -Once you are happy with the look of your documentation you can submit the patchset -the merge job will copy the output of each documentation directory to http://artifacts.opnfv.org/$project/docs/$name_of_your_folder/index.html - -Here are some quick examples of how to use rst markup - -This is a headline:: - - here is some code, note that it is indented - -links are easy to add: Here is a link to sphinx, the tool that we are using to generate documetation http://sphinx-doc.org/ - -* Bulleted Items - - **this will be bold** - -.. code-block:: bash - - echo "Heres is a code block with bash syntax highlighting" - - -Leave these at the bottom of each of your documents they are used internally - -Revision: _sha1_ - -Build date: |today| diff --git a/docs/index.rst b/docs/how-to-use-compass4nfv/index.rst index f4a5bdeb..f4a5bdeb 100644 --- a/docs/index.rst +++ b/docs/how-to-use-compass4nfv/index.rst |