summaryrefslogtreecommitdiffstats
path: root/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.php')
-rw-r--r--config.php83
1 files changed, 50 insertions, 33 deletions
diff --git a/config.php b/config.php
index c8d00e5..eb80538 100644
--- a/config.php
+++ b/config.php
@@ -1,70 +1,69 @@
<?php
-//$DEFAULT_SERVER = "ipecamera4";
-$DISTRIBUTIONS=array("centos", "fedora");
+$DEFAULT_SERVER = "ipecompute1";
+$DISTRIBUTIONS=array("centos7", "centos8", "fedora");
# disks will be synchronized with k3
-$KATRIN_SERVERS = array(
- "ks" => "ipekatrin-v4.ks",
+
+$SERVERS = array(
"templates" => "templates",
+ "sysdisks" => "sdb,sdc",
+ "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",
- "sysdisks" => "sdb,sdc",
"append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
"raid" => "RAID1",
"size" => "80000",
+ "home_size" => "500000",
"bootsize" => "2048",
- "eth" => array("enp3s0f1", "enp3s0f0"),
+ "skip_security" => false,
+ "skip_minimal" => false,
+ "skip_home" => false,
);
-$IPE_SERVERS = array_merge($KATRIN_SERVERS, array(
+
+$KATRIN_SERVERS = array_merge($SERVERS, array(
+ "ks" => "ipekatrin-v4.ks",
+ "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",
- "sysdisks" => "sda,sdb",
- "append_sol" => "",
- "raid" => "RAID1",
"size" => "200000",
- "home_size" => "800000",
- "bootsize" => "2048",
- "eth" => array("eth0", "eth1"),
- "skip_security" => true,
- "skip_minimal" => false,
- "skip_home" => false,
+
));
$ANDS_SERVERS = array_merge($IPE_SERVERS, array(
- "ks" => "ipe.ks",
- "cidr" => 24,
- "base_net" => "192.168.26.",
"base_ip" => 140,
- "gw" => "192.168.26.117",
- "sysdisks" => "sda,sdb",
- "append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
- "raid" => "RAID1",
- "size" => "200000",
-// "home_size" => "200000",
- "bootsize" => "2048",
- "eth" => array("eno1", "eno2"),
- "skip_security" => false,
- "skip_minimal" => false,
"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,
+ "sysdisks" => "sda,sdb",
"raid" => "RAID0",
- "append_sol" => "console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200",
- "eth" => array("eno1", "eno2"),
- "base_ip" => 80
+ "skip_security" => true
));
$STUDENT_SERVERS = array_merge($IPE_SERVERS, array(
+ "base_ip" => 60,
"eth" => array("enp9s0", "enp6s0"),
- "base_ip" => 60
+ "sysdisks" => "sda,sdb",
+ "append_sol" => "",
+ "skip_security" => true
));
@@ -102,6 +101,24 @@ $SERVER_LIST = array(
"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"),