Middlebury

Difference between revisions of "Mac OS X Server Administration"

m
(Tagged: Moving this page to the Internal wiki.)
Line 1: Line 1:
== NetBooting Across Subnets<br>  ==
+
'''NOTE: This page contains information that is only useful to Helpdesk / LIS faculty and staff. Therefore I'm considering moving this information to our Internal wiki. If you feel that this information is important to the general public and/or do NOT think that this move is appropriate, please comment on the discussion page.'''
  
Is well described here: http://www.bombich.com/mactips/nbas.html<br> It allows you to netboot a machine even if it isn't is the same subnet as the netboot server. The utility I use is Mike Bombich's NBAS: http://www.bombich.com/software/nbas.html<br>
+
--[[User:Christopher Hunt|Hunt, Christopher]] 15:00, 17 November 2009 (UTC)
  
#Download the utility and run it.  
+
== NetBooting Across Subnets ==
#From your Netboot admin get the following:  
+
 
##netboot server's IP  
+
Is well described here: http://www.bombich.com/mactips/nbas.html<br> It allows you to netboot a machine even if it isn't is the same subnet as the netboot server. The utility I use is Mike Bombich's NBAS: http://www.bombich.com/software/nbas.html<br>
##netboot set location  
+
 
##netboot set name  
+
#Download the utility and run it.
##netboot image name  
+
#From your Netboot admin get the following:
#I found that using the package method is best (NBAS allows you to create a package). Also, I strongly recommend checking the "next boot only" checkbox.  
+
##netboot server's IP
 +
##netboot set location
 +
##netboot set name
 +
##netboot image name
 +
#I found that using the package method is best (NBAS allows you to create a package). Also, I strongly recommend checking the "next boot only" checkbox.
 
#Run the package on the machines that need to be netbooted. You can even deploy it via ARD on multiple machines.
 
#Run the package on the machines that need to be netbooted. You can even deploy it via ARD on multiple machines.
  
 
== NetBoot Fails to Start with error Exception in doCommand nil key<br>  ==
 
== NetBoot Fails to Start with error Exception in doCommand nil key<br>  ==
  
*Cause: Check http://www.lsa.umich.edu/lsait/admin/mac/netboot-disabled.asp<br>  
+
*Cause: Check http://www.lsa.umich.edu/lsait/admin/mac/netboot-disabled.asp<br>
 
*Solutions: <br>
 
*Solutions: <br>
  
#stop NFS, refresh, wait for netboot to go green, start nfs. <br>  
+
#stop NFS, refresh, wait for netboot to go green, start nfs. <br>
#http://support.apple.com/kb/TA24714?viewlocale=en_US<br>  
+
#http://support.apple.com/kb/TA24714?viewlocale=en_US<br>
#Reboot the server. <br>  
+
#Reboot the server. <br>
#Move/delete /var/db/mountdtab<br>  
+
#Move/delete /var/db/mountdtab<br>
 
#Personally, I moved all the nbi images to a backup folder, stopped Netboot, added one image, restarted netboot. WIll add the rest one at a time.<br>
 
#Personally, I moved all the nbi images to a backup folder, stopped Netboot, added one image, restarted netboot. WIll add the rest one at a time.<br>
  
 
== Error nfs_boot_getfh XXX failed with X<br>  ==
 
== Error nfs_boot_getfh XXX failed with X<br>  ==
  
*Cause: The Netboot or the NFS service on the server seems to lose the connection to the storage device where the images are. <br>  
+
*Cause: The Netboot or the NFS service on the server seems to lose the connection to the storage device where the images are. <br>
 
*Solutions:<br>
 
*Solutions:<br>
  
