wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. SPDX-License-Identifier: CC-BY-4.0 |
| 3 | .. ===============LICENSE_START======================================================= |
Lott, Christopher (cl778h) | c22d1ce | 2020-01-20 13:53:43 -0500 | [diff] [blame] | 4 | .. Copyright (C) 2019-2020 AT&T Intellectual Property |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 5 | .. =================================================================================== |
Lott, Christopher (cl778h) | c22d1ce | 2020-01-20 13:53:43 -0500 | [diff] [blame] | 6 | .. This documentation file is distributed under the Creative Commons Attribution |
| 7 | .. 4.0 International License (the "License"); you may not use this file except in |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 8 | .. compliance with the License. You may obtain a copy of the License at |
| 9 | .. |
| 10 | .. http://creativecommons.org/licenses/by/4.0 |
| 11 | .. |
| 12 | .. This file is distributed on an "AS IS" BASIS, |
| 13 | .. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | .. See the License for the specific language governing permissions and |
| 15 | .. limitations under the License. |
| 16 | .. ===============LICENSE_END========================================================= |
| 17 | |
Zhe | 8326b64 | 2020-12-11 22:31:17 -0500 | [diff] [blame^] | 18 | **Resource Requirements** |
Lott, Christopher (cl778h) | cb20033 | 2020-01-20 15:56:57 -0500 | [diff] [blame] | 19 | |
| 20 | To run the RIC-AUX cluster in a dev testing setting, the minimum requirement |
| 21 | for resources is a VM with 4 vCPUs, 16G RAM and at least 40G of disk space. |
| 22 | |
| 23 | |
Zhe | 8326b64 | 2020-12-11 22:31:17 -0500 | [diff] [blame^] | 24 | **Getting and Preparing Deployment Scripts** |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 25 | |
| 26 | Run the following commands in a root shell: |
| 27 | |
| 28 | .. code:: bash |
| 29 | |
Zhe Huang | dc00cdf | 2020-02-10 13:45:15 -0500 | [diff] [blame] | 30 | git clone https://gerrit.o-ran-sc.org/r/it/dep |
| 31 | cd dep |
| 32 | git submodule update --init --recursive --remote |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 33 | |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 34 | |
Zhe | 8326b64 | 2020-12-11 22:31:17 -0500 | [diff] [blame^] | 35 | **Modify the deployment recipe** |
Zhe Huang | dc00cdf | 2020-02-10 13:45:15 -0500 | [diff] [blame] | 36 | |
| 37 | Edit the recipe file ./RECIPE_EXAMPLE/AUX/example_recipe.yaml. |
| 38 | |
| 39 | - Specify the IP addresses used by the RIC and AUX cluster ingress controller (e.g., the main interface IP) in the following section. |
| 40 | If you are only testing the AUX cluster, you can put down any private IPs (e.g., 10.0.2.1 and 10.0.2.2). |
| 41 | |
| 42 | .. code:: bash |
| 43 | |
| 44 | extsvcplt: |
| 45 | ricip: "" |
| 46 | auxip: "" |
| 47 | |
| 48 | - To specify which version of the RIC platform components will be deployed, update the RIC platform component container tags in their corresponding section. |
| 49 | - You can specify which docker registry will be used for each component. If the docker registry requires login credential, you can add the credential in the following section. |
| 50 | Note that the installation script has already included credentials for O-RAN Linux Foundation docker registries. Please do not create duplicate entries. |
| 51 | |
| 52 | .. code:: bash |
| 53 | |
| 54 | docker-credential: |
| 55 | enabled: true |
| 56 | credential: |
| 57 | SOME_KEY_NAME: |
| 58 | registry: "" |
| 59 | credential: |
| 60 | user: "" |
| 61 | password: "" |
| 62 | email: "" |
| 63 | |
| 64 | For more advanced recipe configuration options, refer to the recipe configuration guideline. |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 65 | |
| 66 | |
Zhe | 8326b64 | 2020-12-11 22:31:17 -0500 | [diff] [blame^] | 67 | **Deploying the Aux Group** |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 68 | |
Lott, Christopher (cl778h) | cb20033 | 2020-01-20 15:56:57 -0500 | [diff] [blame] | 69 | After the recipes are edited, the AUX group is ready to be deployed. |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 70 | |
| 71 | .. code:: bash |
| 72 | |
| 73 | cd dep/bin |
Zhe Huang | dc00cdf | 2020-02-10 13:45:15 -0500 | [diff] [blame] | 74 | ./deploy-ric-aux ../RECIPE_EXAMPLE/AUX/example_recipe.yaml |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 75 | |
| 76 | |
Zhe | 8326b64 | 2020-12-11 22:31:17 -0500 | [diff] [blame^] | 77 | **Checking the Deployment Status** |
wrider | c1be425 | 2019-11-26 10:13:54 -0500 | [diff] [blame] | 78 | |
| 79 | Now check the deployment status and results similar to the below indicate a complete and successful deployment. |
| 80 | |
| 81 | .. code:: |
| 82 | |
Zhe Huang | dc00cdf | 2020-02-10 13:45:15 -0500 | [diff] [blame] | 83 | # helm list |
| 84 | NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE |
| 85 | r3-aaf 1 Mon Jan 27 13:24:59 2020 DEPLOYED aaf-5.0.0 onap |
| 86 | r3-dashboard 1 Mon Jan 27 13:22:52 2020 DEPLOYED dashboard-1.2.2 1.0 ricaux |
| 87 | r3-infrastructure 1 Mon Jan 27 13:22:44 2020 DEPLOYED infrastructure-3.0.0 1.0 ricaux |
| 88 | r3-mc-stack 1 Mon Jan 27 13:23:37 2020 DEPLOYED mc-stack-0.0.1 1 ricaux |
| 89 | r3-message-router 1 Mon Jan 27 13:23:09 2020 DEPLOYED message-router-1.1.0 ricaux |
| 90 | r3-mrsub 1 Mon Jan 27 13:23:24 2020 DEPLOYED mrsub-0.1.0 1.0 ricaux |
| 91 | r3-portal 1 Mon Jan 27 13:24:12 2020 DEPLOYED portal-5.0.0 ricaux |
| 92 | r3-ves 1 Mon Jan 27 13:23:01 2020 DEPLOYED ves-1.1.1 1.0 ricaux |
Zhe Huang | f7580a8 | 2020-02-13 13:59:50 -0500 | [diff] [blame] | 93 | |
Zhe Huang | dc00cdf | 2020-02-10 13:45:15 -0500 | [diff] [blame] | 94 | # kubectl get pods -n ricaux |
| 95 | NAME READY STATUS RESTARTS AGE |
| 96 | deployment-ricaux-dashboard-f78d7b556-m5nbw 1/1 Running 0 6m30s |
| 97 | deployment-ricaux-ves-69db8c797-v9457 1/1 Running 0 6m24s |
| 98 | elasticsearch-master-0 1/1 Running 0 5m36s |
| 99 | r3-infrastructure-kong-7697bccc78-nsln7 2/2 Running 3 6m40s |
| 100 | r3-mc-stack-kibana-78f648bdc8-nfw48 1/1 Running 0 5m37s |
| 101 | r3-mc-stack-logstash-0 1/1 Running 0 5m36s |
| 102 | r3-message-router-message-router-0 1/1 Running 3 6m11s |
| 103 | r3-message-router-message-router-kafka-0 1/1 Running 1 6m11s |
| 104 | r3-message-router-message-router-kafka-1 1/1 Running 2 6m11s |
| 105 | r3-message-router-message-router-kafka-2 1/1 Running 1 6m11s |
| 106 | r3-message-router-message-router-zookeeper-0 1/1 Running 0 6m11s |
| 107 | r3-message-router-message-router-zookeeper-1 1/1 Running 0 6m11s |
| 108 | r3-message-router-message-router-zookeeper-2 1/1 Running 0 6m11s |
| 109 | r3-mrsub-5c94f5b8dd-wxcw5 1/1 Running 0 5m58s |
| 110 | r3-portal-portal-app-8445f7f457-dj4z8 2/2 Running 0 4m53s |
| 111 | r3-portal-portal-cassandra-79cf998f69-xhpqg 1/1 Running 0 4m53s |
| 112 | r3-portal-portal-db-755b7dc667-kjg5p 1/1 Running 0 4m53s |
| 113 | r3-portal-portal-db-config-bfjnc 2/2 Running 0 4m53s |
| 114 | r3-portal-portal-zookeeper-5f8f77cfcc-t6z7w 1/1 Running 0 4m53s |