Commit Graph

85 Commits

Author SHA1 Message Date
Vedran Mendelski 8c61563acc mainnet: switch to nftables 2024-09-25 14:12:48 +02:00
markoburcul c38dc75f7f
ansible: Change hostname to inventory_hostname
Due to the change caused by updated terraform script, we need to change
usage of variable `hostname` to `inventory_hostname`.

Signed-off-by: markoburcul <marko@status.im>
2024-09-16 08:10:36 +02:00
Anton Iakimov c49ba92c83
mainnet: removed unused variable 2024-08-26 15:04:28 +02:00
Jakub Sokołowski 17d767c59d
fluffy: deploy portal-bridge instance
And use `linux-02` from `nimbus.mainnet` for EL.

https://github.com/status-im/infra-nimbus/issues/182

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-28 13:56:39 +02:00
Jakub Sokołowski 8f62939e54
mainnet,sepolia,holesky: open Nginx ports for ERA files
It appears the rules were lost at some point:
https://github.com/status-im/infra-nimbus/issues/187

And yes, not all hosts need this port open, but will in the future and
there's currently no harm in it, it's just dev fleets.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-20 16:17:43 +02:00
Jakub Sokołowski ee4db9e740
mainnet: build ncli_db for ERA files generation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-18 12:26:39 +02:00
Jakub Sokołowski 9fa3af9a37
mainnet,sepolia,holesky: disable checks on public API nodes
Flakiness of REST API when abused by exposure to the internet makes
these healthchecks useless. They essentially produce noise.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-14 19:46:54 +02:00
Jakub Sokołowski 0ac7766cb1
mainnet,sepolia,holesky: fix format of extra_flags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-12 01:17:43 +02:00
Jakub Sokołowski 82b65e6918
miannet,sepolia,holesky: run update jobs every 2 hours
Otherwise we get a massive CPU load spike that makes nodes unavailable.

Also fix nim flags variable names.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-11 08:37:36 +02:00
Jakub Sokołowski e1b9f8d867
mainnet: remove unnecessary commented line
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-22 17:27:19 +02:00
Anton Iakimov ee741f17e4
nimbus.mainnet: simplify success_before_passing logic 2024-05-22 16:10:38 +02:00
Anton Iakimov e4b080274b
mainnet: set public testing endpoint check to recover faster 2024-05-20 16:39:22 +02:00
Jakub Sokołowski 60dd11a88e
holesky,mainnet,sepolia: lower consul sensitivity
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-24 08:25:36 +02:00
Jakub Sokołowski ce13aac5ce
nimbus.mainnet: download BN when branch is stable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-01 13:50:34 +02:00
Jakub Sokołowski 4a7355d91d
nimbus.mainnet: disable subscribe-all for bootstrap
Generates high CPU load and deteriorates bootstrap node performance.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-08 15:19:17 +01:00
Jakub Sokołowski de1ae7b873
nimbus.mainnet: rename nodes to include bootstrap word
This is additional precaution to avoid accidental destruction of these hosts
as they are used by Ethereum clients to connect to the network.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-05 10:41:52 +01:00
Anton Iakimov 0395e9a253
nimbus.mainnet: remove beacon-node-mainnet-testing-02 2024-02-27 16:06:23 +01:00
Alexis Pentori f4ffeb4d6e
mainnet: remove BN stable-02 from holesky.mainnet
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-02-23 12:29:48 +01:00
Jakub Sokołowski cb5176502f
nimbus.master: disable wildcard REST API origin
Suspected to be related to REST API timeout issues:
https://github.com/status-im/nimbus-eth2/issues/5838

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-02 15:25:45 +01:00
Jakub Sokołowski 9fbf61806a
nimbus.mainnet: use all geth nodes in the fleet
To allow individual geth nodes to be re-synced gradually.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 09:40:14 +01:00
Jakub Sokołowski 781b9e7524
nimbus.mainnet: switch exec URLs on linux-03
Necessary to allow the geth node to resync using new schema in order to
save disk space.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-08 22:09:07 +01:00
Jakub Sokołowski 9be87e32ce
nimbus.mainnet: reduce Consul alerts sensitivity
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 11:13:26 +01:00
Jakub Sokołowski 8d5d8a3935
refactor handling of long libp2p branch name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-08 15:22:03 +02:00
Jakub Sokołowski de28d46133
nimbus.mainnet: enable yamux for 2 libp2p nodes
https://github.com/status-im/infra-nimbus/issues/148

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-23 15:14:42 +02:00
Jakub Sokołowski 43b238c87e
nimbus.all: use new --validator-monitor-details flag
Replaced `--validator-monitor-totals` in:
https://github.com/status-im/nimbus-eth2/pull/4468

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-07 19:04:37 +02:00
Etan Kissling b33a35c5e1
nimbus: set --rest-allow-origin='*' for public_api
To allow browser based clients to access our API servers.

Depends on:

- https://github.com/status-im/infra-role-beacon-node-linux/pull/14
- https://github.com/status-im/infra-role-beacon-node-linux/pull/15
- https://github.com/status-im/infra-role-beacon-node-macos/pull/7
- https://github.com/status-im/infra-role-beacon-node-macos/pull/8
- https://github.com/status-im/infra-role-beacon-node-windows/pull/6
- https://github.com/status-im/infra-role-beacon-node-windows/pull/7

Signed-off-by: Etan Kissling <etan@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-05 13:45:55 +02:00
Jakub Sokołowski c15e1ea358
nimbus.mainnet: 10k max peers for stable-02@linux-03
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-16 12:38:24 +02:00
Jakub Sokołowski 0cd6de1ea6
nimbus.mainnet: use ncli_db from stable node
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-16 12:14:27 +02:00
Jakub Sokołowski d04a98ea11
remove metal-01.he-eu-hel1.nimbus.mainnet
https://github.com/status-im/infra-nimbus/issues/132

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-16 11:05:30 +02:00
Jakub Sokołowski 406ac58f16
nimbus.mainnet: use --no-el for even number nodes
Attempted fix issues with syncing where latency on the Geth endpoint is
too high for beacon nodes to finish syncing properly.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-05 20:58:53 +02:00
Jakub Sokołowski 01cf22c9f8
get-geth-api-urls: rename variables for clarity
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-05 19:21:49 +02:00
Jakub Sokołowski 5635b39e50
mainnet: decommission 6 Hetzner hosts
Being replaced by InnovaHosting servers
https://github.com/status-im/infra-nimbus/issues/132

I'm leaving old `metal-07` as `metal-01` since we don't have a server
with `libp2p` nodes on mainnet yet.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-28 12:22:46 +02:00
Jakub Sokołowski e43ede93a5
nimbus.mainnet: fix exec layer URL logic
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-20 22:28:26 +02:00
Jakub Sokołowski 940b2577da
nimbus.mainnet: add node layout for new Innova hosts
Once they are synced and working we'll remove the Hetzner ones.

https://github.com/status-im/infra-nimbus/issues/132

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-18 18:14:53 +02:00
Jakub Sokołowski 8ddbd86139
nimbus.mainnet: revert removing of stable-02 node
This reverts commit ab266d132d.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-17 20:06:57 +02:00
Jakub Sokołowski ab266d132d
nimbus.mainnet: remove stable-02 node to save space
We can always re-add it when we deploy to our new hosts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-07 12:00:20 +02:00
Jakub Sokołowski 4ea58aeda7
deploy SMART metrics to all metal hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-18 18:02:58 +01:00
Jakub Sokołowski e1e21119da
use new exec layer variables for beacon nodes
Role changes:
- https://github.com/status-im/infra-role-beacon-node-linux/commit/99a445d1
- https://github.com/status-im/infra-role-beacon-node-macos/commit/eecf9fea
- https://github.com/status-im/infra-role-beacon-node-windows/commit/dba21b36

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-16 00:59:48 +01:00
Jakub Sokołowski 5783656224
nimbus.mainnet: make AWS nodes have archive history
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-02 12:22:51 +01:00
Jakub Sokołowski 090c4661a9
nimbus.mainnet: use AWS hosts to sync first node
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-02 12:22:44 +01:00
Jakub Sokołowski 15d96ca3be
nimbus.mainnet/prater: use more threads than 1
This setting is quite old and it's time to use more than one thread.
The `libp2p` branch is the exception that will keep using 1 thread.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-24 11:37:17 +01:00
Jakub Sokołowski 3e3cff6840
nimbus.mainnet/prater: enable pruned history
For most nodes this is fine, except for nodes with publicly exposed API,
which we should keep as synced from genesis and in archive mode.

Every other node is fine being prunned. I'm keeping AWS nodes not pruned
as fallback since increasing their storage is quick and easy.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 22:52:41 +01:00
Jakub Sokołowski d6da1ce336
nimbus.mainnet: drop db_purge and db_sync vars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 12:38:17 +01:00
Jakub Sokołowski cd982c44f3
drop unused nimbus-db-purge role in favor of resync
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-03 15:00:39 +01:00
Jakub Sokołowski 86a5a83c99
nimbus.mainnet: use unstable ncli_db for ERA files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-30 10:46:37 +01:00
Jakub Sokołowski 83073a7567
nimbus.mainnet: deploy libp2p nodes to metal-07
Because `libp2p` nodes take up space on 05 and 06.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-19 12:16:50 +02:00
Jakub Sokołowski c8e3232dff
nimbus-era-files: use --network flag to fix errors
Changes to default runtime config have caused errors like this:
```
FAT Could not load head state, database corrupt? tid=3639597 file=blockchain_dag.nim:920 head=e7d4f3b7:4636671 tail=4d611d5b:0 genesis=4d611d5b:0
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 09:30:46 +02:00
Jakub Sokołowski 759b3c8bf3
nimbus.prater: enable full light client data
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-28 15:24:36 +02:00
Jakub Sokołowski e966bb1a59
nimbus.mainnet: fix web3 url conditional
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 19:27:52 +02:00
Zahary Karadjov 4e477b0c2f
nimbus.mainnet: enable full light client data
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 11:41:01 +02:00