m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/copyKey.sh3
-rwxr-xr-xscripts/copyScripts.sh3
-rwxr-xr-xscripts/runAgent.sh3
-rwxr-xr-xscripts/runClient.sh3
-rwxr-xr-xscripts/runFetcher.sh3
-rwxr-xr-xscripts/runQuerySigner.sh3
6 files changed, 18 insertions, 0 deletions
diff --git a/scripts/copyKey.sh b/scripts/copyKey.sh
new file mode 100755
index 0000000..a2c4791
--- /dev/null
+++ b/scripts/copyKey.sh
@@ -0,0 +1,3 @@
+for num in 02 03 04 05; do
+ scp build/tmp/query_signer.pub "rainbow${num}:~/CloudAtlas/build/tmp/"
+done
diff --git a/scripts/copyScripts.sh b/scripts/copyScripts.sh
new file mode 100755
index 0000000..4f39469
--- /dev/null
+++ b/scripts/copyScripts.sh
@@ -0,0 +1,3 @@
+for num in 02 03 04 05; do
+ scp scripts/run*.sh "rainbow${num}:~/CloudAtlas/scripts/"
+done
diff --git a/scripts/runAgent.sh b/scripts/runAgent.sh
new file mode 100755
index 0000000..862697a
--- /dev/null
+++ b/scripts/runAgent.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./gradlew runAgent -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}"
diff --git a/scripts/runClient.sh b/scripts/runClient.sh
new file mode 100755
index 0000000..d6a7c7e
--- /dev/null
+++ b/scripts/runClient.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./gradlew runClient -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}" -DquerySignerHostname=rainbow01
diff --git a/scripts/runFetcher.sh b/scripts/runFetcher.sh
new file mode 100755
index 0000000..fc1d9d5
--- /dev/null
+++ b/scripts/runFetcher.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./gradlew runFetcher -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}" -DownAddr="10.1.1.1${NODE_NUMBER#0}" -DfallbackContacts="$FALLBACKS"
diff --git a/scripts/runQuerySigner.sh b/scripts/runQuerySigner.sh
new file mode 100755
index 0000000..333e7ec
--- /dev/null
+++ b/scripts/runQuerySigner.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./gradlew runQuerySigner -DquerySignerHostname=rainbow01 -Dhostname=rainbow01