summaryrefslogtreecommitdiff
path: root/clusters
diff options
context:
space:
mode:
authorMike Smith <mike.smith@codethink.co.uk>2014-12-11 14:23:59 +0000
committerMike Smith <mike.smith@codethink.co.uk>2014-12-18 13:29:42 +0000
commitefbe0573ce48cfe860345a683e40c27debcb894b (patch)
treef279c18f23db73a3498cb80a21fc7d2d0566e0fe /clusters
parentf7dd00169f2482a4db7087008317589848afed32 (diff)
downloaddefinitions-efbe0573ce48cfe860345a683e40c27debcb894b.tar.gz
Add chunks for Java, ANT and ZooKeeper
Java is sourced from the binary Java release from Oracle. This chunk was originally written by Francisco Marchena. ANT is a Java build system and is needed by ZooKeeper. ZooKeeper itself is documented at http://zookeeper.apache.org/ This patch also brings in a zookeeper test program in a seperate strata that can be safely discarded if not required. this test program was written by me, <mike.smith@codethink.co.uk> and is not designed to be used in any practical way, but to showcase the functionality of zookeeper within baserock The ZooKeeper demonstration server and client are currently hosted on baserock/test. The Java binary chunk only works for x86_64. As such, these systems are limited to that architecture.
Diffstat (limited to 'clusters')
-rw-r--r--clusters/zookeeper.morph21
1 files changed, 21 insertions, 0 deletions
diff --git a/clusters/zookeeper.morph b/clusters/zookeeper.morph
new file mode 100644
index 00000000..1153d4b0
--- /dev/null
+++ b/clusters/zookeeper.morph
@@ -0,0 +1,21 @@
+name: zookeeper
+kind: cluster
+systems:
+ - morph: systems/zookeeper-client-x86_64.morph
+ deploy:
+ my-client-system:
+ type: kvm
+ location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-client.img
+ DISK_SIZE: 4G
+ RAM_SIZE: 1G
+ VCPUS: 1
+ HOSTNAME: zkclient
+ - morph: systems/zookeeper-server-x86_64.morph
+ deploy:
+ my-server-system:
+ type: kvm
+ location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-server.img
+ DISK_SIZE: 4G
+ RAM_SIZE: 1G
+ VCPUS: 1
+ HOSTNAME: zkserver