blob: 0ae6646a00d5f9157a3d182ea75a7b4adbad1b17 [file] [log] [blame]
Rich Bennetta4cf27d2017-11-12 23:11:28 -05001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 http://creativecommons.org/licenses/by/4.0
3 Copyright 2017 ONAP
4
5
6.. contents::
7 :depth: 2
8..
9
Rich Bennettb921b992017-11-17 08:28:37 -050010.. index:: Setting Up Full ONAP
11
Rich Bennetta4cf27d2017-11-12 23:11:28 -050012
13========================
14**Setting Up Full ONAP**
15========================
16
17.. _demo-installing-running-onap:
18
19**Context**
20===========
Gildas Lanilis7b727a52017-11-20 17:18:00 -080021ONAP may be deployed in different contexts depending on your requirements. The recommended installation for Amsterdam Release is currently based on OpenStack HEAT Template.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050022
Gildas Lanilis7b727a52017-11-20 17:18:00 -080023Using the Amsterdam HEAT Template installer, ONAP can be deployed in a single tenant or multiple tenants. One tenant for all the components except DCAE, and another tenant dedicated to the DCAE components.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050024
Gildas Lanilis7b727a52017-11-20 17:18:00 -080025The VNFs managed by ONAP may be deployed in different OpenStack tenants or based on top of VMware based infrastructure. For details, refer :ref:`to MultiCloud project<index-multicloud>`.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050026
Gildas Lanilis7b727a52017-11-20 17:18:00 -080027The current installation is based on the single tenant deployment (all the ONAP components will be hosted in a unique tenant) with DCAE components deployed in High Availability mode.
Rich Bennetta4cf27d2017-11-12 23:11:28 -050028
Gildas Lanilis7b727a52017-11-20 17:18:00 -080029The installation requires some manual tasks to setup the DCAE components.
Eric Debeau5adb1782017-11-17 20:34:11 +000030
Gildas Lanilisc10c7c92017-11-21 11:50:18 -080031.. _demo-installing-running-onap-requirements:
32
Rich Bennetta4cf27d2017-11-12 23:11:28 -050033**Requirements**
34================
35
36OpenStack
37---------
38ONAP installation is validated on `OpenStack Ocata <https://releases.openstack.org/ocata/>`_ or latter release.
39
Eric Debeauc0095d12017-11-15 23:58:49 +000040You can use various Cloud providers offering OpenStack based solutions. A list of available Cloud providers on the `OpenStack marketplace <https://www.openstack.org/marketplace/public-clouds/>`_.
41
42You can use your private Cloud infrastructure.
43
44The following OpenStack components must be deployed in the infrastructure:
Rich Bennetta4cf27d2017-11-12 23:11:28 -050045 - *Cinder*
46 - *Designate*
47 - *Glance*
Eric Debeaua9634e72017-11-14 12:32:22 +000048 - *Heat*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050049 - *Horizon*
50 - *Keystone*
Eric Debeaua9634e72017-11-14 12:32:22 +000051 - *Neutron*
52 - *Nova*
Rich Bennetta4cf27d2017-11-12 23:11:28 -050053
Eric Debeaua9634e72017-11-14 12:32:22 +000054To deploy OpenStack, you can use various solutions:
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010055 - `OpenStack installation guide <https://docs.openstack.org/install-guide/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050056 - `OPNFV Cross Community Continuous Integration - XCI installer <http://docs.opnfv.org/en/latest/infrastructure/xci.html>`_
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010057 - `OpenStack Ocata installation guide <https://docs.openstack.org/ocata/install/>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -050058
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010059.. tip::
60 - Notice the documentation version mentioned in the URL, e.g. ocata/, pike/, latest/ ...
61 - The installation is pretty huge, some automated scripts have been created by the community:
62
63 - `OpenStack installation with Ansible (All openstack services) <https://docs.openstack.org/openstack-ansible/latest/>`_
64 - `OpenStack Ocata installation scripts for testing environment (DO NOT install Heat, Designate and Cinder Volume services) <https://github.com/reachsrirams/openstack-scripts>`_
65
66Use the procedure below to deploy and configure *Designate* manually
Eric Debeauc0095d12017-11-15 23:58:49 +000067
68.. toctree::
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010069 :maxdepth: 1
Eric Debeauc0095d12017-11-15 23:58:49 +000070
71 install-designate.rst
72
Eric Debeaua9634e72017-11-14 12:32:22 +000073
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +010074The OpenStack infrastructure must enable internet access and you need to have an "External network" already configured properly.
75The External network ID will have to be provided in the Heat environment file.
Eric Debeaua9634e72017-11-14 12:32:22 +000076
77ONAP components
78---------------
Gildas Lanilis7b727a52017-11-20 17:18:00 -080079The following table presents the mapping between the created VM and the ONAP components, and provides VM information (flavor and image):
Eric Debeaua9634e72017-11-14 12:32:22 +000080
81 =================== ================= ======= ============
82 VM name ONAP project(s) Flavor Image
83 =================== ================= ======= ============
84 onap-aai-inst1 AAI xlarge Ubuntu 14.04
85 onap-aai-inst2 AAI/UI xlarge Ubuntu 14.04
86 onap-appc APPC, CCSDK large Ubuntu 14.04
87 onap-clamp CLAMP medium Ubuntu 16.04
88 onap-dns-server *Internal DNS* small Ubuntu 14.04
89 onap-message-router DMAAP large Ubuntu 14.04
90 onap-multi-service MSB, VF-C, VNFSDK xxlarge Ubuntu 16.04
91 onap-policy Policy xlarge Ubuntu 14.04
92 onap-portal Portal, CLI large Ubuntu 14.04
93 onap-robot Integration medium Ubuntu 16.04
94 onap-sdc SDC xlarge Ubuntu 16.04
95 onap-sdnc SDNC, CCSDK large Ubuntu 14.04
96 onap-so SO large Ubuntu 16.04
97 onap-vid VID medium Ubuntu 14.04
98 onap-dcae-bootstrap DCAE, Holmes small Ubuntu 14.04
99 dcaeorcl00 DCAE/Orchestr. medium CentOS 7
100 dcaecnsl00 DCAE/Consul medium Ubuntu 16.04
101 dcaecnsl01 DCAE/Consul medium Ubuntu 16.04
102 dcaecnsl02 DCAE/Consul medium Ubuntu 16.04
103 dcaedokp00 DCAE/Policy Hand. medium Ubuntu 16.04
104 dcaedoks00 DCAE/VES, Holmes medium Ubuntu 16.04
105 dcaepgvm00 DCAE/Postrges medium Ubuntu 16.04
106 dcaecdap00 DCAE/CDAP large Ubuntu 16.04
107 dcaecdap01 DCAE/CDAP large Ubuntu 16.04
108 dcaecdap02 DCAE/CDAP large Ubuntu 16.04
109 dcaecdap03 DCAE/CDAP large Ubuntu 16.04
110 dcaecdap04 DCAE/CDAP large Ubuntu 16.04
111 dcaecdap05 DCAE/CDAP large Ubuntu 16.04
112 dcaecdap06 DCAE/CDAP large Ubuntu 16.04
113 =================== ================= ======= ============
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500114
115Footprint
116---------
117The ONAP installation requires the following footprint:
Eric Debeaua9634e72017-11-14 12:32:22 +0000118 - 29 VM
119 - 148 vCPU
120 - 336 GB RAM
121 - 3 TB Storage
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800122 - 29 floating IP addresses
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500123
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800124.. Note: The default flavor size may be optimized. The ONAP community is working to update flavors of basic ONAP installation.
Eric Debeaua9634e72017-11-14 12:32:22 +0000125
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800126.. Note: You should also reserve some resources for the VNFs to be deployed.
Eric Debeaua9634e72017-11-14 12:32:22 +0000127
128Artifacts
129---------
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800130The following artifacts must be deployed on the OpenStack infrastructure:
Eric Debeaua9634e72017-11-14 12:32:22 +0000131 - a public SSH key to access the various VM
132 - private SSH key and public key SSH key for the DCAE VM
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100133 - Ubuntu 14.04 image (https://cloud-images.ubuntu.com/releases/14.04/14.04/)
134 - Ubuntu 16.04 image (https://cloud-images.ubuntu.com/releases/16.04/release/)
135 - CentOS 7 image (http://cloud.centos.org/centos/7/images/)
Eric Debeaua9634e72017-11-14 12:32:22 +0000136 - Set of flavors: small, medium, large, medium, large, xlarge, xxlarge
137
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800138.. Note: The floating IP may be private IP.
Eric Debeaua9634e72017-11-14 12:32:22 +0000139
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800140.. Note: Basic flavors can reuse the default flavors as defined by `OpenStack <https://docs.openstack.org/horizon/latest/admin/manage-flavors.html>`_
141 The xxlarge flavor should be configured using the following values: 12 vCPU, 64 GB RAM and 120 GB storage.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500142
143Security
144--------
145The default installation assumes that the Default security group is configured to enable full access between the ONAP components.
Eric Debeaua9634e72017-11-14 12:32:22 +0000146Depending on your environment, we may need to open some security groups (eg when using the portal from your desktop).
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500147
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800148The list of various services and ports used can be found on the `ONAP wiki <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500149
150**Deployment**
151==============
152
Eric Debeauc0095d12017-11-15 23:58:49 +0000153Source files
154------------
155
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800156Both following files must be downloaded and configured to match your configuration:
Eric Debeau5adb1782017-11-17 20:34:11 +0000157
Eric Debeauc0095d12017-11-15 23:58:49 +0000158- Template file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.yaml
159- Environment file: https://git.onap.org/demo/plain/heat/ONAP/onap_openstack.env
160
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800161The environment file must be customized as described in the following sections.
Eric Debeau5adb1782017-11-17 20:34:11 +0000162
163.. Note Amsterdam release files
164
Eric Debeauc0095d12017-11-15 23:58:49 +0000165Description
166-----------
167
Eric Debeau5adb1782017-11-17 20:34:11 +0000168The ONAP HEAT template spins up all the components expect the DCAE. The template,
Eric Debeauc0095d12017-11-15 23:58:49 +0000169onap_openstack.yaml, comes with an environment file,
170onap_openstack.env, in which all the default values are defined.
171
172The HEAT template is composed of two sections: (i) parameters, and (ii)
173resources.
174The parameter section contains the declaration and
175description of the parameters that will be used to spin up ONAP, such as
176public network identifier, URLs of code and artifacts repositories, etc.
177The default values of these parameters can be found in the environment
178file.
179
180The resource section contains the definition of:
181
182- ONAP Private Management Network, which ONAP components use to communicate with each other and with VNFs
183- ONAP Virtual Machines (VMs)
184- Public/private key pair used to access ONAP VMs
185- Virtual interfaces towards the ONAP Private Management Network
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800186- Disk volumes
Eric Debeauc0095d12017-11-15 23:58:49 +0000187
188Each VM specification includes Operating System image name, VM size
189(i.e. flavor), VM name, etc. Each VM has two virtual network interfaces:
190one towards the public network and one towards the ONAP Private
191Management network, as described above. Furthermore, each VM runs a
192post-instantiation script that downloads and installs software
193dependencies (e.g. Java JDK, gcc, make, Python, ...) and ONAP software
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800194packages and Docker containers from remote repositories.
Eric Debeauc0095d12017-11-15 23:58:49 +0000195
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800196When the HEAT template is executed, the OpenStack HEAT engine creates
Eric Debeauc0095d12017-11-15 23:58:49 +0000197the resources defined in the HEAT template, based on the parameters
198values defined in the environment file.
199
200Environment file
201----------------
202
203Before running HEAT, it is necessary to customize the environment file.
204Indeed, some parameters, namely public_net_id, pub_key,
205openstack_tenant_id, openstack_username, and openstack_api_key,
206need to be set depending on the user's environment:
207
208**Global parameters**
209
210::
211
212 public_net_id: PUT YOUR NETWORK ID/NAME HERE
213 pub_key: PUT YOUR PUBLIC KEY HERE
214 openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
215 openstack_username: PUT YOUR OPENSTACK USERNAME HERE
216 openstack_api_key: PUT YOUR OPENSTACK PASSWORD HERE
217 horizon_url: PUT THE HORIZON URL HERE
218 keystone_url: PUT THE KEYSTONE URL HERE (do not include version number)
219
220openstack_region parameter is set to RegionOne (OpenStack default). If
221your OpenStack is using another Region, please modify this parameter.
222
223public_net_id is the unique identifier (UUID) or name of the public
224network of the cloud provider. To get the public_net_id, use the
225following OpenStack CLI command (ext is the name of the external
226network, change it with the name of the external network of your
227installation)
228
229::
230
231 openstack network list | grep ext | awk '{print $2}'
232
233pub_key is string value of the public key that will be installed in
234each ONAP VM. To create a public/private key pair in Linux, please
235execute the following instruction:
236
237::
238
239 user@ubuntu:~$ ssh-keygen -t rsa
240
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800241The following operations create the public/private key pair:
Eric Debeauc0095d12017-11-15 23:58:49 +0000242
243::
244
245 Generating public/private rsa key pair.
246 Enter file in which to save the key (/home/user/.ssh/id_rsa):
247 Created directory '/home/user/.ssh'.
248 Enter passphrase (empty for no passphrase):
249 Enter same passphrase again:
250 Your identification has been saved in /home/user/.ssh/id_rsa.
251 Your public key has been saved in /home/user/.ssh/id_rsa.pub.
252
253openstack_username, openstack_tenant_id (password), and
254openstack_api_key are user's credentials to access the
255OpenStack-based cloud.
256
257**Images and flavors parameters**
258
259::
260
261 ubuntu_1404_image: PUT THE UBUNTU 14.04 IMAGE NAME HERE
262 ubuntu_1604_image: PUT THE UBUNTU 16.04 IMAGE NAME HERE
263 flavor_small: PUT THE SMALL FLAVOR NAME HERE
264 flavor_medium: PUT THE MEDIUM FLAVOR NAME HERE
265 flavor_large: PUT THE LARGE FLAVOR NAME HERE
266 flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
267 flavor_xxlarge: PUT THE XXLARGE FLAVOR NAME HERE
268
269To get the images in your OpenStack environment, use the following
270OpenStack CLI command:
271
272::
273
274 openstack image list | grep 'ubuntu'
275
276To get the flavor names used in your OpenStack environment, use the
277following OpenStack CLI command:
278
279::
280
281 openstack flavor list
282
283**Network parameters**
284
285::
286
287 dns_list: PUT THE ADDRESS OFTHE EXTERNAL DNS HERE (e.g. a comma-separated list of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems). THIS LIST MUST INCLUDE THE DNS SERVER THAT OFFERS DNS AS AS SERVICE (see DCAE section below for more details)
288 external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE oam_network_cidr: 10.0.0.0/16
289 dns_forwarder: PUT THE IP OF DNS FORWARDER FOR ONAP DEPLOYMENT'S OWN DNS SERVER
290 oam_network_cidr: 10.0.0.0/16
291
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800292You can use the Google Public DNS 8.8.8.8 and 4.4.4.4 address or your internal DNS servers.
Eric Debeauc0095d12017-11-15 23:58:49 +0000293
294ONAP installs a DNS server used to resolve IP addresses in the ONAP OAM private network.
295ONAP Amsterdam Release also requires OpenStack Designate DNS support for the DCAE platform, so as to allow IP address discovery and communication among DCAE elements.
296This is required because the ONAP HEAT template only installs the DCAE bootstrap container, which will in turn install the entire DCAE platform.
297As such, at installation time, the IP addresses of the DCAE components are unknown.
298
299The DNS server that ONAP installs needs to be connected to the Designate DNS to allow communication between the DCAE elements and the other ONAP components.
300To this end, dns\_list, external\_dns, and dns\_forwarder should all have the IP address of the Designate DNS.
301These three parameters are redundant, but still required for Amsterdam Release. Originally, dns\_list and external\_dns were both used to circumvent some limitations of older OpenStack versions.
302In future releases, the DNS settings and parameters in HEAT will be consolidated.
303The Designate DNS is configured to access the external DNS.
304As such, the ONAP DNS will forward to the Designate DNS the queries from ONAP components to the external world.
305The Designate DNS will then forward those queries to the external DNS.
306
307**DCAE Parameters**
308
309DCAE spins up ONAP's data collection and analytics system in two phases.
310
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800311The first phase consists of launching a bootstrap VM that is specified in the ONAP HEAT template, as described above. This VM requires a number of deployment-specific configuration parameters being provided so that it can subsequently bring up the DCAE system.
Eric Debeauc0095d12017-11-15 23:58:49 +0000312
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800313There are two groups of parameters:
Eric Debeauc0095d12017-11-15 23:58:49 +0000314
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800315- The first group relates to the launching of DCAE VMs, including parameters such as the keystone URL and additional VM image IDs/names. Hence these parameters need to be provided to DCAE. Note that although DCAE VMs will be launched in the same tenant as the rest of ONAP, because DCAE may use MultiCloud node as the agent for interfacing with the underlying cloud, it needs a separate keystone URL (which points to MultiCloud node instead of the underlying cloud).
Eric Debeauc0095d12017-11-15 23:58:49 +0000316
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800317
318- The second group of configuration parameters relate to DNS As A Service support (DNSaaS). DCAE requires DNSaaS for registering its VMs into organization-wide DNS service. For OpenStack, DNSaaS is provided by Designate, as mentioned above. Designate support can be provided via an integrated service endpoint listed under the service catalog of the OpenStack installation; or proxyed by the ONAP MultiCloud service. For the latter case, a number of parameters are needed to configure MultiCloud to use the correct Designate service.
Eric Debeauc0095d12017-11-15 23:58:49 +0000319
320These parameters are described below:
321
322::
323
324 dcae_keystone_url: PUT THE MULTIVIM PROVIDED KEYSTONE API URL HERE
325 dcae_centos_7_image: PUT THE CENTOS7 VM IMAGE NAME HERE FOR DCAE LAUNCHED CENTOS7 VM
326 dcae_domain: PUT THE NAME OF DOMAIN THAT DCAE VMS REGISTER UNDER
327 dcae_public_key: PUT THE PUBLIC KEY OF A KEYPAIR HERE TO BE USED BETWEEN DCAE LAUNCHED VMS
328 dcae_private_key: PUT THE SECRET KEY OF A KEYPAIR HERE TO BE USED BETWEEN DCAE LAUNCHED VMS
329
330 dnsaas_config_enabled: PUT WHETHER TO USE PROXYED DESIGNATE
331 dnsaas_region: PUT THE DESIGNATE PROVIDING OPENSTACK'S REGION HERE
332 dnsaas_keystone_url: PUT THE DESIGNATE PROVIDING OPENSTACK'S KEYSTONE URL HERE
333 dnsaas_tenant_name: PUT THE TENANT NAME IN THE DESIGNATE PROVIDING OPENSTACK HERE (FOR R1 USE THE SAME AS openstack_tenant_name)
334 dnsaas_username: PUT THE DESIGNATE PROVIDING OPENSTACK'S USERNAME HERE
335 dnsaas_password: PUT THE DESIGNATE PROVIDING OPENSTACK'S PASSWORD HERE
336
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500337Instantiation
338-------------
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500339
Eric Debeauc0095d12017-11-15 23:58:49 +0000340The ONAP platform can be instantiated via Horizon (OpenStack dashboard)
341or Command Line.
342
343**Instantiation via Horizon:**
344
345- Login to Horizon URL with your personal credentials
346- Click "Stacks" from the "Orchestration" menu
347- Click "Launch Stack"
348- Paste or manually upload the HEAT template file (onap_openstack.yaml) in the "Template Source" form
349- Paste or manually upload the HEAT environment file (onap_openstack.env) in the "Environment Source" form
350- Click "Next" - Specify a name in the "Stack Name" form
351- Provide the password in the "Password" form
352- Click "Launch"
353
354**Instantiation via Command Line:**
355
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100356- You need to have the OpenStack Heat service installed:
Eric Debeauc0095d12017-11-15 23:58:49 +0000357
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100358- Create a file (named i.e. ~/openstack/openrc) that sets all the
359 environmental variables required to access your OpenStack tenant:
Eric Debeauc0095d12017-11-15 23:58:49 +0000360
361::
362
363 export OS_AUTH_URL=INSERT THE AUTH URL HERE
364 export OS_USERNAME=INSERT YOUR USERNAME HERE
365 export OS_TENANT_ID=INSERT YOUR TENANT ID HERE
366 export OS_REGION_NAME=INSERT THE REGION HERE
367 export OS_PASSWORD=INSERT YOUR PASSWORD HERE
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100368 export OS_USER_DOMAIN_NAME=INSERT YOUR DOMAIN HERE
369 export OS_PROJECT_NAME=INSERT YOUR PROJECT NAME HERE
Eric Debeauc0095d12017-11-15 23:58:49 +0000370
371- Run the script from command line:
372
373::
374
375 source ~/openstack/openrc
376
377- In order to install the ONAP platform, type:
378
379::
380
Determe, Sebastien (sd378r)4c832982017-12-05 18:46:51 +0100381 # Old HEAT client
382 heat stack-create STACK_NAME -f PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE
383
384 OR
385
386 # New OpenStack client
387 openstack stack create -t PATH_TO_HEAT_TEMPLATE(YAML FILE) -e PATH_TO_ENV_FILE STACK_NAME
Eric Debeauc0095d12017-11-15 23:58:49 +0000388
389
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800390.. Note The HEAT template deployment may take time (up to one hour) depending on your hardware environment.
Eric Debeauc0095d12017-11-15 23:58:49 +0000391
Eric Debeau5adb1782017-11-17 20:34:11 +0000392Deploy DCAE
393-----------
394The HEAT template deployed the onap-dcae-bootstrap virtual machine.
395
396.. Note To provide the manual tasks to configure the local environment
397
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500398
399Test the installation
400---------------------
Eric Debeau5adb1782017-11-17 20:34:11 +0000401Every ONAP component offers a HealthCheck REST API. The Robot Virtual Machine (*onap-robot*) can be used to test that every components run smoothly.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500402Run the following command to perform the HealthCheck:
403
404.. code-block:: bash
405
406 docker exec -it openecompete_container /var/opt/OpenECOMP_ETE/runTags.sh -i health h -d ./html -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -V /share/config/vm_properties.py
407
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800408This test suite will execute 30 tests towards the various ONAP components.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500409
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800410After the installation, it is possible to deploy the various use-cases described in `ONAP wiki <https://wiki.onap.org/display/DW/Running+the+ONAP+Demos>`_.
Eric Debeau5adb1782017-11-17 20:34:11 +0000411
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500412Detect problems
413---------------
414If all the tests are not OK, many causes are possible.
415Here is a simple procedure to detect where the problem occurs:
416
417* Check the OpenStack Virtual Machine logs
418* Connect to the Virtual Machine and check that the various containers are running.
419
Eric Debeau5adb1782017-11-17 20:34:11 +0000420The list of containers are described on the `ONAP wiki <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800421. In case some containers are missing, check the Docker logs using the following command:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500422
423.. code-block:: bash
424
425 sudo docker ps -a
426 sudo docker logs <containerid>
427
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500428**Portal configuration**
429========================
Eric Debeaua9634e72017-11-14 12:32:22 +0000430The current ONAP installation is using the *onap.org* domain.
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500431To use the portal on your desktop, you must configure the following information in your *host* file (located in /etc/host for Linux or /windows/system32/drivers/etc/hosts for Windows):
432
433.. code-block:: bash
434
Eric Debeaua9634e72017-11-14 12:32:22 +0000435 <onap-policy_ip> policy.api.simpledemo.onap.org
436 <onap-portal_ip> portal.api.simpledemo.onap.org
437 <onap-sdc_ip> sdc.api.simpledemo.onap.org
438 <onap-vid_ip> vid.api.simpledemo.onap.org
439 <onap-aai-inst1_ip> aai.api.simpledemo.onap.org
440 <onap-aai-inst2_ip> aai.ui.simpledemo.onap.org
441
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500442
Gildas Lanilis7b727a52017-11-20 17:18:00 -0800443You can use the Horizon dashboard to get the IP addresses associated with the Virtual Machines or use the following command line:
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500444
445.. code-block:: bash
446
447 openstack server list
448
449Launch the portal on the http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm
450
Eric Debeaua9634e72017-11-14 12:32:22 +0000451Various users are predefined as presented in the following table:
452
453 .. csv-table::
454 :header: Role, Login
455 :widths: 20, 20
456
457 Superuser,demo
458 Designer,cs0008
459 Tester,jm0007
460 Governor,gv0001
461 Ops,op0001
462
463The password is *demo123456!*
464
465Go to the `Portal component user guide <http://onap.readthedocs.io/en/latest/submodules/portal.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500466
467Other UI documentation:
Eric Debeaua9634e72017-11-14 12:32:22 +0000468 - `CLAMP <http://onap.readthedocs.io/en/latest/submodules/clamp.git/docs/index.html>`_
Eric Debeauc0095d12017-11-15 23:58:49 +0000469 - `SDC <http://onap.readthedocs.io/en/latest/submodules/sdc.git/docs/index.html>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000470 - `UI Use-Case <http://onap.readthedocs.io/en/latest/submodules/usecase-ui.git/docs/index.html>`_
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500471
472
473**Components**
474==============
475
Eric Debeauc0095d12017-11-15 23:58:49 +0000476The list of various services and ports used can be found on the `ONAP wiki <https://wiki.onap.org/display/DW/ONAP+Services+List#ONAPServicesList-ONAPServices>`_
Eric Debeaua9634e72017-11-14 12:32:22 +0000477
478.. This work is licensed under a Creative Commons Attribution 4.0 International License.
479 http://creativecommons.org/licenses/by/4.0
480 Copyright 2017 ONAP
Rich Bennetta4cf27d2017-11-12 23:11:28 -0500481
482
Eric Debeaua9634e72017-11-14 12:32:22 +0000483.. contents::