diff options
author | Mike Smith <mike.smith@codethink.co.uk> | 2014-12-11 14:28:25 +0000 |
---|---|---|
committer | Mike Smith <mike.smith@codethink.co.uk> | 2014-12-11 14:28:25 +0000 |
commit | e2b24f9b20ca11d86c0680be91a6532162b34baa (patch) | |
tree | 73d70fb6609fca09a2b2437ae8f584a10ced117c | |
parent | 88514e178073110372b06edbf00eba1a9a8d2a36 (diff) | |
download | definitions-e2b24f9b20ca11d86c0680be91a6532162b34baa.tar.gz |
Add ZooKeeper systems for x86_64 and example cluster to deploy them.
The Java binary chunk only works for x86_64. As such, these
systems are limited to that architecture and use the demo strata
developed in the previous commit.
The cluster provides the ability to deploy either or both of the
systems to a libvirt/kvm host.
-rw-r--r-- | clusters/zookeeper.morph | 21 | ||||
-rw-r--r-- | systems/devel-system-x86_64-zookeeper-client.morph | 31 | ||||
-rw-r--r-- | systems/devel-system-x86_64-zookeeper-server.morph | 31 |
3 files changed, 83 insertions, 0 deletions
diff --git a/clusters/zookeeper.morph b/clusters/zookeeper.morph new file mode 100644 index 00000000..b7f2dd27 --- /dev/null +++ b/clusters/zookeeper.morph @@ -0,0 +1,21 @@ +name: zookeeper +kind: cluster +systems: + - morph: systems/devel-system-x86_64-zookeeper-client.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/devel-system-x86_64-zookeeper-server.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 diff --git a/systems/devel-system-x86_64-zookeeper-client.morph b/systems/devel-system-x86_64-zookeeper-client.morph new file mode 100644 index 00000000..6f6f438f --- /dev/null +++ b/systems/devel-system-x86_64-zookeeper-client.morph @@ -0,0 +1,31 @@ +name: devel-system-x86_64-zookeeper-client +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. includes th installation of zookeeper and a test client. +arch: x86_64 +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: bsp-x86_64-generic + morph: strata/bsp-x86_64-generic.morph +- name: tools + morph: strata/tools.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: zookeeper + morph: strata/zookeeper-client.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- cloud-init diff --git a/systems/devel-system-x86_64-zookeeper-server.morph b/systems/devel-system-x86_64-zookeeper-server.morph new file mode 100644 index 00000000..1c1f8496 --- /dev/null +++ b/systems/devel-system-x86_64-zookeeper-server.morph @@ -0,0 +1,31 @@ +name: devel-system-x86_64-zookeeper-server +kind: system +description: A system that is able to build other systems based on the 64-bit x86 + architecture. includes the zookeeper server and setup for basic tests +arch: x86_64 +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: bsp-x86_64-generic + morph: strata/bsp-x86_64-generic.morph +- name: tools + morph: strata/tools.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: zookeeper + morph: strata/zookeeper-server.morph +configuration-extensions: +- set-hostname +- add-config-files +- simple-network +- nfsboot +- install-files +- cloud-init |