1
0
Fork 0

cluster: add bc01n05.hswaw.net

This will be our postgres pet machine.

Change-Id: Ifff6648394ca6407fb5b5daa853f4abc42541703
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1467
Reviewed-by: q3k <q3k@hackerspace.pl>
master
q3k 2023-02-28 01:15:40 +00:00 committed by q3k
parent 3a9562ecfd
commit 712a5dc3e3
3 changed files with 36 additions and 3 deletions

View File

@ -139,9 +139,14 @@ local rook = import "lib/rook.libsonnet";
devices: [
{ name: "/dev/disk/by-id/wwn-0x" + id }
for id in [
"5000c5008508c433",
"5000c500850989cf",
"5000c5008508baf7",
"5000c5008508c433", # ST6000NM0034 Z4D40QZR0000R629ME1B
"5000c500850989cf", # ST6000NM0034 Z4D40JRL0000R63008A2
"5000c5008508baf7", # ST6000NM0034 Z4D40M380000R630V00M
"5000c5008508f843", # ST6000NM0034 Z4D40LGP0000R630UVTD
"5000c500850312cb", # ST6000NM0034 Z4D3ZAAX0000R629NW31
"5000c500850293e3", # ST6000NM0034 Z4D3Z5TD0000R629MF7P
"5000c5008508e3ef", # ST6000NM0034 Z4D40LM50000R630V0W3
"5000c5008508e23f", # ST6000NM0034 Z4D40QMX0000R629MD3C
]
],
},

View File

@ -0,0 +1,27 @@
{ config, pkgs, ... }:
with builtins;
rec {
networking.hostName = "bc01n05";
# TODO: undefine fqdn and define domain after big nix change
hscloud.base.fqdn = "${networking.hostName}.hswaw.net";
#networking.domain = "hswaw.net";
system.stateVersion = "22.05";
nix.maxJobs = 16;
boot.loader.grub.device = "/dev/sda";
fileSystems."/".device = "/dev/disk/by-uuid/c6658511-3304-44ba-a161-049b843e63f8";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2a951c5d-0193-4ef3-9227-d8a5184cbd63";
fsType = "ext4";
};
hscloud.base = {
mgmtIf = "eno1";
ipAddr = "185.236.240.37";
ipAddrBits = 28;
gw = "185.236.240.33";
};
}

View File

@ -109,6 +109,7 @@ let
machines = self: {
"bc01n01.hswaw.net" = mkClusterMachineNew self ../cluster/machines/bc01n01.hswaw.net.nix;
"bc01n02.hswaw.net" = mkClusterMachine self ../cluster/machines/bc01n02.hswaw.net.nix;
"bc01n05.hswaw.net" = mkClusterMachineNew self ../cluster/machines/bc01n05.hswaw.net.nix;
"dcr01s22.hswaw.net" = mkClusterMachine self ../cluster/machines/dcr01s22.hswaw.net.nix;
"dcr01s24.hswaw.net" = mkClusterMachine self ../cluster/machines/dcr01s24.hswaw.net.nix;