Changes between Version 29 and Version 30 of Internal/ImageInstall


Ignore:
Timestamp:
Feb 12, 2013, 3:11:37 AM (11 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/ImageInstall

    v29 v30  
    33== 2/11/2013  - More recent version of manual image load ==
    44
    5  1. Add dhcp entry for the mac of the interface you'll be pxeing off (probably done on dhcp1, for testing use outdoor 4-11)
    6   1. on dhcp1 edit /etc/dhcp3/dhcpd.conf to change the appriorpiate entry
    7   1. Make sure you add your mac to a group with the next-server token set
    8  1. Goto repository1 and make a symbolic link to your pxe-boot information
     5 1. Add/modify a dhcp entry for the mac of the interface you'll be pxeing off. In outdoor there are test addresses for this purpose. Specfically node4-10.outdoor.orbit-lab.org(10.40.4.10)
     6  1. on dhcp1 edit /etc/dhcp3/dhcpd.conf to change the apropriate entry
     7     {{{
     8     host node4-10 {hardware ethernet 00:03:1d:09:56:66; fixed-address 10.40.4.10;}
     9     }}}
     10  1. If you set this mac next-server will be repository1.outdoor.orbit-lab.org(10.40.0.42)
     11 1. Goto repository1 and make a symbolic link to your pxe-boot information (currently omf-5.4).
    912  1. cd to /tftpboot/pxelinux.cfg
    10   1. The symbloic link should be named your ip address in hex
     13  1. The symbloic link should be named your ip address in hex (10.40.4.10 -> 0A28040A)
    1114     {{{
    1215     ln -s omf-5.4 0A28040A
     
    1417     This will generate:
    1518     {{{
    16      lrwxrwxrwx 1 ssugrim      winlab      7 Feb 11 21:26 0A28040A -> omf-5.4
     19     lrwxrwxrwx 1 user      winlab      7 Feb 11 21:26 0A28040A -> omf-5.4
    1720     }}}
    18  1. Turn on the node
     21 1. Turn on the node (manually)
    1922  1. get dhcp address
    20   1. pxe boot
    21   1. enter the console (either via the serial port, or by KVM). You should be greeted with the busybox prompt (start bash if you want). 
    22  1. On repository1 start frisbee daemon with proper flags for image you want
     23  1. see that it pxe boots
     24  1. enter the console (either via the serial port, or by KVM). You should be greeted with the busybox prompt (start bash if you want).
     25 1. On repository1 start frisbee daemon with proper flags for image you want (probably baseline.ndz)
    2326    {{{
    24     frisbeed -p 5050 -m 10.0.250.221 /tmp/orbit-pc2...
     27    frisbeed -p 15000 -m 10.40.4.10 -i 10.40.0.42 /export/omf/omf-images/baseline.ndz
    2528    }}}
    26  1. On image machine start frisbee client
     29 1. On image machine start frisbee client and point it to the disk you are trying to image (/dev/sda for new nodes, /dev/hda for old ones).
    2730    {{{
    28     frisbee -p 5050 -m 10.0.101.10 -i 10.0.250.221 /dev/hda
     31    /usr/sbin/frisbee -p 15000 -m 10.40.0.42 -i 10.40.4.10 /dev/sda
    2932    }}}
    30  1. delete the symlink you made on reposiotry earlier
    31  1. reboot
     33 1. Once the imageing is done delete the symlink you made on repository earlier
     34    {{{
     35    rm 0A28040A
     36    }}}
     37 1. reboot the node and it should boot into the new os.
    3238
    3339----