Anonymous

Archive:ServerHardwareAuction/NetBootServer: Difference between revisions

From London Hackspace Wiki
no edit summary
(Created page with "Files dumped under /export/records/mac-address/ {|cellpadding="5" cellspacing="0" border="1" width="60%" |biosdecode |biosdecode output, not very useful |- |dimms |output of th…")
 
No edit summary
Line 1: Line 1:
== working with the boot image ==
The booted servers don't have internet access (someone want to setup NAT on netbootyboxxy?), so to install packages on the netboot image:
chroot /exports/roroot /bin/bash
Then run aptitude or whatever it is you want to do.
== accessing booted servers ==
They all run ssh and use the ~/.ssh/fish ssh key on netbootyboxxy.
if they are doing the hardware inventory then they will hit apache to get there mac address so you can work out there ip to ssh to (the dhcp or tftp logs work too)
* ssh -i ~/.ssh/fish root@10.192.38.something
The tw_cli command line tool can reconfigure the megaraid controllers without having to go into the bios, i'm not sure it's any faster tho (it's in roots home dir on the netboot image).
use:
/c0 show
to see whats going on on the controller
delete units with:
/c0/u2 del
(to delete unit 2)
and then to create JBOD disks:
/c0 add type=JBOD disk=5
the number after the 5 is the port number (p5 etc).
== hardware info files ==
Files dumped under /export/records/mac-address/
Files dumped under /export/records/mac-address/