Added large I/O message support. (#95)

This commit is contained in:
Ravin Perera
2020-06-05 21:54:06 +05:30
committed by GitHub
parent 10374352c6
commit 3aed949032
12 changed files with 791 additions and 727 deletions

View File

@@ -115,16 +115,16 @@ done
for (( i=1; i<=$ncount; i++ ))
do
mkdir -p ./node$i/statehist/0/data/ > /dev/null 2>&1
mkdir -p ./node$i/state/seed > /dev/null 2>&1
# Load credit balance for user for testing purposes.
pushd ./node$i/statehist/0/data/ > /dev/null 2>&1
# Load credit balance for user for appbill testing purposes.
pushd ./node$i/state/seed/ > /dev/null 2>&1
>appbill.table
../../../../../bin/appbill --credit "705bf26354ee4c63c0e5d5d883c07cefc3196d049bd3825f827eb3bc23ead035" 10000
../../../../bin/appbill --credit "705bf26354ee4c63c0e5d5d883c07cefc3196d049bd3825f827eb3bc23ead035" 10000
popd > /dev/null 2>&1
# Copy any more initial state files for testing.
#cp ~/my_big_file ~/hpcore/hpcluster/node$i/statehist/0/data/
#cp ~/my_big_file ~/hpcore/hpcluster/node$i/state/seed/
done

View File

@@ -42,7 +42,7 @@ fi
if [ $mode = "check" ]; then
let nodeid=$2-1
vmip=${vmips[$nodeid]}
sshpass -f vmpass.txt ssh geveo@$vmip 'echo hpcore pid:$(pidof hpcore) hpfs pid:$(pidof hpfs) websocketd pid:$(pidof websocketd)'
sshpass -f vmpass.txt ssh geveo@$vmip 'echo hpcore pid:$(pidof hpcore) hpfs pid:$(pidof hpfs) websocketd pid:$(pidof websocketd) websocat pid:$(pidof websocat)'
exit 0
fi
@@ -59,6 +59,7 @@ if [ $mode = "kill" ]; then
sshpass -f vmpass.txt ssh geveo@$vmip 'sudo kill $(pidof hpcore) > /dev/null 2>&1'
sshpass -f vmpass.txt ssh geveo@$vmip 'sudo kill $(pidof hpfs) > /dev/null 2>&1'
sshpass -f vmpass.txt ssh geveo@$vmip 'sudo kill $(pidof websocketd) > /dev/null 2>&1'
sshpass -f vmpass.txt ssh geveo@$vmip 'sudo kill $(pidof websocat) > /dev/null 2>&1'
exit 0
fi

View File

@@ -10,9 +10,9 @@
name=$1
loc=$2
vmsize=Standard_B1ls
vmsize=Standard_B1s
vmpass=$(cat vmpass.txt)
resgroup=My-ResGroup
resgroup=HotPocket-ResGroup
az vm create --name $name --resource-group $resgroup --size $vmsize --admin-username geveo --admin-password $vmpass --image UbuntuLTS --location $loc --generate-ssh-keys
az vm open-port --resource-group $resgroup --name $name --port 22860 --priority 900 && \