Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Deploy ONAP with RKE

reference https://docs.onap.org/en/dublin/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyOOM-1598

Code Block
titleInstall Docker and RKE
collapsetrue
root>curl https://releases.rancher.com/install-docker/18.06.sh | sh
root>docker version
root>wget https://github.com/rancher/rke/releases/download/v0.1.16/rke_linux-amd64
root>mv rke_linux-amd64 rke
root>mv ./rke /usr/local/bin/rke
root>rke --version
root>wget https://github.com/rancher/rke/releases/download/v0.1.16/rke_linux-amd64
root>mv rke_linux-amd64 rke
root>mv ./rke /usr/local/bin/rke
root>rke --version


Code Block
titleInstall Python Openstack packages
collapsetrue
root>apt install python-pip
root>pip install python-openstackclient
root>pip install python-novaclient
root>pip install python-heatclient


Code Block
titlessh key
collapsetrue
root>vi /root/.ssh/onap_key 
root>chmod 0400 /root/.ssh/onap_key 


Code Block
titleClone Integration repo and deploy ONAP
collapsetrue
root>source integration/deployment/heat/onap-rke/env/windriver/Integration-SB-XX-openrc
root>cd integration/deployment/heat/onap-rke/
root>nohup ./scripts/deploy.sh -m docker-manifest-staging.csv -q env/windriver/onap-oom.env &
root>tail -f nohup.out 


Customize ONAP deployment by editing onap-oom.env

...

Code Block
titleCustomize onap-oom.env
collapsetrue
xuyang11@pod-onap-01-vjhost:~/src/integration$ git diff
diff --git a/deployment/heat/onap-oom/env/windriver/onap-oom.env b/deployment/heat/onap-oom/env/windriver/onap-oom.env
index d511a3d..01e8222 100644
--- a/deployment/heat/onap-oom/env/windriver/onap-oom.env
+++ b/deployment/heat/onap-oom/env/windriver/onap-oom.env
@@ -64,9 +64,9 @@ parameters:
openStackUserName: "${OS_USERNAME}"
openStackEncryptedPassword: "${OS_PASSWORD}"
sdnc:
- replicaCount: 3
+ replicaCount: 1
config:
- enableClustering: true
+ enableClustering: false
aai:
liveness:
initialDelaySeconds: 120
@@ -95,3 +95,7 @@ parameters:
vid:
config:
portalhost: "__portal_hostname__"
+ sdc:
+ sdc-be:
+ image: "onap/sdc-backend:1.3.5"
+ backendInitImage: "onap/sdc-backend-init:1.3.5"

...