Changes between Version 14 and Version 15 of Tutorials/Cloud/ONAP


Ignore:
Timestamp:
Oct 20, 2019, 2:41:50 AM (5 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Cloud/ONAP

    v14 v15  
    1717
    1818=== Resources required ===
    19 At least 2 nodes are needed to run this example - one node for the Kuberneties controller and one node for the worker.
    20 
     19At least 2 nodes are needed to run this example - one node for the Kuberneties controller and one node for the Kuberneties worker.
    2120
    2221=== Execution ===
    2322
    24 
    25231. Determine the set of nodes that you're using. If you have a topology assigned, it will be entered in the form "system:topo:group-black" for example
    26 1. run {{{ testloadgroup.rb --group group-black --cimage latest-onap-control.ndz --wimage latest-onap-worker.ndz }}}
     241. run {{{ onaptutorial-min.rb -g group-black }}}
    27251. Test if the nodes are up, with {{{omf stat -t system:topo:group-black}}}
    28261. If not in state POWERON, run {{{ omf tell -a on -t system:topo:group-black}}}
     
    30281. Download the cluster setup script {{{ wget -O create-cluster.sh }}}
    31291. Run the cluster setup script on the prepared nodes {{{ ./create-cluster.sh -c node14-7 -w node13-8 }}}
    32 
    3330
    3431-- Running performant physical server cluster
     
    320317make all; make onap
    321318
    322 //This make command takes some time to finish
    323 
    324 }}}
     319[common]
     320make[1]: Entering directory '/root/oom/kubernetes'
     321make[2]: Entering directory '/root/oom/kubernetes/common'
     322
     323[common]
     324make[3]: Entering directory '/root/oom/kubernetes/common'
     325==> Linting common
     326[INFO] Chart.yaml: icon is recommended
     327
     328...
     329
     330Update Complete. ⎈Happy Helming!⎈
     331Saving 34 charts
     332Downloading aaf from repo http://127.0.0.1:8879
     333Downloading aai from repo http://127.0.0.1:8879
     334Downloading appc from repo http://127.0.0.1:8879
     335Downloading cassandra from repo http://127.0.0.1:8879
     336Downloading cds from repo http://127.0.0.1:8879
     337Downloading clamp from repo http://127.0.0.1:8879
     338Downloading cli from repo http://127.0.0.1:8879
     339Downloading common from repo http://127.0.0.1:8879
     340Downloading consul from repo http://127.0.0.1:8879
     341Downloading contrib from repo http://127.0.0.1:8879
     342Downloading dcaegen2 from repo http://127.0.0.1:8879
     343Downloading dmaap from repo http://127.0.0.1:8879
     344Downloading esr from repo http://127.0.0.1:8879
     345Downloading log from repo http://127.0.0.1:8879
     346Downloading sniro-emulator from repo http://127.0.0.1:8879
     347Downloading mariadb-galera from repo http://127.0.0.1:8879
     348Downloading msb from repo http://127.0.0.1:8879
     349Downloading multicloud from repo http://127.0.0.1:8879
     350Downloading nbi from repo http://127.0.0.1:8879
     351Downloading nfs-provisioner from repo http://127.0.0.1:8879
     352Downloading pnda from repo http://127.0.0.1:8879
     353Downloading policy from repo http://127.0.0.1:8879
     354Downloading pomba from repo http://127.0.0.1:8879
     355Downloading portal from repo http://127.0.0.1:8879
     356Downloading oof from repo http://127.0.0.1:8879
     357Downloading robot from repo http://127.0.0.1:8879
     358Downloading sdc from repo http://127.0.0.1:8879
     359Downloading sdnc from repo http://127.0.0.1:8879
     360Downloading so from repo http://127.0.0.1:8879
     361Downloading uui from repo http://127.0.0.1:8879
     362Downloading vfc from repo http://127.0.0.1:8879
     363Downloading vid from repo http://127.0.0.1:8879
     364Downloading vnfsdk from repo http://127.0.0.1:8879
     365Downloading modeling from repo http://127.0.0.1:8879
     366Deleting outdated charts
     367==> Linting onap
     368Lint OK
     369
     3701 chart(s) linted, no failures
     371Successfully packaged chart and saved it to: /root/oom/kubernetes/dist/packages/onap-5.0.0.tgz
     372make[1]: Leaving directory '/root/oom/kubernetes'
     373root@node:~/oom/kubernetes#
     374}}}
     375
     376This '''make''' command takes quite some time to finish (i.e. 12+ minutes) so please be patient.
    325377
    3263787. Deploy ONAP
     
    330382}}}
    331383
     384{{{
     385root@node:~/oom/kubernetes# helm deploy demo local/onap --namespace onap -f ~/overrides/onap-all.yaml
     386fetching local/onap
     387release "demo" deployed
     388release "demo-cassandra" deployed
     389release "demo-mariadb-galera" deployed
     390root@node:~/oom/kubernetes#
     391}}}
    3323928. Verify the deploy
    333393
     
    336396}}}
    337397
     398resulting in:
     399{{{
     400NAME                    REVISION        UPDATED                         STATUS          CHART                   APP VERSION     NAMESPACE
     401demo                    1               Sun Oct 20 02:14:55 2019        DEPLOYED        onap-5.0.0              El Alto         onap     
     402demo-cassandra          1               Sun Oct 20 02:14:55 2019        DEPLOYED        cassandra-5.0.0                         onap     
     403demo-mariadb-galera     1               Sun Oct 20 02:14:56 2019        DEPLOYED        mariadb-galera-5.0.0                    onap     
     404}}}
     405
    338406
    339407-- Openstack installed