Dawg2.0
-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.- -on pxe- bootup(f12) you can see the mac address right before it fails -select the ip from IP pool.
Now get the IP info and the mac address.
- Set up new server in https://netdb.stanford.edu
-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- Log onto starter and set up the configs based on the IP
- 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- Now set up the config file for what you need
-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- Boot up server from console and when ready hit F12 for pxe boot.
-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.- Once the machine is up, go to https://tools.stanford.edu/cgi-bin/rhel_key
_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- Once up, run the yum installs
-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