Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
e0f6a85a
Commit
e0f6a85a
authored
Mar 11, 2003
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document disktype field of node_types table
parent
58bb43cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
doc/adding_nodes.txt
doc/adding_nodes.txt
+4
-3
doc/setup-db.txt
doc/setup-db.txt
+7
-0
No files found.
doc/adding_nodes.txt
View file @
e0f6a85a
...
...
@@ -30,13 +30,14 @@ B. If the node is of a new type
default OS id (the default OS to boot), which port is the control
net (ie 4), how long you should make people wait before power cycling
again, the default image id, delay capacity, control iface (ie
eth4), and the OS id to boot when it is acting as a delay node.
eth4), the type of the primary disk ('ad'==IDE,'da'==SCSI') and the
OS id to boot when it is acting as a delay node.
Example:
insert into node_types
(class,type,proc,speed,RAM,HD,max_cards,max_ports,osid,control_net,imageid,imageable,delay_capacity,control_iface,delay_osid,pxe_boot_path)
(class,type,proc,speed,RAM,HD,max_cards,max_ports,osid,control_net,imageid,imageable,delay_capacity,control_iface,
disktype,
delay_osid,pxe_boot_path)
values
("pc","pc2000","P4",2000,512,20.0,5,1,"RHL-STD",0,"UTAHPC-FBSD4
5
+LINUX71",1,2,"eth0","FBSD-STD","boss.emulab.net:/tftpboot/pxeboot");
("pc","pc2000","P4",2000,512,20.0,5,1,"RHL-STD",0,"UTAHPC-FBSD4
7
+LINUX71",1,2,"eth0","
ad","
FBSD-STD","boss.emulab.net:/tftpboot/pxeboot");
2. There are several scripts that limit searches to certain classes.
If the new type you have added does not have class "pc", you may need
...
...
doc/setup-db.txt
View file @
e0f6a85a
...
...
@@ -217,15 +217,22 @@ control_net: Interface number (described below) of the control network
power_time: Number of second between power cycles (to help save wear and tear
on the hardware). We recommend 60.
imageid: Default image to load (created in Step 6)
imageable: Set to 1 if a disk image can be created/restored on this node type.
delay_capacity: How many delay nodes this node can be. For example, nodes with
2 experimental interfaces can be 1 delay node, nodes with 4 experimental
interfaces can be 2 delay nodes, etc.
virtnode_capacity: Number of virtual nodes that can be hosted on a single
physical node of this type.
control_iface: Linux-style interface name for the control network (ie. 'eth0')
disktype: FreeBSD-style disk name for the primary hard drive.
Choices are 'ad' (IDE), 'sd' (SCSI), or 'ar' (IDE RAID).
delay_osid: Which OS should be run when this node is being a delay node.
Should usually be 'FBSD-STD'
pxe_boot_path: Path (including hostname) to the mini-kernel that should be
loaded by PXE. Ask Utah for this kernel. For example,
'boss.emulab.net:/tftboot/pxeboot'
isvirtnode: Should be 0.
isremotenode: Should be 0.
2) Create interface types for the nodes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment