none
SCCM - Moving clients from one Primary Site to another and creating a BDP

    Question

  • Hi,
    Here's our current SCCM setup:
    We have two separate Primary sites, one in our London office, the other in our Hong Kong office.
    The London Primary site covers servers and desktops in our London, Paris, Dusseldorf and Milan offices.
    The Hong Kong Primary site covers servers and desktops in our Hong Kong office.
    Each office has a different subnet.
    We've decided to get rid of the Primary SCCM site in Hong Kong and use the London Primary site to cover the region.
    In order to do so here's my proposal:

    •      Set up boundaries in London SCCM to cover Hong Kong office as appropriate, and remove the boundaries from the Hong Kong SCCM, to avoid a boundary overlap issue.
    •      Establish BDP location in Hong Kong and assign it to the boundaries created. Create Advertisement on Hong Kong SCCM with the batch file as detailed below (batch file will point clients to London SCCM).  
    •      When the advertisement runs, essentially the client will do a repair, and at the same time attempt to reset the trusted key to allow it to join the London site.  You need to reset the trusted key on the client because otherwise it won’t try and join the London site, nor will the London server accept the request to join.  

    :32bit
    c:\windows\system32\ccmsetup\ccmsetup.exe SMSSITECODE=CEU FSP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET SMSMP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET SMSSLP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET DNSSUFFIX=SYSTEMS.CORBIS.NET RESETKEYINFORMATION=TRUE

    :eof

    Exit

    My problem is that when i try to create a BDP on a hong Kong server from the London SCCM Site Config Manager Console, the option to create a BDP is greyed out in the New Site System Server Wizard (standard Distribution Point is available).
    If i attempt to create a BDP on a server in London, Paris, Dusseldorf or Milan, i am able to do so, the option is not greyed out.
    Also, i tried manually running the batch file on a server in Hong Kong to see if it changed the clients parameters to point towards the London SCCM server, but it hasn't worked !

    Long description i know, but any ideas ?

    Thanks,
    Thursday, October 07, 2010 3:23 PM

Answers

  • Hi,

    For the client reassign issue, you can use ADM file or script to change the site code:

    1. You could use the client assignment ADM file to accomplish that, provided all clients can use AD/GPO. See: http://technet.microsoft.com/en-us/library/bb680370.aspx

    2. Add the reassign script to a software package and send it out:

    'replace with your Site Code'
    sSiteCode = "NewSiteCodeHere"
    sMachine = "."
    set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")
    Set oInstance = oCCMNamespace.Get("SMS_Client")
    set oParams = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
    oParams.sSiteCode = sSiteCode
    oCCMNamespace.ExecMethod "SMS_Client", "SetAssignedSite", oParams


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Eric Zhang CHN Thursday, October 14, 2010 8:06 AM
    Monday, October 11, 2010 4:22 AM

All replies

  • Hi Andrew have you seen this below post it holds alot of good information and links on BDP's?  Also make sure the client is assigned and installed and reporting correectly to your London site and you should be ok.

    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/bbdaa399-1fdf-4b5f-8ef6-cc4fc872a307

    Please let us know if this doesnt help


    Brandon Linton |http://myitforum.com/cs2/blogs/brandonlinton/default.aspx | MCTS - SCCM, MDT, AD
    Saturday, October 09, 2010 9:03 PM
  • Hi,

    For the client reassign issue, you can use ADM file or script to change the site code:

    1. You could use the client assignment ADM file to accomplish that, provided all clients can use AD/GPO. See: http://technet.microsoft.com/en-us/library/bb680370.aspx

    2. Add the reassign script to a software package and send it out:

    'replace with your Site Code'
    sSiteCode = "NewSiteCodeHere"
    sMachine = "."
    set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")
    Set oInstance = oCCMNamespace.Get("SMS_Client")
    set oParams = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
    oParams.sSiteCode = sSiteCode
    oCCMNamespace.ExecMethod "SMS_Client", "SetAssignedSite", oParams


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Eric Zhang CHN Thursday, October 14, 2010 8:06 AM
    Monday, October 11, 2010 4:22 AM
  • Hi Eric,

    Thanks for your help, sorry i haven't got back to you sooner, i've been OOO for a couple of days.

    I ran the following script as a bat file through SCCM, but it doesn't seem to have worked.

    'CEU'
    sSiteCode = "CEU"
    sMachine = "."
    set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")
    Set oInstance = oCCMNamespace.Get("SMS_Client")
    set oParams = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
    oParams.sSiteCode = sSiteCode
    oCCMNamespace.ExecMethod "SMS_Client", "SetAssignedSite", oParams

    When i check a workstations client that i ran the script on it is still pointing to site code CAP.

    My original script also didn't work:

    :32bit
    c:\windows\system32\ccmsetup\ccmsetup.exe SMSSITECODE=CEU FSP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET SMSMP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET SMSSLP=EU00SCCMAPP01.SYSTEMS.CORBIS.NET DNSSUFFIX=SYSTEMS.CORBIS.NET RESETKEYINFORMATION=TRUE

    Any thoughts why either script won't work ? or is there a particular log file that i could look at to see whats going on (or post on here for you to take a look at).

    Many thanks for your help,

    Andrew

     

    Thursday, October 14, 2010 4:20 PM
  • Client Assignment ADM file via AD GPO worked the best !
    Tuesday, October 26, 2010 11:36 AM