From 53ccd34927c625c4d5cbab2a36416fa7c4305e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 17 Apr 2023 14:32:09 +0200 Subject: [PATCH] nimbus.prater: bootstrap new Innova servers 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 --- .../ih-eu-mda1.yml} | 0 ansible/inventory/test | 12 ++++++++++++ mainnet.tf | 18 ++++++++++++++++++ 3 files changed, 30 insertions(+) rename ansible/{host_vars/linux-01.ih-eu-mda1.nimbus.prater.yml => group_vars/ih-eu-mda1.yml} (100%) diff --git a/ansible/host_vars/linux-01.ih-eu-mda1.nimbus.prater.yml b/ansible/group_vars/ih-eu-mda1.yml similarity index 100% rename from ansible/host_vars/linux-01.ih-eu-mda1.nimbus.prater.yml rename to ansible/group_vars/ih-eu-mda1.yml diff --git a/ansible/inventory/test b/ansible/inventory/test index f993bcb..8bdacaa 100644 --- a/ansible/inventory/test +++ b/ansible/inventory/test @@ -6,9 +6,12 @@ goerli-02.he-eu-hel1.nimbus.geth hostname=goerli-02.he-eu-hel1.nimbus.geth ansib 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 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.he-eu-hel1.nimbus.sepolia hostname=linux-01.he-eu-hel1.nimbus.sepolia ansible_host=65.21.89.157 env=nimbus stage=sepolia data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-01.he-eu-hel1.nimbus.sepolia.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.229.82 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.prater.statusim.net linux-02.he-eu-hel1.nimbus.prater hostname=linux-02.he-eu-hel1.nimbus.prater ansible_host=95.217.230.20 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-02.he-eu-hel1.nimbus.prater.statusim.net +linux-02.ih-eu-mda1.nimbus.mainnet hostname=linux-02.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.72 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-02.ih-eu-mda1.nimbus.mainnet.statusim.net linux-03.he-eu-hel1.nimbus.prater hostname=linux-03.he-eu-hel1.nimbus.prater ansible_host=65.108.132.230 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-03.he-eu-hel1.nimbus.prater.statusim.net +linux-03.ih-eu-mda1.nimbus.mainnet hostname=linux-03.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.78 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-03.ih-eu-mda1.nimbus.mainnet.statusim.net linux-04.he-eu-hel1.nimbus.prater hostname=linux-04.he-eu-hel1.nimbus.prater ansible_host=135.181.20.36 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-04.he-eu-hel1.nimbus.prater.statusim.net linux-05.he-eu-hel1.nimbus.prater hostname=linux-05.he-eu-hel1.nimbus.prater ansible_host=95.217.224.92 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-05.he-eu-hel1.nimbus.prater.statusim.net linux-06.he-eu-hel1.nimbus.prater hostname=linux-06.he-eu-hel1.nimbus.prater ansible_host=95.217.204.216 env=nimbus stage=prater data_center=he-eu-hel1 region=eu-hel1 dns_entry=linux-06.he-eu-hel1.nimbus.prater.statusim.net @@ -74,7 +77,10 @@ store-03.he-eu-hel1.logs.nimbus windows-01.he-eu-hel1.nimbus.prater [ih-eu-mda1] +linux-01.ih-eu-mda1.nimbus.mainnet linux-01.ih-eu-mda1.nimbus.prater +linux-02.ih-eu-mda1.nimbus.mainnet +linux-03.ih-eu-mda1.nimbus.mainnet [log-dash] node-01.aws-eu-central-1a.dash.nimbus @@ -103,6 +109,9 @@ goerli-03.he-eu-hel1.nimbus.geth mainnet-01.aws-eu-central-1a.nimbus.geth [nimbus-mainnet-metal] +linux-01.ih-eu-mda1.nimbus.mainnet +linux-02.ih-eu-mda1.nimbus.mainnet +linux-03.ih-eu-mda1.nimbus.mainnet metal-01.he-eu-hel1.nimbus.mainnet metal-02.he-eu-hel1.nimbus.mainnet metal-03.he-eu-hel1.nimbus.mainnet @@ -156,6 +165,9 @@ goerli-03.he-eu-hel1.nimbus.geth mainnet-01.aws-eu-central-1a.nimbus.geth [nimbus.mainnet] +linux-01.ih-eu-mda1.nimbus.mainnet +linux-02.ih-eu-mda1.nimbus.mainnet +linux-03.ih-eu-mda1.nimbus.mainnet metal-01.he-eu-hel1.nimbus.mainnet metal-02.he-eu-hel1.nimbus.mainnet metal-03.he-eu-hel1.nimbus.mainnet diff --git a/mainnet.tf b/mainnet.tf index 4b64565..5984d9c 100644 --- a/mainnet.tf +++ b/mainnet.tf @@ -24,6 +24,24 @@ module "nimbus_nodes_mainnet_hetzner" { ] } +module "nimbus_nodes_mainnet_innova" { + source = "github.com/status-im/infra-tf-dummy-module" + + name = "linux" + env = "nimbus" + stage = "mainnet" + group = "nimbus-mainnet-metal" + region = "eu-mda1" + prefix = "ih" + domain = var.domain + + ips = [ + "194.33.40.70", /* linux-01.ih-eu-mda1.nimbus.mainnet */ + "194.33.40.72", /* linux-02.ih-eu-mda1.nimbus.mainnet */ + "194.33.40.78", /* linux-03.ih-eu-mda1.nimbus.mainnet */ + ] +} + /* Community test REST API endpoints. */ resource "cloudflare_record" "unstable_mainnet_beacon_api" { zone_id = local.zones["nimbus.team"]