Post
Topic
Board Mining support
Re: Mixed operating system PXE booting
by
marked
on 24/04/2012, 11:40:02 UTC
I could use some advice from anyone who has had some experience with various PXE configurations.

Here's what I want to do.  I have a few machines that mostly mine using BAMT.  But on occasion I want them to load a Windows image for some Windows-only software.

Is there a way for this to be done? If so, how?
Does the board have more than one nic and can boot from them? if so assign a mac address to an ip in the dhcp server, and then assign images to ip pools.

Then just swap the cable and reboot.

or just swap ip addresses between pools that have images associated with them.

ie. 192.168.0.1-192.168.0.15 = /pxe/boot/windows.img
    192.168.0.32-192.168.0.63  = /pxe/boot/bamt.img

depending on the tftp server, you may need to just swap .cnf.


Quote
Also, can I centrally reboot these machines and have them restart with a different image?  For example, let's say a rig is running a BAMT image now but I want it to switch over to Windows.  Can I tell the rig to reboot and load the Windows image from a central point?

that would probably require a script to alter the ip address(es) within dhcp then issue a remote login using ssh to reboot.

A windows reboot can also do the same by using from another windows machine "shutdown -m \\

marked