Changes between Version 30 and Version 31 of Internal/ImageInstall


Ignore:
Timestamp:
Feb 26, 2014, 6:02:20 PM (10 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/ImageInstall

    v30 v31  
    11= Manual image installation =
     2
    23
    34== 2/11/2013  - More recent version of manual image load ==
     
    910     }}}
    1011  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).
     12 2. Goto repository1 and make a symbolic link to your pxe-boot information (currently omf-5.4).
    1213  1. cd to /tftpboot/pxelinux.cfg
    1314  1. The symbloic link should be named your ip address in hex (10.40.4.10 -> 0A28040A)
     
    1920     lrwxrwxrwx 1 user      winlab      7 Feb 11 21:26 0A28040A -> omf-5.4
    2021     }}}
    21  1. Turn on the node (manually)
     22 3. Turn on the node (manually)
    2223  1. get dhcp address
    2324  1. see that it pxe boots
    2425  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)
     26 4. On repository1 start frisbee daemon with proper flags for image you want (probably baseline.ndz)
    2627    {{{
    2728    frisbeed -p 15000 -m 10.40.4.10 -i 10.40.0.42 /export/omf/omf-images/baseline.ndz
    2829    }}}
    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).
     30 5. 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).
    3031    {{{
    3132    /usr/sbin/frisbee -p 15000 -m 10.40.0.42 -i 10.40.4.10 /dev/sda
    3233    }}}
    33  1. Once the imageing is done delete the symlink you made on repository earlier
     34 6. Once the imageing is done delete the symlink you made on repository earlier
    3435    {{{
    3536    rm 0A28040A
    3637    }}}
    37  1. reboot the node and it should boot into the new os.
     38 7. reboot the node and it should boot into the new os.
    3839
     40== 2/26/2014 A more recent version of manual image save ==
     41
     421. Preform all the necessary dhcp / symbolic link adjustments required to boot the node into the pxe-image. (step 2 above)
     432. On the repository1 start the netcat listening process with a high numbered port.
     44   {{{
     45nc -l 151515 > ./filname.ndz
     46   }}}
     473. on the node run imagezip with - for standardout output and pipe that into a netcat client session
     48   {{{
     49imagezip /dev/sda - | nc -w 20 repository1 151515
     50   }}}
     51   '''Note the -w 20 is required to have the connection close after the imagezip process completes.
    3952----
    4053