Changes between Version 15 and Version 16 of Tutorials/Cloud/ONAP
- Timestamp:
- Oct 20, 2019, 2:59:40 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Cloud/ONAP
v15 v16 29 29 1. Run the cluster setup script on the prepared nodes {{{ ./create-cluster.sh -c node14-7 -w node13-8 }}} 30 30 31 -- Imaging the nodes -- 32 33 {{{ 34 onaptutorial-min.rb -g group-black 35 }}} 36 37 will load controller and worker images on the two nodes in the group and turn them on. Plesae note which node is the controller and which one is the worker. 38 31 39 -- Running performant physical server cluster 32 40 33 For the purpose of orbit-lab, execute the below script on any of the console node in orbit as below: 34 \\./create-kube-cluster.sh -c "cNode1 cNode2 ... cNodeM" -w "wNode1 wNode2 ... wNodeN" 41 In order to create the Kubernetes cluster that will run ONAP, download and execute the cluster creation script on the console of the domain where you have node (please note that you will need to use corresponding node names in the script arguments) 42 {{{ 43 wget https://wiki.cosmos-lab.org/raw-attachment/wiki/tutorials/orchestration-example/create-kube-cluster.sh 44 chmod 755 create-kube-cluster.sh 45 ./create-kube-cluster.sh -c node13-8 -w node14-7 46 }}} 35 47 36 48 … … 83 95 esac 84 96 done 85 86 omf load -i latest-onap-control.ndz -t ${CONTROLLERS// /,} -r 6087 sleep 30088 89 omf load -i latest-onap-worker.ndz -t ${WORKERS// /,} -r 6090 sleep 30091 92 omf tell -a on -t ${CONTROLLERS// /,},${WORKERS// /,}93 sleep 30094 97 95 98 IFS=' ' read -ra C <<< "$CONTROLLERS" … … 316 319 cd ~/oom/kubernetes 317 320 make all; make onap 318 321 }}} 322 323 The output should look like this: 324 {{{ 325 root@node:make all; make onap 319 326 [common] 320 327 make[1]: Entering directory '/root/oom/kubernetes'