Configuring to PXE boot Servers from the Rocks 5.5 HeadNodes

From Ben on 10/10/2012, the following procedure can be used to PXEboot a machine into SL6 via Rocks 5.5

Initial configuration

  • cd to the tools/pxeboot-menu directory on the Rocks head node (umrocks or msurx)
  • cp syslinux-4.02/menu.c32 /tftpboot/pxelinux
  • cp -rf pxeboot/* /tftpboot/pxelinux
    • These are the SL version specific images and Dell utils from Tom. Not used here, but should be kept in place.
  • cp pxelinux.cfg/* /tftpboot/pxelinux/pxelinux.cfg
    • These are the menu files and can be edited as needed, if needed
  • mkdir /tftpboot/pxelinux/SL/5 and 6
  • ./rsync-images.sh
    • rsync current pxe images from scientificlinux site into the SL/5 and SL/6 directories above.
  • cp kickstart/* /var/www/html/ks
  • Configure the Rocks database to allow connections from php script
    • /opt/rocks/bin/mysql -u root -p
      • CREATE USER 'kickstart'@'localhost' IDENTIFIED BY 'see php script for password';
      • GRANT SELECT ON cluster.* TO 'kickstart'@'localhost';
  • Verify that the php script works
    • curl http://localhost/ks/kickstart.php

Using this PXEboot setup

  • cd to the tools/pxeboot-menu directory on the Rocks head node (umrocks or msurx)
  • ./add-kickstart-host.sh
  • PXEboot the target machine.
    • Select OS/system type
    • For **fs use "server" which has large /tmp and /var partitions

-- BobBall - 05 Dec 2012
Topic revision: r2 - 05 Dec 2012 - 19:18:38 - BobBall
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback