Add tent machine from xeon04
We moved the tent machine to the server room in the BSC building and is now directly connected to the raccoon via NAT. Fixes: #106 Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
		
							parent
							
								
									4b868c0136
								
							
						
					
					
						commit
						1e7f1365cd
					
				| @ -18,6 +18,7 @@ in | ||||
|   { | ||||
|     nixosConfigurations = { | ||||
|       hut     = mkConf "hut"; | ||||
|       tent    = mkConf "tent"; | ||||
|       owl1    = mkConf "owl1"; | ||||
|       owl2    = mkConf "owl2"; | ||||
|       eudy    = mkConf "eudy"; | ||||
|  | ||||
| @ -17,7 +17,7 @@ | ||||
|     owl1   = { pos=35; size=1; label="SSF-XEON01"; board="S2600WTTR"; sn="BQWL64954172"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     owl2   = { pos=34; size=1; label="SSF-XEON02"; board="S2600WTTR"; sn="BQWL64756560"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     xeon03 = { pos=33; size=1; label="SSF-XEON03"; board="S2600WTTR"; sn="BQWL64750826"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     xeon04 = { pos=32; size=1; label="SSF-XEON04"; board="S2600WTTR"; sn="BQWL64751229"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     # Slot 34 empty | ||||
|     koro   = { pos=31; size=1; label="SSF-XEON05"; board="S2600WTTR"; sn="BQWL64954293"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     xeon06 = { pos=30; size=1; label="SSF-XEON06"; board="S2600WTTR"; sn="BQWL64750846"; contact="antoni.navarro@bsc.es"; }; | ||||
|     hut    = { pos=29; size=1; label="SSF-XEON07"; board="S2600WTTR"; sn="BQWL64751184"; contact="rodrigo.arias@bsc.es"; }; | ||||
| @ -48,6 +48,7 @@ | ||||
| 
 | ||||
|   bsc2218 = { | ||||
|     raccoon = { board="W2600CR"; sn="QSIP22500829"; contact="rodrigo.arias@bsc.es"; }; | ||||
|     tent    = { label="SSF-XEON04"; board="S2600WTTR"; sn="BQWL64751229"; contact="rodrigo.arias@bsc.es"; }; | ||||
|   }; | ||||
| 
 | ||||
|   upc = { | ||||
|  | ||||
| @ -26,6 +26,18 @@ | ||||
|       address = "84.88.51.152"; | ||||
|       prefixLength = 25; | ||||
|     } ]; | ||||
|     interfaces.enp5s0f1.ipv4.addresses = [ { | ||||
|       address = "10.0.44.1"; | ||||
|       prefixLength = 24; | ||||
|     } ]; | ||||
|     nat = { | ||||
|       enable = true; | ||||
|       internalInterfaces = [ "enp5s0f1" ]; | ||||
|       externalInterface = "eno0"; | ||||
|     }; | ||||
|     hosts = { | ||||
|       "10.0.44.4" = [ "tent" ]; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   nix.settings = { | ||||
|  | ||||
							
								
								
									
										38
									
								
								m/tent/configuration.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								m/tent/configuration.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,38 @@ | ||||
| { config, pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ../common/xeon.nix | ||||
|     ../module/emulation.nix | ||||
|     ../module/debuginfod.nix | ||||
|   ]; | ||||
| 
 | ||||
|   # Select the this using the ID to avoid mismatches | ||||
|   boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d537675"; | ||||
| 
 | ||||
|   networking = { | ||||
|     hostName = "tent"; | ||||
|     interfaces.eno1.ipv4.addresses = [ | ||||
|       { | ||||
|         address = "10.0.44.4"; | ||||
|         prefixLength = 24; | ||||
|       } | ||||
|     ]; | ||||
| 
 | ||||
|     # Only BSC DNSs seem to be reachable from the office VLAN | ||||
|     nameservers = [ "84.88.52.35" "84.88.52.36" ]; | ||||
|     defaultGateway = "10.0.44.1"; | ||||
|   }; | ||||
| 
 | ||||
|   nix.settings = { | ||||
|     extra-substituters = [ "https://jungle.bsc.es/cache" ]; | ||||
|     extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; | ||||
|   }; | ||||
| 
 | ||||
|   services.prometheus.exporters.node = { | ||||
|     enable = true; | ||||
|     enabledCollectors = [ "systemd" ]; | ||||
|     port = 9002; | ||||
|     listenAddress = "127.0.0.1"; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user