Dawg2.0
  1. Log into the remote console to boot the new server

  2. -bring up the kvm in your browser.  https://genome-kvm-2.stanford.edu
    -login with admin and passwd
    -click on the remote console preview "click to open" link
    -bring up the target console by scrolling the console menu.
    
    
  3. Now get the IP info and the mac address.

  4. -on pxe- bootup(f12) you can see the mac address right before it fails -select the ip from IP pool.
  5. Set up new server in https://netdb.stanford.edu
  6. -fill in the server name, and the mac address, any aliases _for DHCP options entry put: next-server = starter filename = pxelinux.0 tftp-server-name = starter
  7. Log onto starter and set up the configs based on the IP
  8. - cd /tftpboot/pxelinux.cfg -use the IP and find out the pxe address ie AB414DF1 -need to get hexadecimal number and link to rhel55$type.cfg -this is from the IP address 171=AB 65=41 77=4D 240=F0 -http://www.binaryhexconverter.com/decimal-to-hex-converter -ln -s rhel55-prodql.cfgs AB414DF1 (for example) -the last profile I used was rhel58-default.cfg
  9. Now set up the config file for what you need
  10. -cd /share/kickstart/configs/rhel55-default.cfg or some other rhel55* --->610 has 4 eth ports and two disks sda and sdb -->310 has 2 eth ports and one disk sda #see rhel55-310.cfg -->network --device eth2 --onboot no #comment these out -->network --device eth3 --onboot no -->#change the root part to 16g not --grow -->part / --fstype ext3 --size=16000 --ondisk=sda --asprimary -->part /data --fstype ext3 --size=100 --grow --ondisk=sda --asprimary OR ---> part / --fstype ext3 --size=100 --maxsize=200000 --grow --ondisk=sda --asprimary (this is to only grow up to 200GB, allowing more room for the other two partitions on the same disk) -should be ready to go
  11. Boot up server from console and when ready hit F12 for pxe boot.
  12. -watch to see that it starts loading the linux os. -if not, see where it stops, if it can't find the IP then maybe it's not propogated to netdb yet. -if it fails on a hardwre point, check the configs to see that you have the right info and that it is not failing on a NIC interface or no disk correct or whatever.
  13. Once the machine is up, go to https://tools.stanford.edu/cgi-bin/rhel_key
  14. _download the bootstrap.sh for you server -run the bootstrap on the new server; reboot -save a copy of the bootstrap to the kickstart server: $ scp bootstrap.sh admin@starter:/share/kickstart/bootstrap-scripts/server
  15. Once up, run the yum installs
  16. -yum install | yum upgrade -yum install kernel -reboot -yum upgrade -if there is a conflict like libxml2-2.7.7-1.x86_64 -run rpm -e libxml2-2.7.7-1.x86_64 -run yum upgrade again