You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Minimize
Search in All Title Contents
 
     

Using the LocationServer.xml feature in MDT 2013

May 28 2015

MDT 2013 Lite Touch has a built-in functions to prompt for deployment share via the LocationServer.xml file. Most times I use the default gateway property to have clients automatically select the right server depending on what subnet they are on, but sometimes prompting can be useful too.

Note: By default the logic in this feature cleans any credentials provided in bootstrap.ini.

The LocationServer.xml feature

This feature allows for MDT to dynamically generate bootstrap.ini values for DeployRoot and is implemented as follows:

  1. Create the LocationServer.xml file, and specify the various deployment servers.
     
  2. Copy the LocationServer.xml file to the \Deploy\Control folder in your boot image. The easiest way is via the Extra directory to add feature on the deployment share.

  3. Modify the Bootstrap.ini file to not include any DeployRoot value (since the LocationServer.xml feature dynamically sets it).

  4. Update the deployment share (which updates the boot image), and replace the boot image on your WDS server.

Sample file

Here is a sample LocationServer.xml file that allow you to select between two deployment servers.

<?xml version="1.0" encoding="utf-8" ?>
<servers>
    <QueryDefault></QueryDefault>
    <server>
        <serverid>1</serverid>
        <friendlyname>
          ViaMonstra HQ, New York, USA
        </friendlyname>
        <UNCPath>\\MDT01\MDTProduction$</UNCPath>
    </server>
    <server>
        <serverid>2</serverid>
        <friendlyname>
          ViaMonstra BO, Stockholm, Sweden
        </friendlyname>
        <UNCPath>\\MDT02\MDTProduction$</UNCPath>
    </server>
</servers>

Deployment Wizard

This is how the deployment wizard looks after enabling the LocationServer.xml feature.

image








Happy deployment, and thanks for reading!


What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive

Minimize