X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fscripts%2Fsetup.sh;h=8da394a2152fbccae586ec9555b8ac90ab0c4f43;hb=2fb9fb10bf3fa61b1d3b9d44731bdae8388a3072;hp=52459b8faf5c888656ad444c5758c46ad9bb125b;hpb=ba6b015be705e06fb8d323401bca7df48e6eb428;p=eliot.git diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 52459b8..8da394a 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -56,7 +56,7 @@ setup_k8sworkers() # Install Docker on ELIOT Node SETUP_WORKER_COMMON="sudo rm -rf ~/eliot &&\ git clone ${ELIOT_REPO} &&\ - cd eliot/blueprints/iotgteway/scripts/ && source common.sh" + cd eliot/blueprints/iotgateway/scripts/ && source common.sh" #SETUP_WORKER_COMMON="cd eliot/scripts/ && source common.sh" SETUP_WORKER="cd eliot/blueprints/iotgateway/scripts/ && source k8sworker.sh" @@ -136,7 +136,7 @@ install_edgex(){ verify_edgex() { set -o xtrace - source verifyedgex.sh + source verifyedgex.sh | tee verifyedgex.log } @@ -152,11 +152,13 @@ install_cadvisor_edge(){ nodepaswd=$(echo ${nodeinfo} | cut -d"|" -f3) sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_CADVISOR_ATEDGE} < /dev/null done < nodelist > /dev/null 2>&1 + echo "CADVISOR Installed in all the ELIOT IOT-GATEWAY Nodes" } install_prometheus(){ -set -o xtrace -source prometheus.sh | tee install_prometheus.log + set -o xtrace + source prometheus.sh | tee install_prometheus.log + echo "Prometheus deployed successfully on ELIOT Manager Node and integrated with CAdvisor running on IOT-Gateway Nodes " } # Start