Commit 095af76e authored by Mike Hibler's avatar Mike Hibler

Assorted files contained in the "generic image" tarball.

Checked in so we can track their evolution and so you don't
have to rely on Mike to remember where he stashed them!
parent e6375a7a
This directory contains scripts/directions included in the "generic image"
tarball. It does not currently contain any instructions for Emulab-types
on how to create the actual images or the tarball. Talk to Mike about that.
META-README This file, not included in the tarball
README Directions for using the tarball
setup-images.sql SQL snippets for populating the DB with the images.
setup-mfsosids.sql
setup-o2i.sql
setup-osids.sql
This diff is collapsed.
-- MySQL dump 8.23
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.58-log
--
-- Table structure for table `images`
--
CREATE TABLE images (
imagename varchar(30) NOT NULL default '',
pid varchar(12) NOT NULL default '',
gid varchar(12) NOT NULL default '',
imageid varchar(45) NOT NULL default '',
creator varchar(8) default NULL,
created datetime default NULL,
description tinytext NOT NULL,
loadpart tinyint(4) NOT NULL default '0',
loadlength tinyint(4) NOT NULL default '0',
part1_osid varchar(35) default NULL,
part2_osid varchar(35) default NULL,
part3_osid varchar(35) default NULL,
part4_osid varchar(35) default NULL,
default_osid varchar(35) NOT NULL default '',
path tinytext,
magic tinytext,
load_address text,
frisbee_pid int(11) default '0',
load_busy tinyint(4) NOT NULL default '0',
ezid tinyint(4) NOT NULL default '0',
shared tinyint(4) NOT NULL default '0',
global tinyint(4) NOT NULL default '0',
updated datetime default NULL,
PRIMARY KEY (imagename,pid),
KEY imageid (imageid),
KEY gid (gid)
) TYPE=MyISAM;
--
-- Dumping data for table `images`
--
-- WHERE: imagename like '%-STD%'
INSERT INTO images VALUES ('FBSD410+RHL90-STD','emulab-ops','emulab-ops','emulab-ops-FBSD410+RHL90-STD','hibler','2004-11-09 00:00:00','Latest full disk image with FreeBSD 4.10 and RedHat 9.0',0,4,'emulab-ops-FBSD410-STD','emulab-ops-RHL90-STD',NULL,NULL,'emulab-ops-FBSD410-STD','/usr/testbed/images/FBSD410+RHL90-STD.ndz',NULL,'',0,1,0,0,1,NULL);
INSERT INTO images VALUES ('FBSD410-STD','emulab-ops','emulab-ops','emulab-ops-FBSD410-STD','hibler','2004-11-09 00:00:00','Testbed version of FreeBSD 4.10',1,1,'emulab-ops-FBSD410-STD',NULL,NULL,NULL,'emulab-ops-FBSD410-STD','/usr/testbed/images/FBSD410-STD.ndz',NULL,'',0,0,0,0,1,NULL);
INSERT INTO images VALUES ('RHL90-STD','emulab-ops','emulab-ops','emulab-ops-RHL90-STD','hibler','2004-11-09 00:00:00','Testbed version of RedHat Linux 9.0',2,1,NULL,'emulab-ops-RHL90-STD',NULL,NULL,'emulab-ops-RHL90-STD','/usr/testbed/images/RHL90-STD.ndz',NULL,'',0,0,0,0,1,NULL);
-- MySQL dump 8.23
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.58-log
--
-- Table structure for table `os_info`
--
CREATE TABLE os_info (
osname varchar(20) NOT NULL default '',
pid varchar(12) NOT NULL default '',
osid varchar(35) NOT NULL default '',
creator varchar(8) default NULL,
created datetime default NULL,
description tinytext NOT NULL,
OS enum('Unknown','Linux','FreeBSD','NetBSD','OSKit','Other') NOT NULL default 'Unknown',
version varchar(12) default '',
path tinytext,
magic tinytext,
machinetype varchar(30) NOT NULL default '',
osfeatures set('ping','ssh','ipod','isup','veths','mlinks') default NULL,
ezid tinyint(4) NOT NULL default '0',
shared tinyint(4) NOT NULL default '0',
mustclean tinyint(4) NOT NULL default '1',
op_mode varchar(20) NOT NULL default 'MINIMAL',
nextosid varchar(35) default NULL,
max_concurrent int(11) default NULL,
mfs tinyint(4) NOT NULL default '0',
PRIMARY KEY (osname,pid),
KEY osid (osid),
KEY OS (OS),
KEY path (path(255))
) TYPE=MyISAM;
--
-- Dumping data for table `os_info`
--
-- WHERE: osid like "%MFS%"
INSERT INTO os_info VALUES ('FREEBSD-MFS','emulab-ops','FREEBSD-MFS','root',NULL,'FreeBSD in an MFS','FreeBSD','4.10','boss:/tftpboot/freebsd',NULL,'','ping,ssh,ipod,isup',0,1,0,'PXEFBSD',NULL,NULL,1);
INSERT INTO os_info VALUES ('FRISBEE-MFS','emulab-ops','FRISBEE-MFS','root',NULL,'Frisbee (FreeBSD) in an MFS','FreeBSD','4.10','boss:/tftpboot/frisbee',NULL,'','ping,ssh,ipod,isup',0,1,0,'RELOAD',NULL,NULL,1);
INSERT INTO os_info VALUES ('NEWNODE-MFS','emulab-ops','NEWNODE-MFS','root',NULL,'NewNode (FreeBSD) in an MFS','FreeBSD','4.10','boss:/tftpboot/freebsd.newnode',NULL,'','ping,ssh,ipod,isup',0,1,0,'PXEFBSD',NULL,NULL,1);
-- MySQL dump 8.23
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.58-log
--
-- Table structure for table `osidtoimageid`
--
CREATE TABLE osidtoimageid (
osid varchar(35) NOT NULL default '',
type varchar(30) NOT NULL default '',
imageid varchar(45) NOT NULL default '',
PRIMARY KEY (osid,type)
) TYPE=MyISAM;
--
-- Dumping data for table `osidtoimageid`
--
-- WHERE: osid like '%-STD'
--
-- Change PCTYPE to an actual node_type in your database (e.g., "pc2800").
-- You will need a set of these lines for every node_type that can run BSD or Linux.
--
INSERT INTO osidtoimageid VALUES ('emulab-ops-FBSD410-STD','PCTYPE','emulab-ops-FBSD410-STD');
INSERT INTO osidtoimageid VALUES ('emulab-ops-RHL90-STD','PCTYPE','emulab-ops-RHL90-STD');
-- MySQL dump 8.23
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.58-log
--
-- Table structure for table `os_info`
--
CREATE TABLE os_info (
osname varchar(20) NOT NULL default '',
pid varchar(12) NOT NULL default '',
osid varchar(35) NOT NULL default '',
creator varchar(8) default NULL,
created datetime default NULL,
description tinytext NOT NULL,
OS enum('Unknown','Linux','FreeBSD','NetBSD','OSKit','Other') NOT NULL default 'Unknown',
version varchar(12) default '',
path tinytext,
magic tinytext,
machinetype varchar(30) NOT NULL default '',
osfeatures set('ping','ssh','ipod','isup','veths','mlinks') default NULL,
ezid tinyint(4) NOT NULL default '0',
shared tinyint(4) NOT NULL default '0',
mustclean tinyint(4) NOT NULL default '1',
op_mode varchar(20) NOT NULL default 'MINIMAL',
nextosid varchar(35) default NULL,
max_concurrent int(11) default NULL,
mfs tinyint(4) NOT NULL default '0',
PRIMARY KEY (osname,pid),
KEY osid (osid),
KEY OS (OS),
KEY path (path(255))
) TYPE=MyISAM;
--
-- Dumping data for table `os_info`
--
-- WHERE: osid like '%-STD%'
INSERT INTO os_info VALUES ('RHL-STD','emulab-ops','emulab-ops-RHL-STD','root',NULL,'Default version of RedHat Linux','Linux','',NULL,'','','ping,ssh,ipod,isup',0,1,1,'NORMALv1','emulab-ops-RHL90-STD',NULL,0);
INSERT INTO os_info VALUES ('FBSD-STD','emulab-ops','emulab-ops-FBSD-STD','root',NULL,'Default version of FreeBSD','FreeBSD','',NULL,'','','ping,ssh,ipod,isup',0,1,1,'NORMALv1','emulab-ops-FBSD410-STD',NULL,0);
INSERT INTO os_info VALUES ('FBSD410-STD','emulab-ops','emulab-ops-FBSD410-STD','root','2004-11-09 00:00:00','Testbed version of FreeBSD 4.10','FreeBSD','4.10',NULL,'','','ping,ssh,ipod,isup',0,1,1,'NORMALv1',NULL,NULL,0);
INSERT INTO os_info VALUES ('RHL90-STD','emulab-ops','emulab-ops-RHL90-STD','root','2004-11-09 00:00:00','Testbed Version of RedHat Linux 9.0','Linux','9.0',NULL,'','','ping,ssh,ipod,isup',0,1,1,'NORMALv1',NULL,NULL,0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment