cc-docker/data/sql/ClusterCockpit.sql

184 lines
256 KiB
MySQL
Raw Normal View History

-- MySQL dump 10.13 Distrib 8.0.22, for Linux (x86_64)
2021-06-09 09:53:35 +02:00
--
-- Host: localhost Database: ClusterCockpit
-- ------------------------------------------------------
-- Server version 8.0.22
2021-06-09 09:53:35 +02:00
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2021-06-09 09:53:35 +02:00
--
-- Table structure for table `configuration`
2021-06-09 09:53:35 +02:00
--
DROP TABLE IF EXISTS `configuration`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
2021-06-09 09:53:35 +02:00
CREATE TABLE `configuration` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`scope` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`label` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`validation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
2021-06-09 09:53:35 +02:00
--
-- Dumping data for table `configuration`
2021-06-09 09:53:35 +02:00
--
LOCK TABLES `configuration` WRITE;
/*!40000 ALTER TABLE `configuration` DISABLE KEYS */;
INSERT INTO `configuration` VALUES (1,'plot_view_showRoofline','true','default','Show roofline plot','true|false',NULL,'Enter true or false'),(2,'plot_view_showPolarplot','true','default','Show polar plot','true|false',NULL,'Enter true or false'),(3,'plot_view_showStatTable','true','default','Show stat table','true|false',NULL,'Enter true or false'),(4,'plot_view_plotsPerRow','3','default','Plots per row in job view','[0-9]+',NULL,'Enter a positive integer'),(5,'plot_list_samples','120','default','Sample points for downsampled plots','[0-9]+',NULL,'Enter a positive integer'),(6,'plot_list_sortColumn','1','default','Default sort column','[0-9]+',NULL,'Enter a positive integer'),(7,'plot_list_sortDirection','desc','default','Default sort direction','asc|desc',NULL,'Enter asc or desc'),(8,'plot_general_colorscheme','Accent','default','Plot color scheme','',NULL,''),(9,'plot_general_interactive','false','default','Interactive plots in job view','true|false',NULL,'Enter true or false'),(10,'plot_general_lineWidth','2','default','Line width for plots','[0-9]+',NULL,'Enter a positive integer'),(11,'plot_general_colorBackground','true','default','Color plot background','true|false',NULL,'Enter true or false'),(12,'data_time_digits','2','default','Timestamp rounding digits','[0-9]+',NULL,'Enter a positive integer'),(13,'data_metric_digits','1','default','Metric rounding digits','[0-9]+',NULL,'Enter a positive integer'),(14,'data_cache_period','40','default','Cache grace time','[0-9]+',NULL,'Enter a positive integer'),(15,'data_cache_numpoints','40','default','Cache build threshold','[0-9]+',NULL,'Enter a positive integer'),(16,'ldap_connection_url','','default','Connection URL','',NULL,''),(17,'ldap_user_base','','default','Base DN users','',NULL,''),(18,'ldap_user_key','','default','Key user id','',NULL,''),(19,'ldap_search_dn','','default','Search DN','',NULL,''),(20,'ldap_user_filter','','default','User query filter','',NULL,''),(21,'general_user_scramble','false','default','Anonymize user names','',NULL,''),(22,'general_user_emailbase','@mail.de','default','Email base adress used in user imports','',NULL,''),(23,'plot_list_selectedMetrics','cpu_load,flops_any,mem_bw','default','Metrics to show in job list','',NULL,''),(24,'plot_list_selectedMetrics','cpu_load,flops_any,mem_bw,mem_used','admin','Metrics to show in job list','',NULL,'');
/*!40000 ALTER TABLE `configuration` ENABLE KEYS */;
UNLOCK TABLES;
2021-06-09 09:53:35 +02:00
--
-- Table structure for table `job`
2021-06-09 09:53:35 +02:00
--
DROP TABLE IF EXISTS `job`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
2021-06-09 09:53:35 +02:00
CREATE TABLE `job` (
`id` int NOT NULL AUTO_INCREMENT,
`job_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`cluster_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`num_nodes` int NOT NULL,
`start_time` int NOT NULL,
`duration` int NOT NULL,
`node_list` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
2021-06-09 09:53:35 +02:00
`is_running` tinyint(1) NOT NULL,
`is_cached` tinyint(1) NOT NULL DEFAULT '0',
`job_script` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`project_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
2021-06-09 09:53:35 +02:00
`mem_used_max` double NOT NULL,
`flops_any_avg` double NOT NULL,
`mem_bw_avg` double NOT NULL,
`load_avg` double NOT NULL,
`net_bw_avg` double NOT NULL,
`file_bw_avg` double NOT NULL,
PRIMARY KEY (`id`),
KEY `search_idx` (`is_running`,`cluster_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1969 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
2021-06-09 09:53:35 +02:00
--
-- Dumping data for table `job`
2021-06-09 09:53:35 +02:00
--
LOCK TABLES `job` WRITE;
/*!40000 ALTER TABLE `job` DISABLE KEYS */;
INSERT INTO `job` VALUES (1,'1335041.eadm','emmyUser5','emmy',32,1596241216,21652,'e1018,e1017,e1010,e1009,e0745,e0656,e0655,e0652,e0651,e0650,e0649,e0530,e0529,e0528,e0527,e0524,e0523,e0522,e0521,e0520,e0519,e0214,e0213,e0212,e0151,e0150,e0149,e0132,e0129,e0128,e0127,e0108',0,0,'','project5',2.95,0,0.14,0,0,0),(2,'1335050.eadm','emmyUser5','emmy',32,1596241607,22234,'e1128,e1127,e1126,e1125,e1115,e1114,e0908,e0907,e0905,e0904,e0903,e0902,e0849,e0848,e0847,e0846,e0845,e0844,e0842,e0841,e0552,e0551,e0550,e0549,e0548,e0547,e0546,e0545,e0544,e0543,e0526,e0525',0,0,'','project5',1.9,0.01,0.11,0,0,0),(3,'1335059.eadm','emmyUser5','emmy',32,1596248458,21677,'e1130,e1129,e1124,e1123,e1122,e1121,e1120,e1119,e1118,e1117,e1116,e1101,e1016,e1015,e0906,e0843,e0804,e0803,e0744,e0743,e0724,e0723,e0722,e0721,e0620,e0452,e0451,e0450,e0449,e0448,e0447,e0446',0,0,'','project5',3.44,0.01,0.14,0,0,0),(4,'1334592.eadm','emmyUser5','emmy',16,1596280833,216,'e0547,e0347,e0346,e0345,e0344,e0343,e0342,e0341,e0340,e0339,e0338,e0337,e0336,e0335,e0334,e0333',0,0,'','project5',20.51,0.02,3.42,0,0,0),(5,'1334601.eadm','emmyUser5','emmy',16,1596280974,147,'e0648,e0647,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509,e0442,e0439,e0438,e0433,e0402,e0401',0,0,'','project5',8.34,0,1.8,0,0,0),(6,'1334610.eadm','emmyUser5','emmy',16,1596281050,221,'e0547,e0538,e0537,e0347,e0346,e0345,e0344,e0343,e0342,e0341,e0340,e0339,e0338,e0337,e0336,e0335',0,0,'','project5',20.46,0,3.78,0,0,0),(7,'1334638.eadm','emmyUser5','emmy',16,1596281273,133,'e0547,e0538,e0537,e0402,e0401,e0347,e0346,e0345,e0344,e0343,e0342,e0341,e0340,e0339,e0338,e0337',0,0,'','project5',1.72,0,0.32,0,0,0),(8,'1334629.eadm','emmyUser5','emmy',16,1596281258,193,'e0648,e0647,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509,e0442,e0439,e0438,e0433,e0414,e0413',0,0,'','project5',20.48,0,3.44,0,0,0),(9,'1334656.eadm','emmyUser5','emmy',16,1596281452,214,'e0648,e0647,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509,e0442,e0439,e0438,e0433,e0414,e0413',0,0,'','project5',17.79,0,0.4,0,0,0),(10,'1334647.eadm','emmyUser5','emmy',16,1596281407,290,'e0547,e0538,e0537,e0536,e0535,e0402,e0401,e0347,e0346,e0345,e0344,e0343,e0342,e0341,e0340,e0339',0,0,'','project5',1.72,0,0.14,0,0,0),(11,'1334674.eadm','emmyUser5','emmy',16,1596281667,140,'e0648,e0647,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509,e0442,e0439,e0438,e0433,e0414,e0413',0,0,'','project5',7.98,0,0.31,0,0,0),(12,'1334665.eadm','emmyUser5','emmy',16,1596281666,267,'e1012,e1011,e0915,e0914,e0901,e0852,e0851,e0850,e0542,e0541,e0534,e0533,e0422,e0421,e0317,e0215',0,0,'','project5',20.35,0.16,0.18,0,0,0),(13,'1334683.eadm','emmyUser5','emmy',16,1596281698,268,'e0547,e0538,e0537,e0536,e0535,e0402,e0401,e0347,e0346,e0345,e0344,e0343,e0342,e0341,e0340,e0339',0,0,'','project5',2.87,0,0.14,0,0,0),(14,'1334692.eadm','emmyUser5','emmy',16,1596281809,251,'e0905,e0904,e0648,e0647,e0640,e0639,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509,e0442,e0439',0,0,'','project5',8.33,0.24,0.83,0,0,0),(15,'1334701.eadm','emmyUser5','emmy',16,1596281934,292,'e1017,e1012,e1011,e1010,e0915,e0914,e0901,e0852,e0851,e0850,e0718,e0717,e0656,e0655,e0542,e0541',0,0,'','project5',20.35,0,0.66,0,0,0),(16,'1334710.eadm','emmyUser5','emmy',16,1596281967,283,'e0623,e0622,e0547,e0538,e0537,e0536,e0535,e0534,e0533,e0438,e0433,e0432,e0431,e0430,e0429,e0422',0,0,'','project5',20.47,0.3,0.96,0,0,0),(17,'1334719.eadm','emmyUser5','emmy',16,1596282061,280,'e1131,e1018,e0905,e0904,e0648,e0647,e0640,e0639,e0635,e0621,e0619,e0532,e0531,e0513,e0512,e0509',0,0,'','project5',2.07,0,0.14,0,0,0),(18,'1334738.eadm','emmyUser5','emmy',16,1596282252,180,'e0623,e0622,e0547,e0538,e0537,e0536,e0535,e0534,e0533,e0440,e0439,e0438,e0433,e0432,e0431,e0430',0,0,'','project5',20.47,0,3.22,0,0,0),(19,'1334747.eadm','emmyUser5','emmy',16,1596282347,159,'e1017,e1012,e1011,e1010,e0915,e0914,e0901,e0852,e0851,e0850,e0718,e0717,e0656,e0655,e0542,e0541',0,0,'','project5',7.98,0,0.77,0,0,0),(20,'1334765.eadm','emmyUser5','emmy',16,1596282507,182,'e1017,e1012,e1011,e1010,e0915,e0914,e0901,e0852,e0851,e0850,e0718,e0717,e0656
/*!40000 ALTER TABLE `job` ENABLE KEYS */;
UNLOCK TABLES;
2021-06-09 09:53:35 +02:00
--
-- Table structure for table `job_job_tag`
2021-06-09 09:53:35 +02:00
--
DROP TABLE IF EXISTS `job_job_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
2021-06-09 09:53:35 +02:00
CREATE TABLE `job_job_tag` (
`job_id` int NOT NULL,
`job_tag_id` int NOT NULL,
PRIMARY KEY (`job_id`,`job_tag_id`),
KEY `IDX_5DB39389BE04EA9` (`job_id`),
KEY `IDX_5DB39389EAD64E90` (`job_tag_id`),
CONSTRAINT `FK_5DB39389BE04EA9` FOREIGN KEY (`job_id`) REFERENCES `job` (`id`) ON DELETE CASCADE,
CONSTRAINT `FK_5DB39389EAD64E90` FOREIGN KEY (`job_tag_id`) REFERENCES `job_tag` (`id`) ON DELETE CASCADE
2021-06-09 09:53:35 +02:00
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
2021-06-09 09:53:35 +02:00
--
-- Dumping data for table `job_job_tag`
2021-06-09 09:53:35 +02:00
--
LOCK TABLES `job_job_tag` WRITE;
/*!40000 ALTER TABLE `job_job_tag` DISABLE KEYS */;
INSERT INTO `job_job_tag` VALUES (1269,3),(1269,4),(1270,4),(1327,3),(1351,1),(1351,2),(1355,1),(1355,2),(1357,1),(1366,1),(1460,1),(1462,1),(1463,1),(1464,1),(1465,1),(1467,1);
/*!40000 ALTER TABLE `job_job_tag` ENABLE KEYS */;
UNLOCK TABLES;
2021-06-09 09:53:35 +02:00
--
-- Table structure for table `job_tag`
2021-06-09 09:53:35 +02:00
--
DROP TABLE IF EXISTS `job_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_tag` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
2021-06-09 09:53:35 +02:00
--
-- Dumping data for table `job_tag`
2021-06-09 09:53:35 +02:00
--
LOCK TABLES `job_tag` WRITE;
/*!40000 ALTER TABLE `job_tag` DISABLE KEYS */;
INSERT INTO `job_tag` VALUES (1,'throughput-limited','bottleneck'),(2,'bandwidth-limited','bottleneck'),(3,'low-utilisation','pathologic'),(4,'load-imbalance','pathologic');
/*!40000 ALTER TABLE `job_tag` ENABLE KEYS */;
UNLOCK TABLES;
2021-06-09 09:53:35 +02:00
--
-- Table structure for table `user`
2021-06-09 09:53:35 +02:00
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user` (
`id` int NOT NULL AUTO_INCREMENT,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`roles` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '(DC2Type:array)',
`email` varchar(254) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_active` tinyint(1) DEFAULT NULL,
`api_token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `UNIQ_8D93D649F85E0677` (`username`),
UNIQUE KEY `UNIQ_8D93D6497BA2F5EB` (`api_token`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
2021-06-09 09:53:35 +02:00
--
-- Dumping data for table `user`
2021-06-09 09:53:35 +02:00
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,'admin','$2y$13$bCJ.cWhE1MIaI.dg9jr/V.73inKd/U7ZBD0WpF5JMTomkfXuRkpRu','Local account','a:3:{i:0;s:9:\"ROLE_USER\";i:1;s:12:\"ROLE_ANALYST\";i:2;s:10:\"ROLE_ADMIN\";}','admin@ccdemo.de',1,NULL),(2,'emmyUser1',NULL,'Emmy User1',NULL,NULL,NULL,NULL),(3,'emmyUser2',NULL,'Emmy User2',NULL,NULL,NULL,NULL),(4,'emmyUser3',NULL,'Emmy User3',NULL,NULL,NULL,NULL),(5,'emmyUser4',NULL,'Emmy User4',NULL,NULL,NULL,NULL),(6,'emmyUser5',NULL,'Emmy User5',NULL,NULL,NULL,NULL),(7,'emmyUser6',NULL,'Emmy User6',NULL,NULL,NULL,NULL),(8,'emmyUser7',NULL,'Emmy User7',NULL,NULL,NULL,NULL),(9,'emmyUser8',NULL,'Emmy User8',NULL,NULL,NULL,NULL),(10,'emmyUser9',NULL,'Emmy User9',NULL,NULL,NULL,NULL),(11,'emmyUser10',NULL,'Emmy User10',NULL,NULL,NULL,NULL),(12,'woodyUser1',NULL,'Woody User1',NULL,NULL,NULL,NULL),(13,'woodyUser2',NULL,'Woody User2',NULL,NULL,NULL,NULL),(14,'woodyUser3',NULL,'Woody User3',NULL,NULL,NULL,NULL),(15,'woodyUser4',NULL,'Woody User4',NULL,NULL,NULL,NULL),(16,'woodyUser5',NULL,'Woody User5',NULL,NULL,NULL,NULL),(17,'demoUser','$2y$10$A.Z9lQmDY/d0S1XhGMQWi..rtFWWdVi2A/9N96t6troj61iFi0rTS','Demo User',NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2021-06-09 09:53:35 +02:00
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2021-06-09 09:53:35 +02:00
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2021-06-22 12:52:35