X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fscripts%2Fset_jvm_common_attribute.sh;h=408910d943cac7e8e7b908fae71d7eb4bb06dc94;hb=38c82b3551b9487be9f8d8ea73b91580a280df7f;hp=44426c74d0f8cbe71d1705d291918f8240d97bdc;hpb=568869404d18000feddf2c36a25cf2de49613cbb;p=integration%2Ftest.git diff --git a/csit/scripts/set_jvm_common_attribute.sh b/csit/scripts/set_jvm_common_attribute.sh index 44426c74d0..408910d943 100644 --- a/csit/scripts/set_jvm_common_attribute.sh +++ b/csit/scripts/set_jvm_common_attribute.sh @@ -1,13 +1,5 @@ #!/bin/bash -cat > ${WORKSPACE}/elasticsearch_startup.sh < /dev/null 2>&1 & -ls -al /tmp/elasticsearch/elasticsearch-1.7.5/bin/elasticsearch - -EOF - cat > ${WORKSPACE}/org.apache.karaf.decanter.collector.jmx-local.cfg < ${WORKSPACE}/elasticsearch.yml < ${WORKSPACE}/org.apache.karaf.decanter.appender.elasticsearch.cfg < ${WORKSPACE}/elasticsearch_startup.sh < /dev/null 2>&1 & + ls -al /tmp/elasticsearch/elasticsearch-1.7.5/bin/elasticsearch + +EOF echo "Setup ODL_SYSTEM_IP specific config files for ${!CONTROLLERIP} " cat ${WORKSPACE}/org.apache.karaf.decanter.appender.elasticsearch.cfg @@ -52,6 +65,9 @@ EOF scp ${WORKSPACE}/org.apache.karaf.decanter.collector.jmx-others.cfg ${!CONTROLLERIP}:/tmp/${BUNDLEFOLDER}/etc/ scp ${WORKSPACE}/elasticsearch.yml ${!CONTROLLERIP}:/tmp/ + + ssh ${!CONTROLLERIP} "sudo ls -al /tmp/elasticsearch/" + ssh ${!CONTROLLERIP} "sudo mv /tmp/elasticsearch.yml /tmp/elasticsearch/elasticsearch-1.7.5/config/" ssh ${!CONTROLLERIP} "cat /tmp/elasticsearch/elasticsearch-1.7.5/config/elasticsearch.yml" @@ -60,5 +76,4 @@ EOF scp ${WORKSPACE}/elasticsearch_startup.sh ${!CONTROLLERIP}:/tmp ssh ${!CONTROLLERIP} 'bash /tmp/elasticsearch_startup.sh' ssh ${!CONTROLLERIP} 'ps aux | grep elasticsearch' - done