Skip to content

Instantly share code, notes, and snippets.

@moizr

moizr/output.txt Secret

Created October 30, 2014 15:51
Show Gist options
  • Save moizr/2455529e3bda87312223 to your computer and use it in GitHub Desktop.
Save moizr/2455529e3bda87312223 to your computer and use it in GitHub Desktop.
Sample output of cluster deployment script
MORAJA-M-301N:cluster-deployer moizr$ python deploy.py --distribution=/Users/moizr/code/integration/distributions/extra/karaf/target/distribution-karaf-0.2.1-SNAPSHOT.zip --rootdir=/root --hosts=10.194.126.49,10.194.126.50,10.194.126.51 --user=root --password=cvg123 --clean
Executing command mkdir -p /root/deploy/1414682858.29 on host 10.194.126.49
Executing command rm -rf /root/deploy/* on host 10.194.126.49
Executing command rm -rf /root/.m2/repository on host 10.194.126.49
Executing command ps axf | grep karaf | grep -v grep | awk '{print "kill -9 " $1}' | sh on host 10.194.126.49
Copying /Users/moizr/code/integration/distributions/extra/karaf/target/distribution-karaf-0.2.1-SNAPSHOT.zip to /root/deploy/1414682858.29/odl.zip on 10.194.126.49
Executing command unzip /root/deploy/1414682858.29/odl.zip -d /root/deploy/1414682858.29/ on host 10.194.126.49
Executing command mv /root/deploy/1414682858.29/distribution-karaf-0.2.1-SNAPSHOT /root/deploy/1414682858.29/odl on host 10.194.126.49
Executing command mkdir -p /root/deploy/1414682858.29/odl/configuration/initial on host 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/akka.conf to /root/deploy/1414682858.29/odl/configuration/initial/ on 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/module-shards.conf to /root/deploy/1414682858.29/odl/configuration/initial/ on 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/modules.conf to /root/deploy/1414682858.29/odl/configuration/initial/ on 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/org.apache.karaf.features.cfg to /root/deploy/1414682858.29/odl/etc/ on 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/jolokia.xml to /root/deploy/1414682858.29/odl/deploy/ on 10.194.126.49
Copying /Users/moizr/code/integration/test/tools/cluster-deployer/temp/org.apache.karaf.management.cfg to /root/deploy/1414682858.29/odl/etc/ on 10.194.126.49
Executing command ln -sfn /root/deploy/1414682858.29 /root/deploy/current on host 10.194.126.49
Executing command /root/deploy/1414682858.29/odl/bin/start on host 10.194.126.49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment