|
|||||
What is the problem? The problem that prompted me to examine this for solutions is described by Apple on their web site as of the time of this writing for the Mac OS X Net-Booting servers.
Though net-booting a Macintosh that does client sided computing is a very good idea, and even better since many popular mainstream titles are supported as opposed to system like NCD's NC, and the Sun Microsystems Sun Ray. It *could* be more scalable if you could have a centralized DHCP Server hand out information for hundreds of machines on a single subnet to connect to multiple different netBooting Mac OS X server that have had their BootP disabled, or if their Mac OS X NetBooting BootP server had the ability to ignore requests from clients other than the ones specified by the Mac OS X Server's System Administrator.
Too bad that only one machine is allowed per subnet...
Why is it that only one machine is used per subnet? A brief review of the technical information on Apple's Website suggests a reason.
Shawn Barnhart swb@mercury.campbell-mithun.comWrites:
To which I now respond:
Let us assume that you do allow BootP/DHCP to repropagate themselves across network subnets at the router, or use a BootP/DHCP relay client.
Let us also assume that you have 8 subnets in a class B network (172.17.0.0).
You place your Main DHCP Server on the 0.0 subnet, and have 7 other subnets in use (32.0 , 64.0 , 96.0 , 128.0 , 160.0 , 192.0, and 224.0) and a subnet mask of 255.255.224.0, and a router on each subnet with last octet in IP .1.
You place a Mac OS X Net Boot Server on Subnet 0, 1, 2, 3, 4, 5, 6, and 7.
Now your 8 interface router (heh) allows BootP requests to come in from all interfaces, and direct them to subnet 0. We turn off the Mac OS X Server on Subnet 7. Result: Only the NetBoot Mac OS X Server on Subnet 0 and the DHCP Server on Subnet 0 can respond to the Mac NC NetBooting Clients looking for a BootP response that will give them the information they neet to get their ROMS and images. If your DHCP (without the special vendor options) responds, and the Net Booting Mac accepts the BootP/DHCP response, then the Mac Net booting client does not boot. If the Mac OS X Net Booting Server responds, then the Mac *may* boot (depending upon how, and what networking information is sent to the client.) However, No other Mac OS X Server will even see the BootP/DHCP request to be able to offer their services. This loads the Subnet 0 Mac OS X Server heavily, and causes traffic on your router to increase a great deal (imagine 24 Clients accessing their images at the same time... ...and all of this traffic is going across your router?
Same as above, but turn on the Mac OS X NetBooting Server on Subnet 7. With the overhead of latency incurred by the router passing on the DHCP requst to the Centralized Subnet 0 DHCP Server, and then back to the client, it is much more likely that the Mac OS X Server on Subnet 7 will get a response back to the client on its own subnet first even if the Mac OS X Server is rather heavily loaded. However, it is still a gamble that the latency will be small enough to beat a loaded Mac OS X Server.
Now imagine what would happen if the Mac OS X Net Booting server were turned off on the 7 Subnet again, and the router was configured to allow all BootP/DHCP Traffic to pass through to all and every one of the subnets. Result: Your netbooting client on Subnet 7 could get any of the 7 remaining Mac OS X Server as their boot server as long as they have free IP Addresses. Assuming you set up your network like most places, you designed your subnets for areas with different needs. Say Biology Building has subnet 1 and Chemistry has subnet 2, and subnet 7 was supposed to be art, when the client on subnet 7 finally gets a NetBoot server (since theone on their subnet was turned off), they may get an Applications Volume with Chemistry, or Biology applications, not what they want (assuming that the networking information given to the client by the Mac OS X Server is correct for the destination subnet.)
Another one? What if a bootp request does make it from a Client on one subnet across a router to a Mac OS X Server on a different subnet? Will the Mac OS X Server offer the correct IP address for the different subnet containing the client? (IP Address, default gateway/router etc.)
Many scenarios could exist in this to show where one methoid would work, while another would not.
IMHO, a centralized DHCP Server that can serve the whole collection of subnets is the best choice. However, loss of the One Time Password is a serious risk for places not using fully switched networks. Is the up-front cost in hours, and loss of security worth the use of what is documented in these pages? That is up to you.
I can tell you now, that it appears that the BootP issue appears to be the only problem limiting the inclusion of multiple NetBooting servers onthe same subnet!
Harry Johnston can be reached at http://www.scms.waikato.ac.nz/~harry/ and you can see his info on multiple interface Mac OS X Server netbooting at http://www.scms.waikato.ac.nz/~harry/references/macosx/netbooting.html.
I did this by filling the allocated IP-address space manually in Netinfo Manager. I first booted one Mac from by first classroom to get "template" information for manual configuration and then just filled the allocated space of IP-addresses with 15 real HW Ethernet addresses and 14 IP-addresses with phony or "self-made" HW Ethernet addresses. When we need to add a Mac to that classroom we just simply change one phony HW address to real address.
The other Mac OS X Server machine which serves the second classroom is similary configured and they do not get mixed up. This configuration has worked over 2 years now and we are happy with it. There are other problems with the OSXS but they don't concern the netbooting.
Hope this will give assistance to someone, I know this a cheap hack.
*- I appreciate these comments and suggestions since a cheap hack to one person may be a welcome solution to another. :) Thanks Juha!
|
|||||