Changes between Version 30 and Version 31 of Internal/ImageInstall
- Timestamp:
- Feb 26, 2014, 6:02:20 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/ImageInstall
v30 v31 1 1 = Manual image installation = 2 2 3 3 4 == 2/11/2013 - More recent version of manual image load == … … 9 10 }}} 10 11 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). 12 13 1. cd to /tftpboot/pxelinux.cfg 13 14 1. The symbloic link should be named your ip address in hex (10.40.4.10 -> 0A28040A) … … 19 20 lrwxrwxrwx 1 user winlab 7 Feb 11 21:26 0A28040A -> omf-5.4 20 21 }}} 21 1. Turn on the node (manually)22 3. Turn on the node (manually) 22 23 1. get dhcp address 23 24 1. see that it pxe boots 24 25 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) 26 27 {{{ 27 28 frisbeed -p 15000 -m 10.40.4.10 -i 10.40.0.42 /export/omf/omf-images/baseline.ndz 28 29 }}} 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). 30 31 {{{ 31 32 /usr/sbin/frisbee -p 15000 -m 10.40.0.42 -i 10.40.4.10 /dev/sda 32 33 }}} 33 1. Once the imageing is done delete the symlink you made on repository earlier34 6. Once the imageing is done delete the symlink you made on repository earlier 34 35 {{{ 35 36 rm 0A28040A 36 37 }}} 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. 38 39 40 == 2/26/2014 A more recent version of manual image save == 41 42 1. Preform all the necessary dhcp / symbolic link adjustments required to boot the node into the pxe-image. (step 2 above) 43 2. On the repository1 start the netcat listening process with a high numbered port. 44 {{{ 45 nc -l 151515 > ./filname.ndz 46 }}} 47 3. on the node run imagezip with - for standardout output and pipe that into a netcat client session 48 {{{ 49 imagezip /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. 39 52 ---- 40 53