summaryrefslogtreecommitdiff
path: root/clusters/openstack-cluster.morph
diff options
context:
space:
mode:
Diffstat (limited to 'clusters/openstack-cluster.morph')
-rw-r--r--clusters/openstack-cluster.morph53
1 files changed, 44 insertions, 9 deletions
diff --git a/clusters/openstack-cluster.morph b/clusters/openstack-cluster.morph
index c869e2e..26849d3 100644
--- a/clusters/openstack-cluster.morph
+++ b/clusters/openstack-cluster.morph
@@ -4,14 +4,49 @@ systems:
- morph: systems/openstack-server.morph
deploy:
release:
- type: rawdisk
- location: baserock-xx-openstack-system-x86_64.img
- # type: kvm
- # location: kvm+ssh://franred@refinery.ducie.codethink.co.uk/franred-openstack-test/home/franred/openstack.img
- DISK_SIZE: 5G
- RAM_SIZE: 1G
+ type: kvm
+ location: kvm+ssh://user@host/openstack-server/home/user/openstack-server.img
+ DISK_SIZE: 10G
+ RAM_SIZE: 3G
VCPUS: 1
- INSTALL_FILES: openstack/manifest
+ INSTALL_FILES: openstack/manifest swift/manifest
+
+ #########################################################################
+ ## Swift config options
+ #########################################################################
+
+ SWIFT_CONTROLLER: True
+
+ SWIFT_ADMIN_PASSWORD: insecure
+
+ SWIFT_PART_POWER: 10
+ SWIFT_REPLICAS: 3
+ SWIFT_MIN_PART_HOURS: 1
+
+ SWIFT_STORAGE_DEVICES: [{ ip: <storage node 0 management ip>, device: sdb, weight: 100 },
+ { ip: <storage node 0 management ip>, device: sdc, weight: 100 },
+ { ip: <storage node 0 management ip>, device: sdd, weight: 100 },
+
+ { ip: <storage node 1 management ip>, device: sdb, weight: 100 },
+ { ip: <storage node 1 management ip>, device: sdc, weight: 100 },
+ { ip: <storage node 1 management ip>, device: sdd, weight: 100 }]
+
+ # This value can be any random string or number
+ # but each node in your swift cluster must have the same values
+ SWIFT_REBALANCE_SEED: 3828
+
+ # NOTE: Replace SWIFT_HASH_PATH_PREFIX and SWIFT_HASH_PATH_SUFFIX
+ # with your own unique values,
+ #
+ # `openssl rand -hex 10' can be used to generate unique values
+ #
+ # These values should be kept secret, do not lose them.
+ #
+ SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d
+ SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d
+
+ #########################################################################
+
HOSTNAME: onenode
RABBITMQ_HOST: onenode
RABBITMQ_PORT: 5672
@@ -22,7 +57,7 @@ systems:
KEYSTONE_DB_USER: keystoneDB
KEYSTONE_DB_PASSWORD: veryinsecure
CONTROLLER_HOST_ADDRESS: onenode
- MANAGEMENT_INTERFACE_IP_ADDRESS: 10.24.1.46
+ MANAGEMENT_INTERFACE_IP_ADDRESS: <management ip>
GLANCE_SERVICE_USER: glance
GLANCE_SERVICE_PASSWORD: veryinsecure
GLANCE_DB_USER: glanceDB
@@ -42,4 +77,4 @@ systems:
NEUTRON_DB_USER: neutronDB
NEUTRON_DB_PASSWORD: veryinsecure
METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret
- HOSTS_ONENODE: 10.24.1.46 onenode
+ HOSTS_ONENODE: <management ip> onenode