
56 Chapter 5 Managing NetBoot Service
Smaller improvements can be achieved by distributing boot images across multiple
disk drives on a single server.
Distributing Boot Images Across Server Disk Drives
Even with a single NetBoot server, you might improve performance by distributing
copies of an image across multiple disk drives on the server. By assigning the copies
the same image ID in the range 4096–65535, you can advertise them to your clients as
a single image.
Note: Don’t distribute images across different partitions of the same physical disk drive.
Doing so does not improve, and can even reduce, performance.
To distribute an image across disk drives:
1 Open Server Admin and select NetBoot in the Computers & Services list.
2 Click Settings, then click General.
3 Click in the Images column for each volume you want to use for storing images.
Choose volumes on different physical disk drives.
4 Click Save, then click Images.
5 If the image’s ID in the Index column is 4095 or lower, double-click the ID, type an index
in the range 4096–65535, and save the change.
6 Open Terminal, and use the secure copy, scp, command to copy the image to the
NetBootSPn share points on the other volumes. For example:
scp /Library/NetBoot/NetBootSP0/image.nbi [admin_name]@[ip_address]:/
Volumes/Drive2/Library/NetBoot/NetBootSP1
Where [admin_name] is an admin login and [ip_address] is the correct IP address for
that server. You will be prompted for the password of the admin login you supply.
Balancing Boot Image Access
If you add a second NetBoot server to a network, have your clients reselect their boot
image in the Startup Disk control panel or preferences pane. This causes the NetBoot
load to be redistributed among the servers. You can also force redistribution of the load
by deleting the file /var/db/bsdpd_clients from the existing NetBoot server. Similarly,
if you’re recovering from a server or infrastructure failure, and your clients have been
booting from a reduced number of NetBoot servers, you’ll need to delete the
bsdpd_clients file from the running servers so that clients can once again spread out
across the entire set of servers.
Komentáře k této Příručce