diff options
Diffstat (limited to 'clusters')
-rw-r--r-- | clusters/mason-openstack.morph | 39 | ||||
-rw-r--r-- | clusters/mason.morph | 56 | ||||
-rw-r--r-- | clusters/trove-example.morph | 58 | ||||
-rw-r--r-- | clusters/trove.baserock.org-upgrade.morph | 19 |
4 files changed, 0 insertions, 172 deletions
diff --git a/clusters/mason-openstack.morph b/clusters/mason-openstack.morph deleted file mode 100644 index 6a854bd5..00000000 --- a/clusters/mason-openstack.morph +++ /dev/null @@ -1,39 +0,0 @@ -name: mason-openstack -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. -systems: -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: example-cache-server - CONTROLLERHOST: controller-hostname - DISTBUILD_CONTROLLER: true - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: your-upstream-trove - TROVE_ID: your-upstream-trove-prefix - VCPUS: 2 - WORKER_SSH_KEY: ssh-keys/worker.key - deploy: - mason-openstack: - type: extensions/openstack - location: openstack-auth-url (eg example.com:5000/v2.0) - DISK_SIZE: 6G - DISTBUILD_CONTROLLER: true - HOSTNAME: controller-hostname - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: user@openstack-auth-url - WORKERS: controller-hostname - OPENSTACK_AUTH_URL: openstack-auth-url - OPENSTACK_USER: baserock - OPENSTACK_TENANT: baserock - OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec - OPENSTACK_IMAGENAME: mason-openstack - OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099 - CLOUD_INIT: true - KERNEL_ARGS: console=ttyS0 console=tty0 - TEST_INFRASTRUCTURE_TYPE: openstack diff --git a/clusters/mason.morph b/clusters/mason.morph deleted file mode 100644 index 376cf337..00000000 --- a/clusters/mason.morph +++ /dev/null @@ -1,56 +0,0 @@ -name: example-mason-cluster -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. - - It is suggested that you use mason/mason-generator.sh to adapt this - template to suit your needs. It also handles the generation of - keys to let the systems communicate. -systems: -- morph: systems/trove-system-x86_64.morph - deploy: - red-box-v1-trove: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-trove/vm-path/red-box-v1-trove.img - AUTOSTART: true - DISK_SIZE: 20G - HOSTNAME: red-box-v1-trove - LORRY_SSH_KEY: ssh_keys/lorry.key - MASON_SSH_PUBKEY: ssh_keys/mason.key.pub - RAM_SIZE: 8G - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/id_rsa.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: red-box-v1 - TROVE_ID: red-box-v1-trove - UPSTREAM_TROVE: upstream-trove - VCPUS: 2 - VERSION_LABEL: 45 - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: red-box-v1-trove.example.com - CONTROLLERHOST: red-box-v1-controller.example.com - DISTBUILD_CONTROLLER: false - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: upstream-trove - TROVE_ID: upstream-trove - VCPUS: 2 - WORKER_SSH_KEY: ssh_keys/worker.key - deploy: - red-box-v1-controller: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-controller/vm-path/red-box-v1-controller.img - DISK_SIZE: 60G - DISTBUILD_CONTROLLER: true - HOSTNAME: red-box-v1-controller - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: vm-user@vm-host:/vm-path/ - WORKERS: red-box-v1-controller diff --git a/clusters/trove-example.morph b/clusters/trove-example.morph deleted file mode 100644 index 81b1c901..00000000 --- a/clusters/trove-example.morph +++ /dev/null @@ -1,58 +0,0 @@ -name: trove-example -kind: cluster -description: | - This is an example cluster morphology for deploying a Trove, - both the initial deployment and an upgrade. - - You need some ssh keys, which you can create like this: - - mkdir ssh_keys - ssh-keygen -N '' -f ssh_keys/lorry.key - ssh-keygen -N '' -f ssh_keys/worker.key - ssh-keygen -N '' -f ssh_keys/trove-admin.key - - You may also put in your own keys instead of creating new ones. - - To do the initial deployment: - - morph deploy clusters/trove-example.morph \ - initial \ - initial.location=kvm+ssh://liw@192.168.122.1/test-trove/tmp/test-trove.img - - To do an upgrade: - - morph deploy clusters/trove-example.morph \ - upgrade upgrade.VERSION_LABEL=123 - - where `VERSION_LABEL` gets a new unique value each time. - - Remember to always specify either initial or upgrade as the - deployment name to use, otherwise morph will attempt to deploy both. - - You can find documentation for Trove at the following web address: - http://wiki.baserock.org/Trove/ -systems: -- morph: systems/trove-system-x86_64.morph - deploy-defaults: - HOSTNAME: test-trove - VCPUS: 2 - RAM_SIZE: 2G - DISK_SIZE: 8G - LORRY_SSH_KEY: ssh_keys/lorry.key - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/trove-admin.key.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: test-trove - TROVE_ID: test-trove - UPSTREAM_TROVE: '' - deploy: - initial: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/test-trove/vm-path/test-trove.img - VERSION_LABEL: 1 - upgrade: - type: extensions/ssh-rsync - location: test-trove diff --git a/clusters/trove.baserock.org-upgrade.morph b/clusters/trove.baserock.org-upgrade.morph deleted file mode 100644 index 2c54b816..00000000 --- a/clusters/trove.baserock.org-upgrade.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: trove.baserock.org-upgrade -kind: cluster -description: | - This is a cluster morphology for deploying an UPGRADE to - git.baserock.org. It doesn't work for the initial deployment. The - deployer MUST have ssh access to root@git.baserock.org. To use: - - morph upgrade clusters/trove.baserock.org-upgrade.morph gbo.VERSION_LABEL=2014-05-29 - - Replace the value of gbo.VERSION_LABEL above with the current date. - You can add letters if you need to upgrade multiple times in a day. -systems: -- morph: systems/trove-system-x86_64.morph - deploy: - gbo: - upgrade-type: extensions/ssh-rsync - upgrade-location: root@git.baserock.org - HOSTNAME: baserock - TROVE_GENERIC: True |