add helper to the start script

parent 11e7c66e
#!/bin/bash -x
cd ~/downloads/deidtect/Code/OpenStack/deidtect-cloud
sudo ps aux | grep wanSDNHelper.py | head -2 | awk '{print $2}' | xargs sudo kill -9 $1
sudo nohup python wanSDNHelper.py &> /tmp/helperlog &
sudo ps -f | grep wanSDNHelper.py
......@@ -15,6 +15,7 @@ for (( i=1; i<=$computeCount; i++ )); do
done
sshcontroller="ssh $USERNAME@controller.${expname}.$experiment_domain"
sshext="ssh $USERNAME@ext.${expname}.$experiment_domain"
sshnetwork="ssh $USERNAME@network.${expname}.$experiment_domain"
for (( i=1; i<=$computeCount; i++ )); do
eval sshcompute${i}=\"ssh $USERNAME@compute${i}.${expname}.$experiment_domain\"
......@@ -35,6 +36,7 @@ cloudcontrollercmd="\{cd ~/downloads/deidtect/Code/OpenStack/deidtect-cloud; \
$sshcontroller 'bash -s' < runCloudController.sh
$sshnetwork 'bash -s' < runHelper.sh
$sshext 'bash -s' < runWanHelper.sh
for (( i=1; i<=$computeCount; i++ )); do
eval \$sshcompute${i} 'bash -s' < runHelper.sh
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment