• Leigh Stoller's avatar
    Add support for fully initializing the ilo on geni rack nodes. · 164da3ba
    Leigh Stoller authored
    The basic operational model is as follows.
    
    * We turn the nodes on.
    
    * Since there is nothing on the disks, they will fall through to
      booting from the PXE and will boot the newnode MFS. They all check
      in.
    
    * We run Jon's script that adds the nodes. They are now in hwdown,
      still nothing on the disks.
    
    * We run my script, which is driven from a datafile we are supposed to
      get from HP. This script has the ilomac, ilopswd, control mac. I
      will add another column initially; the permanent IP to assign to the
      ilo. This script does:
    
     + Reads the datafile to get all the stuff.
     + Reads the dhcpd.leases file to find the temporary IPs of the ilos.
     + Finds the corresponding nodes in the DB.
     + Sends over an XML file that does the following:
         - Add the elabman user.
         - Add local root's dsa pub key to the new elabman user.
         - Add Utah's root dsa key to the Administrator user
         - Sets the power on mode to auto (so that the node turns on!).
         - Sets the idle timeout to 2 hours.
     + Sets the bootorder so that PXE is first. This has to be done
       with ssh and some expect stuff I culled from power_ilo. Sigh.
     + Calls out to another script that adds the ilo interface to the
       DB (this is the management_iface script I did last month).
     + Sends another XML file that tells the ilo to reset itself, so that
       it picks up its permanent IP address.
    
    * Now we can free the nodes from hwdown.
    164da3ba
Name
Last commit
Last update
..
Archive.pm.in Loading commit data...
EmulabConstants.pm.in Loading commit data...
EmulabFeatures.pm.in Loading commit data...
Experiment.pm.in Loading commit data...
Firewall.pm.in Loading commit data...
GNUmakefile.in Loading commit data...
Group.pm.in Loading commit data...
Image.pm.in Loading commit data...
Interface.pm.in Loading commit data...
Lan.pm.in Loading commit data...
Logfile.pm.in Loading commit data...
Node.pm.in Loading commit data...
NodeType.pm.in Loading commit data...
OSinfo.pm.in Loading commit data...
Port.pm Loading commit data...
Project.pm.in Loading commit data...
TraceUse.pm Loading commit data...
User.pm.in Loading commit data...
VirtExperiment.pm.in Loading commit data...
audit.in Loading commit data...
avail.in Loading commit data...
backup.in Loading commit data...
changecreator.in Loading commit data...
changeleader.in Loading commit data...
changepid.in Loading commit data...
changeuid.in Loading commit data...
checkstats.in Loading commit data...
dbboot.in Loading commit data...
dbcheck.in Loading commit data...
dbfillcheck.in Loading commit data...
dbupdate.in Loading commit data...
dhcpd_makeconf.in Loading commit data...
dumperrorlog.in Loading commit data...
dumperrorlog.proxy.in Loading commit data...
elabinelab_bossinit.in Loading commit data...
emdb.pm.in Loading commit data...
emdbi.pm.in Loading commit data...
emutil.pm.in Loading commit data...
genelists.in Loading commit data...
genelists.proxy.in Loading commit data...
geni_control.in Loading commit data...
grabron.in Loading commit data...
idlemail.in Loading commit data...
idletimes.in Loading commit data...
if2port.in Loading commit data...
interswitch.in Loading commit data...
inuse.in Loading commit data...
libEmulab.pm.in Loading commit data...
libGeni.pm.in Loading commit data...
libadminctrl.pm.in Loading commit data...
libdb.pm.in Loading commit data...
libdb.py.in Loading commit data...
libtbdb.pm.in Loading commit data...
mysqld_watchdog.in Loading commit data...
nalloc.in Loading commit data...
newwanode.in Loading commit data...
nfree.in Loading commit data...
node_status.in Loading commit data...
nodeip.in Loading commit data...
nodelog.in Loading commit data...
readycount.in Loading commit data...
schemacheck.in Loading commit data...
setsitevar.in Loading commit data...
showgraph.in Loading commit data...
sitevarscheck.in Loading commit data...
stategraph.in Loading commit data...
subboss_dhcpd_makeconf.in Loading commit data...
unixgroups.in Loading commit data...
update_permissions.in Loading commit data...
webcontrol.in Loading commit data...
xmlconvert.in Loading commit data...