summaryrefslogtreecommitdiffstats
path: root/config.php
blob: 7fbfd718955dc4b7b545e4bd234ff0768bc41f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php

$DEFAULT_SERVER = "ipecompute1";
$DISTRIBUTIONS=array("centos7", "centos8", "fedora");

# disks will be synchronized with k3

$SERVERS = array(
    "templates" => "templates",
    "sysdisks" => "sda,sdb",
    "eth" => array("eno1", "eno2"),
    "domain" => "ipe.kit.edu",
    "cidr" => 23,
    "gw" => "141.52.64.207",
    "ns" => "141.52.3.3,141.52.8.18",
    "time" => "141.52.8.18",
    "append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
    "raid" => "RAID1",
    "size" => "80000",
    "home_size" => "500000",
    "bootsize" => "2048",
    "skip_security" => false,
    "skip_minimal" => false,
    "skip_home" => false,
);


$KATRIN_SERVERS = array_merge($SERVERS, array(
    "ks" => "ipekatrin-v4.ks",
    "sysdisks" => "sdb,sdc",
    "eth" => array("enp3s0f1", "enp3s0f0"),
));

$IPE_SERVERS = array_merge($SERVERS, array(
    "ks" => "ipe.ks",
    "cidr" => 24,
    "base_net" => "192.168.26.",
    "gw" => "192.168.26.117",
    "size" => "200000",

));

$ANDS_SERVERS = array_merge($IPE_SERVERS, array(
    "base_ip" => 140,
    "skip_home" => true,
));

$COMPUTE_SERVERS = array_merge($IPE_SERVERS, array(
    "base_ip" => 130,
    "raid" => "RAID0",
    "skip_home" => false,
));


$CAMERA_SERVERS = array_merge($IPE_SERVERS, array(
    "base_ip" => 80,
    "raid" => "RAID0",
    "skip_security" => true
));

$STUDENT_SERVERS = array_merge($IPE_SERVERS, array(
    "base_ip" => 60,
    "eth" => array("enp9s0", "enp6s0"),
    "append_sol" => "",
    "skip_security" => true
));


$SERVER_LIST = array(
    "ipecsavm" => array_merge($KATRIN_SERVERS, array(
	"ks" => "ipekatrin-v4.ks",
	"macs" => array("66:66:66:13:13:00"),
	"ip" => "192.168.26.254",
	"netmask" => "255.255.255.0",
	"gw" => "192.168.26.117",
	"raid" => "RAID0",
	"size" => "60000",
	"ethdev" => "link",
    )),
/*    "ipechilinga2" => array_merge($KATRIN_SERVERS, array(
	"domain" => "ka.fzk.de",
	"macs" => array("48:5b:39:75:fe:ec"),
	"headers" => array(
	    "REMOTE_ADDR" => array("141.52.64.104")
	)
    )),*/
    "ipekatrin1" => array_merge($KATRIN_SERVERS, array(
	"macs" => array("0c:c4:7a:de:f1:08", "0c:c4:7a:de:f1:09")
    )),
    "ipekatrin2" => array_merge($KATRIN_SERVERS, array(
	"macs" => array("0c:c4:7a:de:f0:e6", "0c:c4:7a:de:f0:e7")
    )),
    "ipekatrin3" => array_merge($KATRIN_SERVERS, array(
	"macs" => array("0c:c4:7a:a8:81:3e", "0c:c4:7a:a8:81:3f"),
	"eth" => array("eno2", "eno1"),
    )),
    "ands0" => array_merge($ANDS_SERVERS, array(
	"macs" => array("00:25:90:da:82:58", "00:25:90:da:82:59"),
	"eth" => array("enp9s0", "enp10s0"),
	"sysdisks" => "sdb,sdc", // IPMI CDROM is emulates a disk which occasionaly get assigned to sdb/sdc, rebooting-retrying few times helps (it gets to sdd)
    )),
    "ipecompute1" => array_merge($COMPUTE_SERVERS, array(
	"macs" => array("00:30:48:dd:5e:82", "00:30:48:dd:5e:83"),
	"eth" => array("enp5s0", "enp6s0"),
//	"sysdisks" => "sdb",
	"driverdisk" => "kmod-arcmsr.rpm"
    )),
    "ipecompute3" => array_merge($COMPUTE_SERVERS, array(
	"macs" => array("00:25:90:62:c0:26", "00:25:90:62:c0:27"),
	"eth" => array("enp5s0", "enp6s0"),
    )),
    "ipecompute2" => array_merge($COMPUTE_SERVERS, array(
	"macs" => array("00:25:90:95:7c:6c", "00:25:90:95:7c:6d"),
	"sysdisks" => "sdb,sdc",
    )),
    "ipecompute4" => array_merge($COMPUTE_SERVERS, array(
	"macs" => array("0c:c4:7a:b3:28:8c", "0c:c4:7a:b3:28:8d"),
	"sysdisks" => "sdi,sdj"
    )),
    "ipecamera0" => array_merge($CAMERA_SERVERS, array(
	"macs" => array("bc:5f:f4:ad:96:e3", "bc:5f:f4:ad:96:eb"),
	"eth" => array("enp20s0", "enp21s0"),
    )),
    "ipecamera3" => array_merge($CAMERA_SERVERS, array(
	"macs" => array("0c:c4:7a:32:72:20", "0c:c4:7a:32:72:21"),
    )),
    "ipecamera4" => array_merge($CAMERA_SERVERS, array(
	"macs" => array("0c:c4:7a:32:72:1e", "0c:c4:7a:32:72:1f"),
    )),
    "ipecamera5" => array_merge($CAMERA_SERVERS, array(
	"macs" => array("14:dd:a9:d5:76:31", "14:dd:a9:d5:76:32"),
	"eth" => array("eno1", "enp14s0"),
    )),
    "ipecamera6" => array_merge($CAMERA_SERVERS, array(
	"macs" => array("38:d5:47:02:d1:4b", "38:d5:47:02:d1:4c"),
	"eth" => array("enp14s0", "eno1"),
    )),
    "ipecluster6" => array_merge($STUDENT_SERVERS, array(
	"macs" => array("74:D0:2B:97:F3:2A", "74:D0:2B:97:F3:2B"),
    )),

);

?>