bootmanager.git
18 years ago- merge revision 1.15 planetlab-3_2-branch planetlab-3_2-branch
Mark Huang [Wed, 26 Oct 2005 15:33:36 +0000 (15:33 +0000)]
- merge revision 1.15
date: 2005/10/26 15:32:10;  author: mlhuang;  state: Exp;  lines: +1 -1
- bump version number to reflect fixes
- fix old style boot server file parsing
- fix alpina-BootLVM.tar.gz

18 years ago- merge revision 1.8
Mark Huang [Wed, 26 Oct 2005 15:33:26 +0000 (15:33 +0000)]
- merge revision 1.8
date: 2005/10/26 15:32:10;  author: mlhuang;  state: Exp;  lines: +1 -1
- bump version number to reflect fixes
- fix old style boot server file parsing
- fix alpina-BootLVM.tar.gz

18 years ago- merge revision 1.3
Mark Huang [Wed, 26 Oct 2005 15:33:12 +0000 (15:33 +0000)]
- merge revision 1.3
date: 2005/10/26 15:26:15;  author: mlhuang;  state: Exp;  lines: +1 -1
for the old style boot server file, that contains multiple servers,
read only the first line

18 years ago- merge revision 1.2
Mark Huang [Wed, 26 Oct 2005 15:32:58 +0000 (15:32 +0000)]
- merge revision 1.2
date: 2005/10/26 15:30:57;  author: mlhuang;  state: Exp;  lines: +3 -0
- aaron seems to have included a few other binaries in the last manually
  built BootLVM tarball

18 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Mon, 3 Oct 2005 14:35:01 +0000 (14:35 +0000)]
This commit was manufactured by cvs2svn to create branch
'planetlab-3_2-branch'.

18 years ago- use a valid node_id
Mark Huang [Mon, 3 Oct 2005 14:34:58 +0000 (14:34 +0000)]
- use a valid node_id

18 years ago- add back 1.5
Mark Huang [Fri, 23 Sep 2005 01:23:18 +0000 (01:23 +0000)]
- add back 1.5

18 years ago- add back 1.12
Mark Huang [Fri, 23 Sep 2005 01:22:29 +0000 (01:22 +0000)]
- add back 1.12

18 years ago- XXX back out 1.5 temporarily for a tag
Mark Huang [Fri, 23 Sep 2005 01:14:26 +0000 (01:14 +0000)]
- XXX back out 1.5 temporarily for a tag

18 years ago- bump version to 3.1.9
Mark Huang [Fri, 23 Sep 2005 01:11:37 +0000 (01:11 +0000)]
- bump version to 3.1.9
- XXX add back BOOT_API_SERVER temporarily for a tag

18 years ago- make rpm version number consistent
Mark Huang [Fri, 23 Sep 2005 01:10:59 +0000 (01:10 +0000)]
- make rpm version number consistent

18 years ago- bump release number to reflect initrd and new-tarball fixes
Mark Huang [Thu, 22 Sep 2005 22:28:41 +0000 (22:28 +0000)]
- bump release number to reflect initrd and new-tarball fixes

18 years ago- read the primary kernel version from the /boot/initrd-boot symlink,
Mark Huang [Thu, 22 Sep 2005 22:27:43 +0000 (22:27 +0000)]
- read the primary kernel version from the /boot/initrd-boot symlink,
  rather than the first entry in /lib/modules
- ...thus building the initrd for the correct kernel, in case there are
  orphaned modules in /lib/modules installed by, say, vnet

18 years ago- first try downloading the new PlanetLab-Bootstrap.tar.bz2, then fall
Mark Huang [Thu, 22 Sep 2005 22:26:50 +0000 (22:26 +0000)]
- first try downloading the new PlanetLab-Bootstrap.tar.bz2, then fall
  back to the old alpina-BootstrapRPM.tar.bz2

18 years ago- skip the yum bootstrap if told to by InstallBootstrapRPM
Mark Huang [Thu, 22 Sep 2005 22:25:35 +0000 (22:25 +0000)]
- skip the yum bootstrap if told to by InstallBootstrapRPM

18 years ago- get_system_modules: allow kernel_version to be passed in
Mark Huang [Thu, 22 Sep 2005 22:25:13 +0000 (22:25 +0000)]
- get_system_modules: allow kernel_version to be passed in

18 years ago- restore the InstallBase step, which will be skipped if the new
Mark Huang [Thu, 22 Sep 2005 22:24:28 +0000 (22:24 +0000)]
- restore the InstallBase step, which will be skipped if the new
  all-inclusive PlanetLab-Bootstrap.tar.bz2 is unpacked

18 years agorather than code in the name of the boot server into the boot manager
Aaron Klingaman [Wed, 21 Sep 2005 20:29:52 +0000 (20:29 +0000)]
rather than code in the name of the boot server into the boot manager
configuration, pull it off of the boot cd. this change requires that
an api server be running on the boot server.

18 years agodeprecate alpina-BootstrapRPM and the InstallBase step; instead just unpack PlanetLab...
Mark Huang [Thu, 8 Sep 2005 20:06:03 +0000 (20:06 +0000)]
deprecate alpina-BootstrapRPM and the InstallBase step; instead just unpack PlanetLab-Bootstrap and go

18 years ago- bump release number to beat .planetlab.planetlab
Mark Huang [Wed, 7 Sep 2005 18:15:46 +0000 (18:15 +0000)]
- bump release number to beat .planetlab.planetlab

18 years ago- fix release number
Mark Huang [Wed, 7 Sep 2005 18:15:31 +0000 (18:15 +0000)]
- fix release number

18 years agoSolve the bootstrap problem by including any just built packages in
Mark Huang [Sat, 3 Sep 2005 21:44:16 +0000 (21:44 +0000)]
Solve the bootstrap problem by including any just built packages in
the yum configuration. This cooperates with the PlanetLab build
system.

18 years ago- don't look for binaries or build debug package
Mark Huang [Sat, 3 Sep 2005 21:41:43 +0000 (21:41 +0000)]
- don't look for binaries or build debug package

18 years agodeprecate the BootstrapRPM tarball, build and install all other tarballs until v2...
Mark Huang [Fri, 2 Sep 2005 20:24:58 +0000 (20:24 +0000)]
deprecate the BootstrapRPM tarball, build and install all other tarballs until v2 cds are out of circulation

18 years ago- build bootmanager
Mark Huang [Fri, 2 Sep 2005 19:51:17 +0000 (19:51 +0000)]
- build bootmanager

18 years ago- script to build node tarball
Mark Huang [Fri, 2 Sep 2005 19:09:58 +0000 (19:09 +0000)]
- script to build node tarball

18 years ago- build PlanetLab-Bootstrap.tar.bz2 (new, full version of alpina-Bootstrap.tar.bz2)
Mark Huang [Fri, 2 Sep 2005 19:09:33 +0000 (19:09 +0000)]
- build PlanetLab-Bootstrap.tar.bz2 (new, full version of alpina-Bootstrap.tar.bz2)

18 years agofor each boot, after the vserver net configuration files ae updated,
Aaron Klingaman [Fri, 5 Aug 2005 22:18:13 +0000 (22:18 +0000)]
for each boot, after the vserver net configuration files ae updated,
write out the new session value in /etc/planetlab/session.

18 years agorollback previous regex change, attempts to mount base device should
Aaron Klingaman [Fri, 29 Jul 2005 17:38:22 +0000 (17:38 +0000)]
rollback previous regex change, attempts to mount base device should
still happen. instead, make sure it fails correctly. also, a few spelling
mistakes

18 years agofix regex that identifies which device to attempt to mount for removable
Aaron Klingaman [Fri, 29 Jul 2005 15:53:14 +0000 (15:53 +0000)]
fix regex that identifies which device to attempt to mount for removable
devices during configuration file searching. before, it was returned
the base device name (ie sda) as a possible device to mount. it should only
return <device>[0-9]+$

18 years agobe way more verbose in what is happening during configuration file
Aaron Klingaman [Fri, 29 Jul 2005 15:40:02 +0000 (15:40 +0000)]
be way more verbose in what is happening during configuration file
searching/parsing

18 years agoallow any node that has their node_id specified to update their mac
Aaron Klingaman [Thu, 28 Jul 2005 23:23:47 +0000 (23:23 +0000)]
allow any node that has their node_id specified to update their mac
addr at plc. before, it also had to have a 3.x cd.

18 years agobump version of bootmanager for mac addr/ifconfig changes
Aaron Klingaman [Thu, 28 Jul 2005 22:59:20 +0000 (22:59 +0000)]
bump version of bootmanager for mac addr/ifconfig changes

18 years ago- after reading network configuration file, fill in mac address if missing
Aaron Klingaman [Thu, 28 Jul 2005 22:58:35 +0000 (22:58 +0000)]
- after reading network configuration file, fill in mac address if missing
- when calling getnodeid.php for nodes without node_id value, post mac addr
  not ifconfig

18 years agofrom
Aaron Klingaman [Thu, 28 Jul 2005 22:57:20 +0000 (22:57 +0000)]
from
http://forums.devshed.com/archive/t-51149/Ethernet-card-address-Through-Python-or-C
add a function that will return the mac address for a given network device

18 years agodon't post ifconfig output when uploading logs, no longer necessary
Aaron Klingaman [Thu, 28 Jul 2005 22:56:29 +0000 (22:56 +0000)]
don't post ifconfig output when uploading logs, no longer necessary

18 years agofor node_id/plconf change, need to get variable PLCONF_DIR too
Aaron Klingaman [Thu, 21 Jul 2005 23:16:27 +0000 (23:16 +0000)]
for node_id/plconf change, need to get variable PLCONF_DIR too

18 years agonow that PlanetLabConf uses node_id, update the bootmanager code that calls
Aaron Klingaman [Thu, 21 Jul 2005 21:50:55 +0000 (21:50 +0000)]
now that PlanetLabConf uses node_id, update the bootmanager code that calls
PlanetLabConf and write out /etc/planetlab/node_id.

18 years agominor revision bump for node_id file change
Aaron Klingaman [Wed, 20 Jul 2005 16:53:10 +0000 (16:53 +0000)]
minor revision bump for node_id file change

18 years agomake BootManager write out /etc/planetlab/node_id
Aaron Klingaman [Wed, 20 Jul 2005 16:51:38 +0000 (16:51 +0000)]
make BootManager write out /etc/planetlab/node_id

18 years ago- bump version to 3.1.1 to reflect USB fixes: support booting from USB,
Mark Huang [Wed, 22 Jun 2005 22:28:21 +0000 (22:28 +0000)]
- bump version to 3.1.1 to reflect USB fixes: support booting from USB,
  shutdown USB HCDs before chain booting, except when booting from USB

18 years ago- fix some log messages
Mark Huang [Wed, 22 Jun 2005 22:21:53 +0000 (22:21 +0000)]
- fix some log messages
- get usage count for USB (currently, just the usage count for
  usb_storage); if in use, don't try to unload the HCD drivers. This is
  an ugly workaround; the real solution is to fix all the HCD drivers to
  shutdown properly in the kexec path, and not unload them manually
  ever. A node will have problems if it both boots from USB, and its HCD
  shares an IRQ with another device. So far, it's been either one or the
  other.

18 years ago- when unmounting floppy or usb keys, unmount the mount point, not the
Mark Huang [Tue, 21 Jun 2005 21:24:09 +0000 (21:24 +0000)]
- when unmounting floppy or usb keys, unmount the mount point, not the
  device, which (in the case of the usb key being used for both the boot
  device and the configuration device) may be already mounted.
- loop through all partitions of removable devices looking for
  configuration files.

18 years ago- PL6577: at least on the ufl.edu nodes, the USB host drivers need to be
Mark Huang [Thu, 16 Jun 2005 19:34:50 +0000 (19:34 +0000)]
- PL6577: at least on the ufl.edu nodes, the USB host drivers need to be
  unloaded before chain booting, since they share an interrupt with the
  e1000 cards, and don't cleanly shutdown() the hardware when kexec is
  run.

18 years agoback out lvm extent size change␓
Aaron Klingaman [Wed, 8 Jun 2005 17:54:59 +0000 (17:54 +0000)]
back out lvm extent size change␓

18 years agoreduce lvm physical extent size to 16M from 32M. This was the cause of the
Aaron Klingaman [Tue, 7 Jun 2005 21:03:59 +0000 (21:03 +0000)]
reduce lvm physical extent size to 16M from 32M. This was the cause of the
install problems on planetlab1.mini.pw.edu.pl which had two identical
western digital 120gb drives. This also limits the maximum size of the
vserver logical volume to 1TB, it was about 2TB before this change.

18 years agorebuild doc, previous one used wrong utils and didn't include graphics
Aaron Klingaman [Mon, 6 Jun 2005 14:51:47 +0000 (14:51 +0000)]
rebuild doc, previous one used wrong utils and didn't include graphics

18 years agosend a nice message to tech contacts if the node hostname resolution is
Aaron Klingaman [Thu, 2 Jun 2005 22:06:17 +0000 (22:06 +0000)]
send a nice message to tech contacts if the node hostname resolution is
incorrect or doesn't work

18 years agodon't unnecessarily shutdown/startup lvm between successful install and
Aaron Klingaman [Thu, 2 Jun 2005 20:00:41 +0000 (20:00 +0000)]
don't unnecessarily shutdown/startup lvm between successful install and
chain boot

18 years agobetter handle the kexec failure cases by notifying the user of the exact
Aaron Klingaman [Wed, 1 Jun 2005 19:54:57 +0000 (19:54 +0000)]
better handle the kexec failure cases by notifying the user of the exact
problem, and canceling further boot processes

18 years agoCACERT_PATH still in /mnt/cdrom, will be moved later to /etc/planetlab
Aaron Klingaman [Tue, 31 May 2005 17:30:57 +0000 (17:30 +0000)]
CACERT_PATH still in /mnt/cdrom, will be moved later to /etc/planetlab

18 years agoupdate boot manager tech docs post implementation/deployment
Aaron Klingaman [Tue, 31 May 2005 17:14:31 +0000 (17:14 +0000)]
update boot manager tech docs post implementation/deployment

18 years agomove support files to /boot
Aaron Klingaman [Tue, 31 May 2005 16:44:03 +0000 (16:44 +0000)]
move support files to /boot

18 years agovarious source file cleanup, unused configuration vars removed, move
Aaron Klingaman [Tue, 31 May 2005 16:43:30 +0000 (16:43 +0000)]
various source file cleanup, unused configuration vars removed, move
support files from /alpina[-v3] to a common /boot

18 years agoso some sata devices show up in lspci under the ide device class,
Aaron Klingaman [Sat, 28 May 2005 01:20:56 +0000 (01:20 +0000)]
so some sata devices show up in lspci under the ide device class,
and some show up in the scsi device class. for the pitt nodes, its the
former. this fix works by assuming that if an ide pci device matches
a loadable module, then its sata, because the ide modules are built in.
it will then show up in /etc/modprobe.conf under a scsi_hostadapter
alias.

18 years agobe extra clear about what happens when a node that doesn't have node_id
Aaron Klingaman [Thu, 26 May 2005 19:19:49 +0000 (19:19 +0000)]
be extra clear about what happens when a node that doesn't have node_id
on the floppy is attempted to be booted, and it doesn't yet exist in PLC.
this is the case for when users try to add nodes using the old procedures
without reading the guides (bound to happen)

18 years agoupdate docs about search path for network configuration floppy
Aaron Klingaman [Thu, 26 May 2005 17:35:49 +0000 (17:35 +0000)]
update docs about search path for network configuration floppy

18 years agothe beta 3.0 cds didn't have uudecode, so its put here. like other files
Aaron Klingaman [Thu, 26 May 2005 17:27:26 +0000 (17:27 +0000)]
the beta 3.0 cds didn't have uudecode, so its put here. like other files
in this directory, this ends up on the boot server for download by the
bootmanager as needed

18 years agomove bootmanager (was alpina) support files into this repository
Aaron Klingaman [Thu, 26 May 2005 17:25:03 +0000 (17:25 +0000)]
move bootmanager (was alpina) support files into this repository

18 years agocheck in all bootmanager sources
Aaron Klingaman [Thu, 26 May 2005 17:11:48 +0000 (17:11 +0000)]
check in all bootmanager sources

18 years agothis will have to suffice until a proper make/build system is created.
Aaron Klingaman [Thu, 26 May 2005 17:10:19 +0000 (17:10 +0000)]
this will have to suffice until a proper make/build system is created.
this compresses the bootmanager sources, base64 encodes them, and creates
a single bash script that does the reverse of that, and executes the
bootmanager

19 years agoshell commands don't need to be in $(...)
Aaron Klingaman [Tue, 15 Mar 2005 22:27:56 +0000 (22:27 +0000)]
shell commands don't need to be in $(...)

19 years agoadd the built file too, since it won't be changed much and requires nasm to build
Aaron Klingaman [Tue, 15 Mar 2005 22:02:48 +0000 (22:02 +0000)]
add the built file too, since it won't be changed much and requires nasm to build

19 years agoa simple boot loader that will be copied to all disks that outputs a message
Aaron Klingaman [Tue, 15 Mar 2005 21:57:06 +0000 (21:57 +0000)]
a simple boot loader that will be copied to all disks that outputs a message
telling the user that the machine requires a boot cd

19 years agoadded network configuration file section; built pdf
Aaron Klingaman [Tue, 15 Mar 2005 14:29:03 +0000 (14:29 +0000)]
added network configuration file section; built pdf

19 years agoadd reference to pdn, describe boot states, expand upon authentication
Aaron Klingaman [Mon, 14 Mar 2005 22:57:19 +0000 (22:57 +0000)]
add reference to pdn, describe boot states, expand upon authentication

19 years agoshould have been exported in something other that black and white, this is actually...
Aaron Klingaman [Mon, 14 Mar 2005 15:15:24 +0000 (15:15 +0000)]
should have been exported in something other that black and white, this is actually readable

19 years agoalways send hardware to plc when booting, remove unneccasry extra check for ip address
Aaron Klingaman [Mon, 14 Mar 2005 15:08:01 +0000 (15:08 +0000)]
always send hardware to plc when booting, remove unneccasry extra check for ip address

19 years ago*** empty log message ***
Aaron Klingaman [Thu, 10 Mar 2005 20:02:49 +0000 (20:02 +0000)]
*** empty log message ***

19 years agotech docs for boot manager
Aaron Klingaman [Thu, 10 Mar 2005 19:58:59 +0000 (19:58 +0000)]
tech docs for boot manager

19 years agomoved
Aaron Klingaman [Thu, 10 Mar 2005 19:57:13 +0000 (19:57 +0000)]
moved

19 years agoadded built pdf document
Aaron Klingaman [Mon, 7 Mar 2005 18:10:14 +0000 (18:10 +0000)]
added built pdf document

19 years agoswitching to apache fop to build pdfs, much better output, so
Aaron Klingaman [Fri, 21 Jan 2005 15:49:31 +0000 (15:49 +0000)]
switching to apache fop to build pdfs, much better output, so
no longer need the build script

19 years agoused to build pdf output for pdn
Aaron Klingaman [Thu, 20 Jan 2005 22:47:55 +0000 (22:47 +0000)]
used to build pdf output for pdn

19 years agotitle change
Aaron Klingaman [Thu, 20 Jan 2005 19:27:01 +0000 (19:27 +0000)]
title change

19 years agooops, should have named the document more appropriately
Aaron Klingaman [Fri, 14 Jan 2005 19:29:33 +0000 (19:29 +0000)]
oops, should have named the document more appropriately

19 years agoThis commit was generated by cvs2svn to compensate for changes in r664,
Aaron Klingaman [Fri, 14 Jan 2005 19:27:36 +0000 (19:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r664,
which included commits to RCS files with non-trunk default branches.

20 years agoNew repository initialized by cvs2svn.
Planet-Lab Support [Wed, 4 Jun 2003 20:07:28 +0000 (20:07 +0000)]
New repository initialized by cvs2svn.