Ressourcen für IT-Professionals > Forenhomepage > Setup Deployment > Automated ghosting via PXE + RIS/WDS + ImageX + scripting?
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetAutomated ghosting via PXE + RIS/WDS + ImageX + scripting?

  • Samstag, 27. Juni 2009 00:11daluu TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Not sure if this is the right forum to post to, it's the closest one I could find. I recall the TechNet magazine had articles on imaging with ImageX and WDS.

    I was wondering if anyone has worked on automating the processing of cloning/imaging systems over the network using free/MS solutions (no Symantec Ghost, etc.) with ideally no user interaction to complete the process, and no need of a spare secondary hard disk or CD drive, etc. attached to the client machine, to store the clone image for automated ghosting.

    I came up with this idea and wanted to know if it is feasible. I haven't tried it and don't have much experience with such a solution:

    Set up network boot lab setup with a MS RIS (or the new WDS was it?) server to provide or serve a PXE boot image. Have a file server to store the actual clone images for "ghosting". Clone images could be on RIS/WDS server or separate file server. All clients to be cloned set up to boot to PXE network boot as first option then try HDD boot if PXE fails.

    PXE boot image from RIS/WDS server will have autorun of some automation scripts that will initiate a "ghosting" session to grab clone image from file server to clone to local C:\ partition. After cloning complete, automation script will invoke command to "disable" RIS/WDS server then issue a reboot on the client machine. On reboot, PXE fails to find RIS/WDS server to obtain boot image so will boot to HD, the newly cloned base image.

    And when I want to start a ghosting session: on a running client to be reimaged to clean base image, call automation script that will "enable" RIS/WDS server if not already enabled, then reboot specified client machine. Client will boot to PXE and get PXE boot image from the just enabled RIS/WDS server, and follow process described above for cloning.

    The custom PXE boot image with ghosting functionality will use some free ghosting tools with custom scripts stored in the image. The image is either BartPE or WinPE. Ghosting is either via ImageX or "ghost for linux/unix", etc. where image is stored on file/FTP server, etc. which could be mapped to PXE image as a network drive. And we enable/disable RIS/WDS service etc. via WMI + VBScripting, etc.

Antworten

Alle Antworten

  • Montag, 29. Juni 2009 03:28Tim Quan - MSFTMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    Hi,

     

    It seems that to meet your needs, we have to write scripts. However, in this forum, we do not deal with scripting. I suggest discussing it in our MSDN forum. They mainly deal with scripting and coding issues and should be the best resource to help you.

     

    MSDN forum:

    http://social.msdn.microsoft.com/forums/en-US/categories/

     

    I hope your issue can be resolved soon.

     

    Tim Quan - MSFT

     

  • Mittwoch, 1. Juli 2009 18:31daluu TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Thanks for the info. I wasn't really asking about scripting help. I just wanted to know if my idea was feasible or not. I haven't heard of anyone mentioning designing a similar technique so wanted to get some feedback on it.
  • Mittwoch, 8. Juli 2009 13:30JoeZeppy TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I've been trying to think how you would turn PXE booting on or off on an individual PC basis. I'm not sure it's possible. I've been to DR sites where PXE boot was first in the boot order, and they would enable and disable the PXE server service. Walking the room and turning on the PCs would initiate the PXE boot and download an image if the service was enabled on the server side, and it would skip it and boot to the hard drive if the service was disabled - I suppose you could add a wake-on-lan piece to that and turn them all on remotely.

    I don't know how you would accomplish that on a one-off basis from the client side. I've seen some IBM bioses that had separate boot orders for normal booting vs wake-on-lan booting but that's hardware dependent. Our Dells don't have that.

    Once you get past choosing to boot PXE vs hard drive, I think kicking off an imaging session unprompted would be the easy part.