#Turn off Netboot. Turn off NFS. Turn on NFS. Turn on Netboot.<br>  
+
#Turn off Netboot. Turn off NFS. Turn on NFS. Turn on Netboot.<br>
#http://discussions.apple.com/thread.jspa?messageID=8191960 (recreate the NFS&nbsp;share point)<br>  
+
#http://discussions.apple.com/thread.jspa?messageID=8191960 (recreate the NFS&nbsp;share point)<br>
#http://discussions.apple.com/thread.jspa?messageID=8191960 -- I fixed my issues with the following steps: 1) Remove the share for existing NetBootClients0 and NetBootSP0. 2) Server Admin -&gt; Netboot -&gt; Settings -&gt; General -&gt; Select where to put images and client data: Unselect all checkboxes, then click Save. 3) Select the checkbox for the appropriate drives and click Save. 4) Start the Netboot service.<br>  
+
#http://discussions.apple.com/thread.jspa?messageID=8191960 -- I fixed my issues with the following steps: 1) Remove the share for existing NetBootClients0 and NetBootSP0. 2) Server Admin -&gt; Netboot -&gt; Settings -&gt; General -&gt; Select where to put images and client data: Unselect all checkboxes, then click Save. 3) Select the checkbox for the appropriate drives and click Save. 4) Start the Netboot service.<br>
 
#Reboot the server.<br>
 
#Reboot the server.<br>
  
 
== Losing Connection to the Fibre Channel<br>  ==
 
== Losing Connection to the Fibre Channel<br>  ==
  
Rebooting the server fixes this. I haven't found a way to troubleshoot this without rebooting.  
+
Rebooting the server fixes this. I haven't found a way to troubleshoot this without rebooting.
 +
 
 +
[[Category:ServerAdmin|Server Admin]]
  
[[Category:Xserve]] [[Category:ServerAdmin|Server Admin]] [[Category:Computer_Labs]]
+
[[Category:Xserve]]
 +
[[Category:Computer Labs]]

Revision as of 10:00, 17 November 2009

NOTE: This page contains information that is only useful to Helpdesk / LIS faculty and staff. Therefore I'm considering moving this information to our Internal wiki. If you feel that this information is important to the general public and/or do NOT think that this move is appropriate, please comment on the discussion page.

--Hunt, Christopher 15:00, 17 November 2009 (UTC)

NetBooting Across Subnets

Is well described here: http://www.bombich.com/mactips/nbas.html
It allows you to netboot a machine even if it isn't is the same subnet as the netboot server. The utility I use is Mike Bombich's NBAS: http://www.bombich.com/software/nbas.html

  1. Download the utility and run it.
  2. From your Netboot admin get the following:
    1. netboot server's IP
    2. netboot set location
    3. netboot set name
    4. netboot image name
  3. I found that using the package method is best (NBAS allows you to create a package). Also, I strongly recommend checking the "next boot only" checkbox.
  4. Run the package on the machines that need to be netbooted. You can even deploy it via ARD on multiple machines.

NetBoot Fails to Start with error Exception in doCommand nil key

  1. stop NFS, refresh, wait for netboot to go green, start nfs.
  2. http://support.apple.com/kb/TA24714?viewlocale=en_US
  3. Reboot the server.
  4. Move/delete /var/db/mountdtab
  5. Personally, I moved all the nbi images to a backup folder, stopped Netboot, added one image, restarted netboot. WIll add the rest one at a time.

Error nfs_boot_getfh XXX failed with X

  • Cause: The Netboot or the NFS service on the server seems to lose the connection to the storage device where the images are.
  • Solutions:
  1. Turn off Netboot. Turn off NFS. Turn on NFS. Turn on Netboot.
  2. http://discussions.apple.com/thread.jspa?messageID=8191960 (recreate the NFS share point)
  3. http://discussions.apple.com/thread.jspa?messageID=8191960 -- I fixed my issues with the following steps: 1) Remove the share for existing NetBootClients0 and NetBootSP0. 2) Server Admin -> Netboot -> Settings -> General -> Select where to put images and client data: Unselect all checkboxes, then click Save. 3) Select the checkbox for the appropriate drives and click Save. 4) Start the Netboot service.
  4. Reboot the server.

Losing Connection to the Fibre Channel

Rebooting the server fixes this. I haven't found a way to troubleshoot this without rebooting.

Powered by MediaWiki