Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions hosts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

# Assembly slurm tutorial: head node + worker nodes
[head_node]
#head-node ansible_ssh_host=115.146.87.229
head-node ansible_ssh_host=115.146.87.44

[worker_nodes]
#worker0 ansible_ssh_host=115.146.86.141
#worker1 ansible_ssh_host=115.146.86.37
#worker2 ansible_ssh_host=115.146.84.75
worker0 ansible_ssh_host=115.146.85.0
worker1 ansible_ssh_host=115.146.85.186
worker2 ansible_ssh_host=115.146.86.156

# containers_hosts: list IPs
[containers_hosts]
Expand Down
6 changes: 3 additions & 3 deletions terraform/Assembly_cluster/assembly_machines.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
count = 0
count = 3
disk_size = 1000 #GB
flavour = "m3.xlarge"
head_flavour = "m3.xlarge"
Expand All @@ -23,7 +23,7 @@ resource "openstack_compute_instance_v2" "Ass-cluster-head" {
}

# Head Volume
resource "openstack_blockstorage_volume_v2" "Ass-cluster-head-volume" {
resource "openstack_blockstorage_volume_v3" "Ass-cluster-head-volume" {
availability_zone = "melbourne-qh2"
name = "Ass-cluster-head-volume"
description = "Assembly cluster head volume for NFS"
Expand All @@ -33,7 +33,7 @@ resource "openstack_blockstorage_volume_v2" "Ass-cluster-head-volume" {
# Head volume attachment
resource "openstack_compute_volume_attach_v2" "Ass-cluster-head-volume-attachment" {
instance_id = "${openstack_compute_instance_v2.Ass-cluster-head.id}"
volume_id = "${openstack_blockstorage_volume_v2.Ass-cluster-head-volume.id}"
volume_id = "${openstack_blockstorage_volume_v3.Ass-cluster-head-volume.id}"
}

# Worker Instances
Expand Down