From c9e8493bace8888129dd432bdd976a0c3aa322e2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:22:09 +0200 Subject: CentOS8 and testing with ipecompute* servers --- config.php | 83 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 33 deletions(-) (limited to 'config.php') diff --git a/config.php b/config.php index c8d00e5..eb80538 100644 --- a/config.php +++ b/config.php @@ -1,70 +1,69 @@ "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"), -- cgit v1.2.3