5 Replies Latest reply: Nov 30, 2012 8:22 AM by Brian Nesse
Keegers Level 1 Level 1 (0 points)

I recently upgraded a 10.6.8 server to 10.7.4 server. I did a clean update but saved all the needed information off of it.

 

The problem I am having is with Netboot. I have the service enabled and the images are in place again. These are the same images from the old server, so I know they worked at one point in time.

 

Now I can goto the Startup Disk option and see the disks there, but when I try to Netboot I just get the folder with the question mark.

 

This is in a school so we do have multiple subnets, however the IP address on the server remained the same, so the helper addresses are still working.

 

I have tried to create a new netboot image, but I am new to all of this and it didn't work (I blame me not knowing how to make one, so yeah).

 

I am currently trying to use Deployment Studio (as was suggested here https://discussions.apple.com/thread/3962094?start=0&tstart=0), but I really think there is something wrong with my set up of the server and not the images.

 

Any help is greatly apprecaited.

 

Thank you,

 

Keegan


Mixed Environment
  • Brian Nesse Level 4 Level 4 (2,890 points)

    It is possible that one of underlying services required isn't running or configured properly. Here's a little script I wrote to help diagnose issues like this.

     

    If the output doesn't help you figure it out on your own, paste it back into this thread.

     

    -Brian

     

    -------------------------------------

    #!/bin/sh

     

     

    # netboot_service_states.sh

     

     

    httpNetBootPath="/Library/Server/Web/Data/Sites/Default/NetBoot"

    nfsExportsPath="/etc/exports"

    tftpNetBootPath="/private/tftpboot/NetBoot"

    serviceDataPath="/Library/Server/NetInstall"

    savedClientsPath="${serviceDataPath}/ClientData"

    savedImagesPath="${serviceDataPath}/ImageData"

     

     

    # Dump state pertaining to the bootp service

    isRunning=`sudo launchctl list | grep bootpd`

    serviceState="enabled"

    if [ "${isRunning}" == "" ]; then

              serviceState="disabled"

    fi

    echo "bootp service is ${serviceState}\n"

     

     

    # Dump state pertaining to the TFTP service

    isRunning=`sudo launchctl list | grep tftp`

    serviceState="enabled"

    if [ "${isRunning}" == "" ]; then

              serviceState="disabled"

    fi

    echo "TFTP service is ${serviceState}"

     

     

    echo "TFTP Service data folder"

    if [ -d "${tftpNetBootPath}" ]; then

              ls -lsa "${tftpNetBootPath}"

    fi

     

     

    # Dump state pertaining to the HTTP service

    echo "\nHTTP service data folder"

    if [ -d "${httpNetBootPath}" ]; then

              ls -lsa "${httpNetBootPath}"

    fi

     

     

    # Dump state pertaining to the NFS service

    echo ""

    nfsd status

    if [ -e "${nfsExportsPath}" ]; then

              echo "Contents of ${nfsExportsPath} is:"

              cat "${nfsExportsPath}"

    fi

     

     

    # Dump state pertaining to the re-promotion data cache

    if [ -e "${savedClientsPath}" ]; then

              echo "\nSaved client share points"

              cat "${savedClientsPath}"

    fi

     

     

    if [ -e "${savedImagesPath}" ]; then

              echo "\nSaved image share points"

              cat "${savedImagesPath}"

    fi

  • Keegers Level 1 Level 1 (0 points)

    Not sure what to do from here. Eveything looks fine to me, but I dont know what the permissions should be.

     

    Output

    ------------------------

     

    sh-3.2# ./NetBootServices.sh

    bootp service is enabled

     

    TFTP service is enabled

    TFTP Service data folder

    total 8

    0 drwxr-xr-x  3 root  wheel  102 Nov  8 10:53 .

    0 drwxr-xr-x  3 root  wheel  102 Nov  8 10:16 ..

    8 lrwxr-xr-x  1 root  wheel   44 Nov  8 10:53 NetBootSP0 -> /Volumes/ServerHD/Library/NetBoot/NetBootSP0

     

    HTTP service data folder

    total 8

    0 drwxrwxr-x   3 root  admin  102 Nov  8 10:53 .

    0 drwxrwxr-x  16 root  admin  544 Nov  8 10:50 ..

    8 lrwxr-xr-x   1 root  admin   44 Nov  8 10:53 NetBootSP0 -> /Volumes/ServerHD/Library/NetBoot/NetBootSP0

     

    nfsd service is enabled

    nfsd is running (pid 80, 20 threads)

    Contents of /etc/exports is:

    ###  [  Begin Server Admin managed exports.  Do Not Edit.

    /Volumes/ServerHD/Library/NetBoot/NetBootSP0 -ro -maproot=root

    /Volumes/ServerHD/Library/NetBoot/NetBootClients0 -ro -maproot=root

    ###  ]  End Server Admin managed exports.

  • Brian Nesse Level 4 Level 4 (2,890 points)

    That all looks correct (presuming you have a volume named ServerHD of course).

     

    Your next step would be to check the logs for communication between the clients and the server.

     

    Also, where is you DHCP coming from? Multiple, or misconfigured DHCP servers are a common cause of the "?" problem.

  • Keegers Level 1 Level 1 (0 points)

    We have thee Windows DHCP servers on the network.

     

    We are getting communications between the server and the client, but it just never boots.

     

    Would any other log files help?

  • Brian Nesse Level 4 Level 4 (2,890 points)

    The communication should follow a very specific process:

    Client (sends)          Server (sends)

    Discover                 Offer

    Request                  Ack

    Inform[list]              Ack

    Inform[select]          Ack

     

    Many times, in the scenario you are seeing, all you will see is an endless Discover -> Offer loop. That usually happens when the DHCP packet gets "stolen" by another DHCP server.

     

    If you can, a simple way to test this would be to get the client & server on a private network.