From 5b85f5c26d06f15c8c9985df7c982253734704a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 23 Jun 2023 21:13:57 +0200 Subject: [PATCH] add three InnovaHosting servers to nimbus.geth fleet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/infra-nimbus/issues/132 Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/nimbus-geth-goerli.yml | 3 +++ ansible/inventory/test | 12 ++++++++++++ geth.tf | 18 ++++++++++++++++++ outputs.tf | 1 + 4 files changed, 34 insertions(+) diff --git a/ansible/group_vars/nimbus-geth-goerli.yml b/ansible/group_vars/nimbus-geth-goerli.yml index edd00ab..ab8830f 100644 --- a/ansible/group_vars/nimbus-geth-goerli.yml +++ b/ansible/group_vars/nimbus-geth-goerli.yml @@ -39,9 +39,12 @@ open_ports_list: nodes_layout: # For AWS Prater nodes. 'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}] + 'goerli-01.ih-eu-mda1.nimbus.geth': [{}, {}] # For MacOS Prater nodes. 'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}] + 'goerli-02.ih-eu-mda1.nimbus.geth': [{}, {}] # For Windows prater nodes. 'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}] + 'goerli-03.ih-eu-mda1.nimbus.geth': [{}, {}] diff --git a/ansible/inventory/test b/ansible/inventory/test index 969d8e4..f892365 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -2,8 +2,11 @@ # For emergency use when Consul fails [all] goerli-01.he-eu-hel1.nimbus.geth hostname=goerli-01.he-eu-hel1.nimbus.geth ansible_host=65.21.73.183 env=nimbus stage=geth data_center=he-eu-hel1 region=eu-hel1 dns_entry=goerli-01.he-eu-hel1.nimbus.geth.statusim.net +goerli-01.ih-eu-mda1.nimbus.geth hostname=goerli-01.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.234 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-01.ih-eu-mda1.nimbus.geth.statusim.net goerli-02.he-eu-hel1.nimbus.geth hostname=goerli-02.he-eu-hel1.nimbus.geth ansible_host=65.21.196.48 env=nimbus stage=geth data_center=he-eu-hel1 region=eu-hel1 dns_entry=goerli-02.he-eu-hel1.nimbus.geth.statusim.net +goerli-02.ih-eu-mda1.nimbus.geth hostname=goerli-02.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.235 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-02.ih-eu-mda1.nimbus.geth.statusim.net goerli-03.he-eu-hel1.nimbus.geth hostname=goerli-03.he-eu-hel1.nimbus.geth ansible_host=65.21.196.47 env=nimbus stage=geth data_center=he-eu-hel1 region=eu-hel1 dns_entry=goerli-03.he-eu-hel1.nimbus.geth.statusim.net +goerli-03.ih-eu-mda1.nimbus.geth hostname=goerli-03.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.236 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-03.ih-eu-mda1.nimbus.geth.statusim.net linux-01.he-eu-hel1.nimbus.prater hostname=linux-01.he-eu-hel1.nimbus.prater ansible_host=95.217.198.113 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-01.he-eu-hel1.nimbus.prater.statusim.net linux-01.ih-eu-mda1.nimbus.mainnet hostname=linux-01.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.70 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.mainnet.statusim.net linux-01.ih-eu-mda1.nimbus.prater hostname=linux-01.ih-eu-mda1.nimbus.prater ansible_host=185.181.230.78 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.prater.statusim.net @@ -71,6 +74,9 @@ store-03.he-eu-hel1.logs.nimbus windows-01.he-eu-hel1.nimbus.prater [ih-eu-mda1] +goerli-01.ih-eu-mda1.nimbus.geth +goerli-02.ih-eu-mda1.nimbus.geth +goerli-03.ih-eu-mda1.nimbus.geth linux-01.ih-eu-mda1.nimbus.mainnet linux-01.ih-eu-mda1.nimbus.prater linux-01.ih-eu-mda1.nimbus.sepolia @@ -106,8 +112,11 @@ metal-02.he-eu-hel1.nimbus.fluffy [nimbus-geth-goerli] goerli-01.he-eu-hel1.nimbus.geth +goerli-01.ih-eu-mda1.nimbus.geth goerli-02.he-eu-hel1.nimbus.geth +goerli-02.ih-eu-mda1.nimbus.geth goerli-03.he-eu-hel1.nimbus.geth +goerli-03.ih-eu-mda1.nimbus.geth [nimbus-geth-mainnet] mainnet-01.aws-eu-central-1a.nimbus.geth @@ -166,8 +175,11 @@ metal-02.he-eu-hel1.nimbus.fluffy [nimbus.geth] goerli-01.he-eu-hel1.nimbus.geth +goerli-01.ih-eu-mda1.nimbus.geth goerli-02.he-eu-hel1.nimbus.geth +goerli-02.ih-eu-mda1.nimbus.geth goerli-03.he-eu-hel1.nimbus.geth +goerli-03.ih-eu-mda1.nimbus.geth mainnet-01.aws-eu-central-1a.nimbus.geth [nimbus.mainnet] diff --git a/geth.tf b/geth.tf index 93e0547..aa0b77b 100644 --- a/geth.tf +++ b/geth.tf @@ -42,3 +42,21 @@ module "nimbus_geth_goerli_metal" { "65.21.196.47", # goerli-03.he-eu-hel1.nimbus.geth ] } + +module "nimbus_geth_goerli_innova" { + source = "github.com/status-im/infra-tf-dummy-module" + + name = "goerli" + env = "nimbus" + stage = "geth" + group = "nimbus-geth-goerli" + region = "eu-mda1" + prefix = "ih" + domain = var.domain + + ips = [ + "194.33.40.234", # goerli-01.ih-eu-mda1.nimbus.geth + "194.33.40.235", # goerli-02.ih-eu-mda1.nimbus.geth + "194.33.40.236", # goerli-03.ih-eu-mda1.nimbus.geth + ] +} diff --git a/outputs.tf b/outputs.tf index d1ca4b2..10b493e 100644 --- a/outputs.tf +++ b/outputs.tf @@ -4,6 +4,7 @@ output "hosts" { module.nimbus_log_store.hosts, module.nimbus_geth_mainnet.hosts, module.nimbus_geth_goerli_metal.hosts, + module.nimbus_geth_goerli_innova.hosts, module.nimbus_nodes_mainnet_innova.hosts, module.nimbus_nodes_mainnet_stable_small.hosts, module.nimbus_nodes_prater_stable_large.hosts,